bary.mesh: bary.mesh

Description Usage Arguments Value Author(s) Examples

View source: R/bary.mesh.R

Description

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

Usage

1
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, Alessio Veneziano, Marina Melchionna, Pasquale Raia

Examples

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

AlessioVeneziano/Arothron documentation built on Dec. 17, 2021, 7:49 a.m.