Skip to main content

approximate_volume

Function approximate_volume 

Source
pub fn approximate_volume(grid: &SdfGrid) -> f64
Expand description

Compute the approximate volume enclosed by the zero level-set.

Simply counts interior cells and multiplies by cell volume.