powered by
This function calculates the barycenter of a matrix or a 3D mesh
bary.mesh(mesh)
barycenter numeric: x,y,z coordinates of the barycenter of the mesh
matrix mesh vertex
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)
Run the code above in your browser using DataLab