vcgCreateKDtree {Rvcg} | R Documentation |
create a KD-tree
vcgCreateKDtree(mesh, nofPointsPerCell = 16, maxDepth = 64)
mesh |
matrix or triangular mesh containing coordinates |
nofPointsPerCell |
number of points per kd-cell |
maxDepth |
maximum tree depth |
returns an object of class vcgKDtree containing external pointers to the tree and the target points
data(humface)
mytree <- vcgCreateKDtree(humface)