I made it manually and it works (Is not the best way, but...) <div>Like this :<br><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

  bool found = false;</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">  for(int pointId = 0; pointId &lt; polydata-&gt;GetNumberOfPoints(); pointId++)<br>

   {<br><span class="Apple-tab-span" style="white-space:pre">        </span>double pt[3];<br><span class="Apple-tab-span" style="white-space:pre">        </span>polydata-&gt;GetPoint(pointId,pt);//obtain points coordinates for each point.<br>

</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<span class="Apple-tab-span" style="white-space:pre">        </span>if(p[0] == pt[0] &amp;&amp; p[1] == pt[1] &amp;&amp; p[2] == pt[2]) //In p, is stored the point of edges.<br><span class="Apple-tab-span" style="white-space:pre">        </span>{<br>

<span class="Apple-tab-span" style="white-space:pre">                </span>idPointCorrespondant = pointId;<br><span class="Apple-tab-span" style="white-space:pre">                </span>found = true;<br><span class="Apple-tab-span" style="white-space:pre">        </span>}<br>

</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<span class="Apple-tab-span" style="white-space:pre">        </span>if(found)<br><span class="Apple-tab-span" style="white-space:pre">        </span>break;</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

   } </blockquote><br><div class="gmail_quote">2012/8/21 Jana Sefcikova <span dir="ltr">&lt;<a href="mailto:neollie@gmail.com" target="_blank">neollie@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi Gonzalo, I would say<span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"> that there is not one-to-one mapping between original polydata and polydata resulted from </span><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">vtkFeatureEdges. Fast looking to code vtkFeatureEdges.cxx, I found for example </span>







<p> vtkTriangleStrip::DecomposeStrip(npts, pts, newPolys);  </p><p>This can result in different mesh (convert polydata to triangles before running filter). I did not go further inside that code ...</p><span class="HOEnZb"><font color="#888888">
<p>j.</p>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>--------<br>Gonzalo Amadio<br><br>
</div>