occt: master 2651bb32

Author Committer Branch Timestamp Parent
msv apn master 2017-12-29 14:44:42 master 67b3d2a8
Changeset 0028211: Modeling Algorithms - Boolean fuse operation produces incorrect result

Correct procedure of initialization of BRepTopAdaptor_FClass2d and IntTools_FClass2d classifiers so as to produce more tight polygon in the case of self-intersections on very thin faces.

The idea is concluded in checking the condition:
defl < 2 * S / P, where S - is the surface area computed on produced polygon, P - its perimeter, defl - deflection computed on it.
If the condition is not true the polygon is discretized again using QuasiUniformDeflection tool.
mod - src/BRepTopAdaptor/BRepTopAdaptor_FClass2d.cxx Diff File
mod - src/IntTools/IntTools_FClass2d.cxx Diff File
add - tests/bugs/modalg_7/bug28211_1 Diff File
add - tests/bugs/modalg_7/bug28211_2 Diff File
mod - tests/de/step_5/A1 Diff File