1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-30 12:14:08 +03:00
nbv 4fe725a46a 0027976: Unstable work of 2d intersection algorithm for two lines
1. Test case for the issue has been created.
The problem is still reproduced on MASTER.

2. Some test cases have been moved to lowalgos/2dinter grid.
2018-12-21 15:38:03 +03:00

23 lines
561 B
Plaintext

puts "================"
puts "OCC4426"
puts "================"
puts ""
#######################################################################################
# Incorrect result of intersection in 2D between circle and line
#######################################################################################
v2d2
circle c1 2 2 1
2dfit
2dzoom 120
line l1 3 0 0 1
2dintersect l1 c1
erase l1 c1
2dfit
puts "ATTENTION! Check following:"
puts "There is only one intersection point (green X)"
checkview -display result -2d -path ${imagedir}/${test_image}.png