Hi,<br>I used vtkCleanPolyData filter after you suggested it in my code on the grid just before extracting edges from polydata (unstuctured) grid and just before sending the edge to vtkTriangleFilter. it seems to have no effect as I am still getting the message
<br><span style="font-weight: bold;"><span style="font-weight: bold;"><br></span>Warning: In /home/amitesh/binaries/VTK/Filtering/vtkPolygon.cxx, line 562</span><br style="font-weight: bold;"><span style="font-weight: bold;">
vtkPolygon (0x22f10f0): Degenerate polygon encountered during triangulation<br><br></span>my guess is that it has something to do with the geometry of edge (polygon) rather than whether or not the polydata has been cleaned. Can somebody who is familiar with the working of vtkTriangleFilter confirm it?
<br><br>Thanks<br>Amitesh<br><span style="font-weight: bold;"></span><br><br><div><span class="gmail_quote">On 1/16/07, <b class="gmail_sendername">Michael Rice</b> <<a href="mailto:marice@knology.net">marice@knology.net
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="">Can you use a vtkCleanPolyData filter to fix the degenerate facets before using the vtkTriangleFilter?
<div><br><div><div><span class="e" id="q_1102d7376ad6693c_1"><div>On Jan 16, 2007, at 5:47 PM, Amitesh Agarwal wrote:</div><br></span></div><blockquote type="cite"><div><span class="e" id="q_1102d7376ad6693c_3">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></span></div><div style="margin: 0px;">_______________________________________________</div><div style="margin: 0px;">This is the private VTK discussion list.<span> </span></div><div style="margin: 0px;">
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.vtk.org/Wiki/VTK_FAQ</a></div><div style="margin: 0px;">
Follow this link to subscribe/unsubscribe:</div><div style="margin: 0px;"><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.vtk.org/mailman/listinfo/vtkusers
</a></div> </blockquote></div><br></div></div>
</blockquote></div><br>