<div>Thanks for your answer,</div><div><br></div>Yes, I have already read the information on this page. <div>The problem I have is that I need to tesselate the non-convex polygons. I am using a vtkTriangleFilter and it works fine, but I need to display the edge of the original polygon, and after the tesselation I have a lot of triangles each with its edges. Do I need to create another vtkCellArray with a vtkPolyline cell? Is there another way to get and display the edge of the resulting set of triangles?</div>

<div><br></div><div>Thank you,</div><div><br></div><div>Xavi<br><br><div class="gmail_quote">On Wed, Oct 28, 2009 at 7:35 PM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div></div><div class="h5">On Wed, Oct 28, 2009 at 9:02 AM, Xavi Almolda &lt;<a href="mailto:xavi.almolda@gmail.com">xavi.almolda@gmail.com</a>&gt; wrote:<br>


&gt; Hello,<br>
&gt; I am developing an application with vtk that shows different results in the<br>
&gt; form of a mesh with values at the nodes or elements. The problem is that I<br>
&gt; need to draw some simple polygons on top of the results.<br>
&gt; I need to draw some simple polygons that represent spatial features, like<br>
&gt; the fetaures from a GIS layer. Each polygon is defined as a set of<br>
&gt; coordinates ( only x and y coordinates ).<br>
&gt; What is the best solution for doing this with vtk?<br>
&gt; Thank you,<br>
&gt; Xavi<br>
<br>
</div></div>Is this what you&#39;re looking for?<br>
<br>
<a href="http://www.itk.org/Wiki/Polygon" target="_blank">http://www.itk.org/Wiki/Polygon</a><br>
<br>
Thanks,<br>
<br>
David<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br></div>