[][src]Trait gut::ops::Volume

pub trait Volume<T> {
    fn volume(self) -> T;
fn signed_volume(self) -> T; }

Required methods

fn volume(self) -> T

Compute the volume of the object.

fn signed_volume(self) -> T

Compute the signed volume of the object. The volume is negative when the object is inverted.

Loading content...

Implementors

impl<'a, T: BaseFloat> Volume<T> for &'a Tetrahedron<T>[src]

impl<T: BaseFloat> Volume<T> for Tetrahedron<T>[src]

Loading content...