1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/tests/bugs/modalg_6/bug27761
emv 7cb2f40993 0027761: Intersection loops infinitely
The static method CorrectSurfaceBoundaries() in the class IntTools_FaceFace,
which is used for correction of the boundaries of the faces before their intersection,
contains two inconsistent adjustments of the boundaries of the faces based on periodic surfaces.
One of these adjustments has been removed. The remaining adjustment, the one that is based on the
2D bounding boxes of the closed curves, should be sufficient.

Test case for the issue.
2016-08-11 17:47:36 +03:00

19 lines
545 B
Plaintext

puts "TODO OCC27766 ALL: Error : The command is not valid. The length is 0."
puts "TODO OCC27766 ALL: Error : The length of result shape is"
puts "========"
puts "OCC27761"
puts "========"
puts ""
#################################################
# Intersection loops infinitely
#################################################
restore [locate_data_file bug27761_c1.brep] c1
restore [locate_data_file bug27761_c2.brep] c2
bsection result c1 c2
checkshape result
# approximate theoretical length of the result
checkprops result -l 0.00201518