Home
Welcome to the Triangle.NET wiki!
Triangle.NET API
Troubleshooting
In case you get weird results triangulating your input data, Triangle.NET offers some help troubleshooting:
- To check the input polygon you can use the
TriangleNet.Tools.PolygonValidatorstatic methods. - To check the output mesh you can use the
TriangleNet.MeshValidatorstatic methods. - To get detailed logging set
TriangleNet.Log.Verbose = trueand then checkTriangleNet.Log.Instance.Dataafter triangulating.
When requesting help, consider posting the input data (and maybe the output mesh):
TriangleNet.IO.FileProcessor.Write(IPolygon polygon, string filename) TriangleNet.IO.FileProcessor.Write(IMesh mesh, string filename)
Please also read the original troubleshooting comments on https://www.cs.cmu.edu/~quake/triangle.trouble.html