add verifier class to check the result of the polygon triangulation

This commit is contained in:
wmayer
2018-09-18 21:38:04 +02:00
parent ff6ed27ba9
commit 6b055ee899
4 changed files with 89 additions and 4 deletions

View File

@@ -1168,6 +1168,7 @@ PyObject* MeshPy::fillupHoles(PyObject *args)
}
MeshPropertyLock lock(this->parentProperty);
tria->SetVerifier(new MeshCore::TriangulationVerifierV2);
getMeshObjectPtr()->fillupHoles(len, level, *tria);
}
catch (const Base::Exception& e) {