In vtk a polygon is just one type of cell. The vtkPolyData class can hold VTK_VERTEX&#39;es for example, as well as VTK_POLYGONS. See <a href="http://www.vtk.org/doc/nightly/html/classvtkPolyData.html">http://www.vtk.org/doc/nightly/html/classvtkPolyData.html
</a> or the books for more information. Use GetPoly&#39;s to get a list of only the polygonal cells, then use getcellpoints and getcellneighbors on each cell id from that list.<br><br>cheers<br>Dave DeMarle<br><br><br><div>
<span class="gmail_quote">On 7/13/07, <b class="gmail_sendername">David Goldsmith</b> &lt;<a href="mailto:d_l_goldsmith@yahoo.com">d_l_goldsmith@yahoo.com</a>&gt; 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><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi!&nbsp; In plain English, what is (are) the difference(s) between cells
and polygons?&nbsp; And if I&#39;m trying to loop over the triangles (are these cells or polygons?) created by vtkDelaunay2D from
numbered points to get the point numbers of each triangle&#39;s vertices,
as well as each triangle&#39;s neighboring triangle objects, which vtkPolyData method
do I use for each of these tasks?&nbsp; Thanks!<br><br>DG<div>&nbsp;</div><a rel="nofollow" href="http://www.python.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Python: It just works!</a><div><span class="ad">
<br></span></div></div><span class="ad"><br>
      <hr size="1">Ready for the edge of your seat? 
<a href="http://us.rd.yahoo.com/evt=48220/*http://tv.yahoo.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Check out tonight&#39;s top picks</a> on Yahoo! TV. 

</span></div><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br><br></blockquote></div><br>