Closed mickey9294 closed 8 years ago
The models all contain degenerate faces which is why you see the precondition failing (it should tell you that a triangle is degenerated). From what I saw, it comes from 2 edges that are of length 0 in each mesh.
I opened #1094 as a feature request and closed this issue
I'm using CGAL-4.8 to compute sdf values of a 3D mesh shape according to Computation of SDF Values. But when I compute some of meshes the program crashes, and throws a Precondition_exception. I can't figure out what's going on. The mesh files are in the attachments. Since off file cannot be uploaded, I change the format of three mesh files from .off to .txt. Please change them back to .off file after downloading. And the code I use is as below:
205.txt 225.txt 245.txt
Attention: When running the demo, please change the format of 205.txt, 225.txt and 245.txt to 205.off, 225.off and 245.off, and put them in the project directory!