I think this will work!..<br><br><a href="http://www.vtk.org/doc/release/5.6/html/a00430.html#fb20db494bf2e8c0aff4ff2fcf7d6a22">http://www.vtk.org/doc/release/5.6/html/a00430.html#fb20db494bf2e8c0aff4ff2fcf7d6a22</a><br><br>

The doc says &quot;find the closes point to the coordinates provided as arguiment&quot;<br><br><div class="gmail_quote">2012/8/21 Kevin H. Hobbs <span dir="ltr">&lt;<a href="mailto:hobbsk@ohio.edu" target="_blank">hobbsk@ohio.edu</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 08/21/2012 09:18 AM, Boehm, Lukas wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I’ve got a short question. I have a vtkPoints object and a coordinate<br>
&gt; (x,y,z). Is there a way to get the id of the closest point to this<br>
&gt; coordinate? I didn’t find anything.<br>
&gt;<br>
<br>
</div>You need a point locator.<br>
<br>
<a href="http://www.vtk.org/doc/nightly/html/classvtkPointLocator.html" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkPointLocator.html</a><br>
<br>
<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>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>--------<br>Gonzalo Amadio<br><br>