MantisBT - VTK
View Issue Details
0007159VTK(No Category)public2008-06-04 09:382016-08-12 09:54
Andy Turner 
Kitware Robot 
normalminoralways
closedmoved 
 
 
0007159: vtkCleanPolyData does not remove all degenerate cells
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.
No tags attached.
Issue History
2008-06-04 09:38Andy TurnerNew Issue
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:54Kitware RobotNote Added: 0036982
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved
2016-08-12 09:54Kitware RobotAssigned To => Kitware Robot

Notes
(0036982)
Kitware Robot   
2016-08-12 09:54   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.