occt: master e57aedeb

Author Committer Branch Timestamp Parent
msv bugmaster master 2017-06-09 07:46:34 master b36ebd49
Changeset 0028830: HalfSpace command chooses the wrong side of the given shell

Improve the algorithm BRepPrimAPI_MakeHalfSpace. Earlier it made projection of the point only on faces. If the nearest point does not conform to normal projection criterion the result is wrong. The fix includes search of projection on edges and vertices. This makes the algorithm robust for half spaces with boundaries.
mod - src/BRepPrimAPI/BRepPrimAPI_MakeHalfSpace.cxx Diff File
add - tests/bugs/modalg_7/bug28830 Diff File