[vtkusers] KdTree Problem - must build locator first

Kevin H. Hobbs hobbsk at ohiou.edu
Tue Feb 10 13:41:50 EST 2009


David Doria wrote:
> 	
> 	PointTree->BuildLocator();
>
> 	
>
> As you can see I have called BuildLocator prior to calling
> FindClosestNPoints. What else is wrong?
>   

Use BuildLocatorFromPoints ( vtkPointSet 
<http://www.vtk.org/doc/nightly/html/classvtkPointSet.html> *  
/pointset/  )  if you want to use points and not cells.



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


More information about the vtkusers mailing list