<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Helvetica, Arial, sans-serif">Got it myself!<br>
<br>
I can search for different points, which will be sorted nearest to
farthest using -&gt;FindNearestNPoints(...) <span class="moz-smiley-s1"><span>
:-) </span></span><br>
<br>
<br>
<br>
</font></font><br>
Am 22.03.2010 13:38, schrieb Sebastian Gatzka:
<blockquote cite="mid:4BA764C6.20402@stud.tu-darmstadt.de" type="cite">
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <font size="-1"><font face="Helvetica, Arial, sans-serif">Great! This
worked perfect!<br>
  <br>
Now this: If the closest point I'm searching is coincidental with the
point I'm searching from, how can I find the "next" nearest point?!<br>
  </font></font><br>
Am 22.03.2010 12:56, schrieb David Doria:
  <blockquote
 cite="mid:c19fcadc1003220456s3417e52fwa41cb68939446f37@mail.gmail.com"
 type="cite">
    <div class="gmail_quote">On Mon, Mar 22, 2010 at 7:27 AM, Sebastian
Gatzka <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:sebastian.gatzka@stud.tu-darmstadt.de">sebastian.gatzka@stud.tu-darmstadt.de</a>&gt;</span>
wrote:<br>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
      <div bgcolor="#ffffff" text="#000000"><font size="-1"><font
 face="Helvetica, Arial, sans-serif">Thanks for
the new example.<br>
      <br>
Basically I build my code the same way as in the example, but it
crashes all the time.<br>
      <br>
      <b>Can the cell locator work on cell Centers?</b><br>
In the example it is working on a sphere.<br>
      </font></font></div>
      <div bgcolor="#ffffff" text="#000000"><font size="-1"><font
 face="Helvetica, Arial, sans-serif"><br>
      </font></font></div>
    </blockquote>
    <div class="gmail_quote"><br>
    </div>
    <div class="gmail_quote">CellCenters produces points, so you'd need
to use vtkPointLocator I think.</div>
    <br clear="all">
Thanks,<br>
    <br>
    <div>David&nbsp;</div>
    </div>
    <br>
  </blockquote>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the VTK FAQ at: <a class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
  </pre>
</blockquote>
</body>
</html>