vtkContourTriangulator generates triangles outside a contour - with input data
With a set of points which forms a contour, I generates a poly data containing points and line segments. After that, I use vtkContourTriangulator to generate triangles inside the contour but some triangles cross the contour. I have also tested with vtkContourLoopExtraction (to create a polygon) and vtkTriangleFilter (to triangulate a polyton).
We can setup and run a simple example with input points in the attached file vtkContourTriangulator_input_points.txt
Edited by minhphuoc hong