[vtkusers] vtkPointLocator

Sebastian Gatzka sebastian.gatzka at stud.tu-darmstadt.de
Mon Mar 22 09:23:48 EDT 2010


Got it myself!

I can search for different points, which will be sorted nearest to 
farthest using ->FindNearestNPoints(...) :-)




Am 22.03.2010 13:38, schrieb Sebastian Gatzka:
> 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
>>
>
> _______________________________________________
> 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
>    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100322/1108f05b/attachment.htm>


More information about the vtkusers mailing list