[vtkusers] Closest point set-to-point set distance?

David Doria daviddoria at gmail.com
Sun Mar 29 16:15:32 EDT 2009

I would like to compute the smallest distance between pairs of points in two
sets. That is, I have a set of points A, and another set of points B. I am
currently storing the points of A in a vtkKdTree, and computing the distance
from every point in B to the tree. Is there any way to do something like put
the points of A in TreeA, and the points of B in TreeB, and find the closest
"tree to tree" distance?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090329/714da35b/attachment.htm>

More information about the vtkusers mailing list