Learn R Programming

Arothron (version 2.0.5)

volendo: volendo

Description

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

Usage

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

Value

vol numeric: volume of the mesh expressed in cc

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

Author

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

Examples

Run this code
if (FALSE) {
#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)
}

Run the code above in your browser using DataLab