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

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

Required methods

fn area(self) -> T

Compute the area of the object.

fn signed_area(self) -> T

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

Loading content...

Implementors

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

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

Loading content...