[vtkusers] vtkPointLocator

Sebastian Gatzka sebastian.gatzka at stud.tu-darmstadt.de
Mon Mar 22 08:38:30 EDT 2010


Great! This worked perfect!

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?!

Am 22.03.2010 12:56, schrieb David Doria:
> On Mon, Mar 22, 2010 at 7:27 AM, Sebastian Gatzka 
> <sebastian.gatzka at stud.tu-darmstadt.de 
> <mailto:sebastian.gatzka at stud.tu-darmstadt.de>> wrote:
>
>     Thanks for the new example.
>
>     Basically I build my code the same way as in the example, but it
>     crashes all the time.
>
>     *Can the cell locator work on cell Centers?*
>     In the example it is working on a sphere.
>
>
> CellCenters produces points, so you'd need to use vtkPointLocator I think.
>
> Thanks,
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100322/f132a870/attachment.htm>


More information about the vtkusers mailing list