0029679: Draw Harness - Command 2dapprox works wrong when giving points in command...
[occt.git] / tests / lowalgos / 2dinter / bug4426_2
CommitLineData
61c421bf 1puts "================"
2puts "OCC4426"
3puts "================"
4puts ""
5#######################################################################################
6# Incorrect result of intersection in 2D between circle and line
7#######################################################################################
8
64a44752 9smallview -2D-
61c421bf 10line ll1 0 0 0.3 0.7
11line ll2 0 0 0.37 0.63
12trim tll1 ll1 -0.00001 0.00001
13trim tll2 ll2 -0.00001 0.00001
14donly tll1 tll2
152dintersect tll1 tll2
162dfit
17
18puts "ATTENTION! Check following:"
19puts "There is the intersection point (green X) on center of grid axis"
20
64a44752 21checkview -screenshot -2d -path ${imagedir}/${test_image}.png