[vtkusers] Find point by coordiante
Gonzalo Amadio
gonzaloamadio at gmail.com
Tue Aug 21 09:47:59 EDT 2012
I think this will work!..
http://www.vtk.org/doc/release/5.6/html/a00430.html#fb20db494bf2e8c0aff4ff2fcf7d6a22
The doc says "find the closes point to the coordinates provided as
arguiment"
2012/8/21 Kevin H. Hobbs <hobbsk at ohio.edu>
> 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
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
--------
Gonzalo Amadio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120821/c4aa3f91/attachment.htm>
More information about the vtkusers
mailing list