[SciPy-User] 2D NN search in a 3D point cloud
Fri Sep 23 01:32:17 CDT 2011
Fri, 23 Sep 2011 07:40:10 +0200, Andrej Kobler wrote:
> I need the 3rd coordinate value after selecting the NN in 2D. You
> suggestion could be OK, if you know of a way to conserve the links
> between 2D points and their coordinate values in the 3rd dimension.
KDTree.query returns the indices of the points, so the link is preserved.
More information about the SciPy-User