]> OCCT Git - occt-copy.git/commit
0030878: Modeling Algorithms - BRepLib_MakeFace produces face with abnormal surface
authoremv <emv@opencascade.com>
Thu, 26 Sep 2019 11:50:10 +0000 (14:50 +0300)
committeraml <aml@opencascade.com>
Mon, 7 Oct 2019 04:06:31 +0000 (07:06 +0300)
commitf727d3f77e37e4330075b2afb665692c983f6107
tree16fb0fed797a5bcacb1524cf3669916d28c013e7
parentb833f9ae81dcdd8fd786b12d12c72d3732bf5bbe
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.

# Conflicts:
# src/BRepLib/BRepLib_FindSurface.cxx
src/BRepLib/BRepLib_FindSurface.cxx
src/Geom2dHatch/Geom2dHatch_Elements.cxx
src/Geom2dHatch/Geom2dHatch_Elements.hxx
tests/bugs/modalg_6/bug6768
tests/mkface/mkplane/bug30878_1 [new file with mode: 0644]
tests/mkface/mkplane/bug30878_2 [new file with mode: 0644]
tests/offset/wire_unclosed_outside_0_005/C1
tests/offset/wire_unclosed_outside_0_025/B2