Trait gut::ops::Area[][src]

pub trait Area<T> {
    fn area(self) -> T;
fn signed_area(self) -> T; }

Required methods

fn area(self) -> T[src]

Compute the area of the object.

fn signed_area(self) -> T[src]

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

Loading content...

Implementors

impl<'a, T: BaseNum + Float + Neg<Output = T>> Area<T> for &'a Triangle<T>[src]

impl<T: BaseNum + Float + Neg<Output = T>> Area<T> for Triangle<T>[src]

Loading content...