Function graphics::math::area [−][src]
pub fn area<T>(polygon: Polygon<'_, T>) -> T where
T: Float,
Computes area of a simple polygon.
A simple polygon is one that does not intersect itself.
pub fn area<T>(polygon: Polygon<'_, T>) -> T where
T: Float,
Computes area of a simple polygon.
A simple polygon is one that does not intersect itself.