bary.mesh {Arothron} | R Documentation |
This function calculates the barycenter of a matrix or a 3D mesh
bary.mesh(mesh)
mesh |
matrix mesh vertex |
barycenter numeric: x,y,z coordinates of the barycenter of the mesh
Antonio Profico, Costantino Buzi, Marina Melchionna, Paolo Piras, Pasquale Raia, Alessio Veneziano
#load an example: mesh, and L set
data(SCP1.mesh)
sur<-SCP1.mesh
bary<-bary.mesh(mesh=sur)