vtkCutter sometimes gives polygons with GenerateTrianglesOn
When using a vtkCutter on an unstructured grid containing vtkPolyhedron cells with GenerateTrianglesOn, the output sometimes contains (depending on polyhedra) provides polygons instead of triangles, as shown in the following example:
cutter_with_triangles_on_polyhedron.py
Here is the result plotted with Paraview, with the polyhedral cell in wireframe and the polygonal result. (Tested with vtk 8.2.0, build py36haa4764d_200, with Python 3.6.8)
Edited by Frédéric Viry