Wed, 05/26/2004 - 12:12
Forums:
hello everybody,
i got a question on the meshing process. i use to mesh a face the command:
BRepMesh::Mesh (myFace, myDeflection);
sometimes if the deflection is too low the application exits. my question: is there a minimum of deflection or is it dependent on the shape (what i guess). if the deflection is too low i get an segmentation error. can i handle somehow this with an exception to prevent a program exit? like:
try {
BRepMesh::Mesh (myShape, myDeflection);
}
catch (?????) {
cout
(some error handling)
}
thanks for your help in advance!
Steve
Thu, 05/27/2004 - 11:31
I think you can not catch such error.
In triangle.cxx, when triangulation fails, exit will be called.
Even if the deflection is big enough, it is possible to fail to triangulize.