Meshvolume: Calculate the volume of a mesh

Description Usage Arguments Value Examples

View source: R/vtxtool.R

Description

the function calculate the volume of each tetrahedron which was made by tri-mesh and origin of coordinates of the tri-mesh

Usage

1

Arguments

m

a tri-mesh object

Value

a vector of the volume of the mesh

Examples

1
2
3
data(refface)
ref.m <- refface$ref.m
face.vol <- Meshvolume(ref.m)

changebio/MAGPA documentation built on June 15, 2020, 9:26 p.m.