mesh_volumes: mesh_volumes

View source: R/mesh_volumes.R

mesh_volumesR Documentation

mesh_volumes

Description

Estimates the volume of multiple meshes' surfaces.

Usage

mesh_volumes(surfaces = surfaces)

Arguments

surfaces

an object of the class "mesh_array" that contains two lists: a table with the meshes information (name, number of faces and vertices) and all the meshes that had previously been imported using the function import_surfaces.

Details

Takes an object of the class "mesh_array" and returns the volume for each mesh. For more information check the R package Rvcg (Schlager, 2017)

Value

This function returns a table with the meshes information (name, number of faces and vertices) and the volume for each surface mesh.

Author(s)

Marta Vidal-Garcia

References

Schlager S (2017). “Morpho and Rvcg - Shape Analysis in R.” In Zheng G, Li S, Szekely G (eds.), _Statistical Shape and Deformation Analysis_, 217-256. Academic Press. ISBN 9780128104934.

Examples

data(meshes)
vol <- mesh_volumes(meshes)


marta-vidalgarcia/mesh_process documentation built on May 7, 2022, 12:08 a.m.