In vtkKdTree, the member variable LocatorPoints is created in BuildLocatorFromPoints.<div><br></div><div>If you call FindClosestPoint without calling BuildLocatorFromPoints, the error generated (line 2203) is</div><div><br>
</div><div>"vtkKdTree::FindClosestPoint: must build locator first"</div><div><br></div><div>Can we change this to</div><div><br></div><div>"vtkKdTree::FindClosestPoint: must call BuildLocatorFromPoints first"</div>
<div><br></div><div>As it is, it is very confusing, since a BuildLocator function also exists.</div><div><br clear="all">Thanks,<br><br>David<br>
</div>