1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +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
644 B
Plaintext

puts "================"
puts "OCC4426"
puts "================"
puts ""
#######################################################################################
# Incorrect result of intersection in 2D between circle and line
#######################################################################################
v2d2
line ll1 0 0 0.3 0.7
line ll2 0 0 0.37 0.63
trim tll1 ll1 -0.00001 0.00001
trim tll2 ll2 -0.00001 0.00001
donly tll1 tll2
2dintersect tll1 tll2
2dfit
puts "ATTENTION! Check following:"
puts "There is the intersection point (green X) on center of grid axis"
checkview -display result -2d -path ${imagedir}/${test_image}.png