[vtkusers] VTKPolyData Get PointId by Coordinates

David Doria daviddoria at gmail.com
Thu Apr 14 21:34:07 EDT 2011


On Thu, Apr 14, 2011 at 9:28 PM, Sam <sistephan at gmail.com> wrote:

> Please help,  I need to get a pointId using Coordinates.


I think FindPoint is the best you're going to get because of the nature of
the data structure.

You can also use an accelerated spatial data structure:

http://www.vtk.org/Wiki/VTK/Examples/Cxx/DataStructures/KdTreePointLocator/ClosestPoint

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110414/4997c3a3/attachment.htm>


More information about the vtkusers mailing list