Learn R Programming

ravetools (version 0.2.2)

vcg_mesh_volume: Compute volume for manifold meshes

Description

Compute volume for manifold meshes

Usage

vcg_mesh_volume(mesh)

Value

The numeric volume of the mesh

Arguments

mesh

triangular mesh of class 'mesh3d'

Examples

Run this code

# Initial mesh
mesh <- vcg_sphere()

vcg_mesh_volume(mesh)

Run the code above in your browser using DataLab