occt: master 5646c90e

Author Committer Branch Timestamp Parent
emv apn master 2019-09-26 11:50:10 master 97e0059b
Changeset 0030878: Modeling Algorithms - BRepLib_MakeFace produces face with abnormal surface

When collecting the points to build plane use the points on the curve instead of poles (in case of BSpline and Bezier curves).

Side effect changes:
Changes in Geom2dHatch_Elements are to increase the chance of correct 2d classification (by the means of Geom2dHatch_Classifier) by taking more than just one point on the edge to construct the classification ray and by checking if this ray is not tangent to the edge itself.
mod - src/BRepLib/BRepLib_FindSurface.cxx Diff File
mod - src/Geom2dHatch/Geom2dHatch_Elements.cxx Diff File
mod - src/Geom2dHatch/Geom2dHatch_Elements.hxx Diff File
add - tests/mkface/mkplane/bug30878_1 Diff File
add - tests/mkface/mkplane/bug30878_2 Diff File
mod - tests/offset/wire_closed_outside_0_005/D1 Diff File
mod - tests/offset/wire_unclosed_outside_0_025/B4 Diff File