vtkCleanPolyData does not remove all degenerate cells
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I consider a triangle of zero area to be a degenerate cell.
However, if you create a simple mesh such as
===
vtk DataFile Version 3.0
vtk output ASCII DATASET POLYDATA POINTS 5 float 0 0 0 0 100 0 0 -100 0 100 0 0 100 0 0 POLYGONS 2 8 3 0 1 2 3 2 1 3
...and then pass this through the vtkCleanPolyData filter, it doesn't remove the degenerate cell (0, 1, 2).
===
vtk DataFile Version 3.0
vtk output ASCII DATASET POLYDATA POINTS 4 float 0 0 0 0 100 0 0 -100 0 100 0 0 POLYGONS 2 8 3 0 1 2 3 2 1 3
CELL_DATA 2 POINT_DATA 4
In my view, this either requires modifying the class so that such cells are removed, or the documentation needs clarifying as to what degeneracies are removed.