volendo: volendo

Description Usage Arguments Value Author(s) Examples

Description

Calculate the volume of a mesh by using a voxel-based method

Usage

1
volendo(mesh, alpha_vol = 100, ncells = 1e+05)

Arguments

mesh

object of class mesh3d

alpha_vol

numeric: alpha shape for construction external concave hull

ncells

numeric: approximative number of cell for 3D grid construction

Value

vol numeric: volume of the mesh expressed in cc

Author(s)

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

Examples

1
2
3
4
5
6
7
8
## Not run: 
#load the human skull
library(rgl)
data(human_skull)
sapendo<-endomaker(human_skull,param1_endo = 1.0,vol=FALSE, num.cores=NULL)
volsap<-volendo(sapendo$endocast)

## End(Not run)

Arothron documentation built on June 8, 2021, 5:08 p.m.