See the code here:<br><a href="http://www.vtk.org/Wiki/KDTree_-_Closest_Point" target="_blank">http://www.vtk.org/Wiki/KDTree_-_Closest_Point</a><br><br>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?<br>
<br clear="all">Thanks,<br><br>David<br>