1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
msv 64a4475285 0029679: Draw Harness - Command 2dapprox works wrong when giving points in command line
Correct the behavior of the command 2dapprox for the case of points input in the command line.
Restore the work of the command 2dinterpole (implemented in the same method as 2dapprox).
Add test cases.
Correct generation of snapshots for the tests lowalgos/2dinter/*.
2019-06-24 19:22:47 +03:00

22 lines
564 B
Plaintext

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