bary.mesh: bary.mesh

View source: R/bary.mesh.R

bary.meshR 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)

Arothron documentation built on Feb. 16, 2023, 5:17 p.m.