bary.mesh {Arothron}R Documentation

bary.mesh

Description

This function calculates the barycenter of a matrix or a 3D mesh

Usage

bary.mesh(mesh)

Arguments

mesh

matrix mesh vertex

Value

barycenter numeric: x,y,z coordinates of the barycenter of the mesh

Author(s)

Antonio Profico, Costantino Buzi, Marina Melchionna, Paolo Piras, Pasquale Raia, Alessio Veneziano

Examples

#load an example: mesh, and L set
data(SCP1.mesh)
sur<-SCP1.mesh
bary<-bary.mesh(mesh=sur)

[Package Arothron version 2.0.5 Index]