volendo {Arothron} | R Documentation |
volendo
Description
Calculate the volume of a mesh by using a voxel-based method
Usage
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
## 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)
[Package Arothron version 2.0.5 Index]