mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 18:32:35 +08:00
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.
23 lines
561 B
Plaintext
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
|
|
|