vtkContourTriangulator (Triangulation failed)

It seems that vtkContourTriangulator() does not handle 3D coordinates when non planar.

The big picture of this problem is how to get a anti-counter clockwise coordinates of polydata made of lines sometimes folded.

See: create separated regions from polydata