| 1 | puts "================" |
| 2 | puts "OCC4426" |
| 3 | puts "================" |
| 4 | puts "" |
| 5 | ####################################################################################### |
| 6 | # Incorrect result of intersection in 2D between circle and line |
| 7 | ####################################################################################### |
| 8 | |
| 9 | smallview -2D- |
| 10 | line ll1 0 0 0.3 0.7 |
| 11 | line ll2 0 0 0.37 0.63 |
| 12 | trim tll1 ll1 -0.00001 0.00001 |
| 13 | trim tll2 ll2 -0.00001 0.00001 |
| 14 | donly tll1 tll2 |
| 15 | 2dintersect tll1 tll2 |
| 16 | 2dfit |
| 17 | |
| 18 | puts "ATTENTION! Check following:" |
| 19 | puts "There is the intersection point (green X) on center of grid axis" |
| 20 | |
| 21 | checkview -screenshot -2d -path ${imagedir}/${test_image}.png |