]> 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)
committerkgv <kgv@opencascade.com>
Sat, 19 Oct 2019 12:52:26 +0000 (15:52 +0300)
commitff89fc39f57b9d96b5e341cab135891d874aec61
tree3c65d335be247ae46abcbff82f12a549f1554fb2
parent2098211ee6ce830d08ddc1b9d3dddef86ea082ba
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.
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