Skip to content
Christian Woltering edited this page Jun 28, 2024 · 4 revisions

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.PolygonValidator static methods.
  • To check the output mesh you can use the TriangleNet.MeshValidator static methods.
  • To get detailed logging set TriangleNet.Log.Verbose = true and then check TriangleNet.Log.Instance.Data after 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

Clone this wiki locally