Learn R Programming

habtools (version 1.1.1)

scale_volume: Re-scale mesh based on a fixed volume of 1

Description

Re-scale mesh based on a fixed volume of 1

Usage

scale_volume(mesh)

Value

A mesh with volume = 1.

Arguments

mesh

A triangular mesh of class mesh3d.

Examples

Run this code
Rvcg::vcgVolume(mcap)
mcap_scaled <- scale_volume(mcap)
Rvcg::vcgVolume(mcap_scaled)

Run the code above in your browser using DataLab