querytree
querytree(
@tree ? ## llll (required)
@point ? ## llll (required)
) -> int
Given a k-dimensional tree and a target point with the same dimensionality, returns the index position of the nearest neighbor in that tree. See createtree
.
Arguments
@tree ?
[llll]: k-dimensional tree. (required)@point ?
[llll]: target point to search nearest neighbor of. (required)
Output
index of nearest neighbor [int]