Rdocumentation
powered by
Learn R Programming
Rvcg (version 0.12.2)
vcgKDtree: perform kdtree search for 3D-coordinates.
Description
perform kdtree search for 3D-coordinates.
Usage
vcgKDtree(target, query, k)
Arguments
target
n x 3 matrix with 3D coordinates or mesh of class "mesh3d". These coordinates are to be searched.
query
m x 3 matrix with 3D coordinates or mesh of class "mesh3d". We seach the closest coordinates in
target
for each of these.
k
number of neighbours to find
Value
a list with
index
integer matrices with indeces of closest points
distances
corresponding distances