improve manual mesh filling

This commit is contained in:
wmayer
2018-09-18 21:53:04 +02:00
parent 6b055ee899
commit 17d36cecc9

View File

@@ -1671,6 +1671,7 @@ void ViewProviderMesh::fillHole(unsigned long uFacet)
MeshCore::MeshFacetArray faces;
MeshCore::MeshPointArray points;
MeshCore::QuasiDelaunayTriangulator cTria/*(0.05f)*/;
cTria.SetVerifier(new MeshCore::TriangulationVerifierV2);
if (meshAlg.FillupHole(boundary, cTria, faces, points, level, &cPt2Fac)) {
if (boundary.front() == boundary.back())
boundary.pop_back();