pub trait Stereometric<S>where
S: Ring,{
// Required method
fn volume(&self) -> Positive<S>;
}
Expand description
Trait for computing volumes of solid figures.
Note for ‘Unbounded’ shapes this will be positive infinitiy.
pub trait Stereometric<S>where
S: Ring,{
// Required method
fn volume(&self) -> Positive<S>;
}
Trait for computing volumes of solid figures.
Note for ‘Unbounded’ shapes this will be positive infinitiy.