[vtkusers] KDTree BuildLocator not working

David Doria daviddoria+vtk at gmail.com
Tue Nov 3 12:49:31 EST 2009


See the code here:
http://www.vtk.org/Wiki/KDTree_-_Closest_Point

As you can see, I call BuildLocator() after adding the dataset. However,
when I call FindClosestPoint, I get an error "must build locator first". Can
anyone see where I have gone wrong?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091103/aac1a26b/attachment.htm>


More information about the vtkusers mailing list