mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
Before the fix, small arc of circle returned as intersection result. It was connected with the fact that the circle always was limited in 0 and 2*PI points. Currently the bounds of the circle (retrieved as an intersection curve) are computed from the real domain of the arguments (there is not a snap to the fixed 0 and 2*PI points).
20 lines
503 B
Plaintext
20 lines
503 B
Plaintext
puts "======="
|
|
puts "OCC28883"
|
|
puts "======="
|
|
puts ""
|
|
##################################################
|
|
# Invalid result of Section operation
|
|
##################################################
|
|
|
|
restore [locate_data_file bug28883_Prism.brep] b1
|
|
restore [locate_data_file bug28883_LES_2d_shell.brep] b2
|
|
|
|
bsection result b1 b2
|
|
|
|
checkshape result
|
|
checksection result
|
|
|
|
checknbshapes result -edge 132 -vertex 133
|
|
checkprops result -l 2.20769
|
|
|
|
checkview -display result -2d -path ${imagedir}/${test_image}.png |