What does this error mean?


I pass a vtkBooleanOperationPolyDataFilter to vtkDelaunay3D. I create a mapper and actor to display it. The actor renders successfully, but I get this error:

vtkDelaunay3D (0x3280c00): 1 degenerate triangles encountered, mesh quality suspect

What does it mean and is there any way for me to fix it?

Thanks. Any help would be greatly appreciated.

After doing a grep in vtk code base, the error comes from vtkDelaunay3D.cxx#L516. My suggestion is to understand what’s going on in this filter, if needed, use gdb to go through code step by step and figure out why there are degenerate triangles.