<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Can you use a vtkCleanPolyData filter to fix the degenerate facets before using the vtkTriangleFilter?<DIV><BR><DIV><DIV>On Jan 16, 2007, at 5:47 PM, Amitesh Agarwal wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Hi all,<BR>I have been using vtkTriangleFilter to to triangulate  polygons of complex shapes in 3D space to patch holes in unstructured grid. I am repeatedly getting this message whenever the hole shape is complex.<BR><BR> <SPAN style="font-weight: bold;">Warning: In /home/amitesh/binaries/VTK/Filtering/vtkPolygon.cxx, line 562</SPAN><BR style="font-weight: bold;"><SPAN style="font-weight: bold;">vtkPolygon (0x41d9d00): Degenerate polygon encountered during triangulation <BR><BR></SPAN>In essence what it does it that the triangle filter breaks the bolygon in two parts. This has been creating a lot of problems because the triangulation, it seems, is not complete as the vtkTriangleFilter only triangulates a portion of the hole and leaves the rest as it is. Is there any way to get around it so that I be able to create a valid triagulation on a polygon of any shape in 3D space? <BR><BR>Regards<BR><BR>Amitesh<BR><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">This is the private VTK discussion list.<SPAN class="Apple-converted-space"> </SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Please keep messages on-topic. Check the FAQ at: <A href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Follow this link to subscribe/unsubscribe:</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>