<div dir="ltr">If you're looking for points you probably want to use vtkPointLocator instead of vtkCellLocator. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 12, 2015 at 4:09 AM, oyster <span dir="ltr"><<a href="mailto:sancho@whu.edu.cn" target="_blank">sancho@whu.edu.cn</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The bounds of the surface model is about {-78,78, -78,78, 0, 60}, and the<br>
sample vertices is about 2400. In such a configuration, gaps between<br>
incident vertices is about 160/2400=0.0666, and I set the celllocator's<br>
tolerence to 1e-30.<br>
However, a tol with 1e-6 and 1e-30 generates different point sets; And every<br>
time I go through a different loop, points with different positions got,<br>
every time. Though they all lie on the surface through a quick visual<br>
examine.<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Numeric-instability-of-FindClosestPoint-from-vtkCellLocator-tp5733872p5733873.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/Numeric-instability-of-FindClosestPoint-from-vtkCellLocator-tp5733872p5733873.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>