[vtkusers] Find point by coordiante

Kevin H. Hobbs hobbsk at ohio.edu
Tue Aug 21 09:33:00 EDT 2012


On 08/21/2012 09:18 AM, Boehm, Lukas wrote:
> Hello,
> 
>  
> 
> I’ve got a short question. I have a vtkPoints object and a coordinate
> (x,y,z). Is there a way to get the id of the closest point to this
> coordinate? I didn’t find anything.
> 

You need a point locator.

http://www.vtk.org/doc/nightly/html/classvtkPointLocator.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120821/3d85af02/attachment.pgp>


More information about the vtkusers mailing list