powered by
Find the closest matches between a reference (2D or 3D matrix) and a target matrix (2D/3D) or mesh returning row indices and distances
aro.clo.points(target, reference)
position numeric: a vector of the row indices
distances numeric: a vector of the coordinates distances
kxm matrix or object of class "mesh3d"
numeric: a kxm matrix (coordinates)
Antonio Profico, Costantino Buzi, Marina Melchionna, Paolo Piras, Pasquale Raia, Alessio Veneziano
#load an example: mesh, and L set data(yoda_sur) data(yoda_set) sur<-yoda_sur set<-yoda_set ver_pos<-aro.clo.points(target=sur,reference=set)
Run the code above in your browser using DataLab