Clean

The Clean Poly Data filter takes polygonal data as input and generates polygonal data as output. vtkCleanPolyData can merge duplicate points (within specified tolerance and if enabled), eliminate points  that are not used, and if enabled, transform degenerate cells into  appropriate forms (for example, a triangle is converted into a line if two points of triangle are merged).