<div>The following code creates a contour, and then attempts to create a polygon on the same points to "fill in" the contour:</div><a href="http://codepad.org/OxnvsZe6">http://codepad.org/OxnvsZe6</a><div><br></div>
<div>The contour looks as expected in Paraview, but the polygon is broken (there are overlapping triangles, etc). I also tried adding the points in the reverse order (as you can see in PolygonFromContourClockwise vs PolygonFromContourCounterClockwise), but that doesn't seem to be the problem.</div>
<div><br></div><div>The last point is not repeated (as per the documentation's requirement) and there are no self intersections.</div><div><br></div><div>Can anyone see where I am going wrong?</div><div><br clear="all">
Thanks,<br><br>David<br>
</div>