0029679: Draw Harness - Command 2dapprox works wrong when giving points in command...
[occt.git] / tests / lowalgos / 2dinter / bug4426_1
CommitLineData
61c421bf 1puts "================"
2puts "OCC4426"
3puts "================"
4puts ""
5#######################################################################################
6# Incorrect result of intersection in 2D between circle and line
7#######################################################################################
8
64a44752 9smallview -2D-
10don
61c421bf 11circle c1 2 2 1
122dfit
132dzoom 120
14line l1 3 0 0 1
152dintersect l1 c1
16erase l1 c1
61c421bf 17
18puts "ATTENTION! Check following:"
19puts "There is only one intersection point (green X)"
20
64a44752 21checkview -screenshot -2d -path ${imagedir}/${test_image}.png