Trait libreda_db::prelude::DoubledOrientedArea
pub trait DoubledOrientedArea<A> {
// Required method
fn area_doubled_oriented(&self) -> A;
}
Expand description
Calculate the doubled oriented area of a geometry. Using the doubled area allows to compute the area without using fractions. This is especially helpful when computing in integer coordinates.
A
: Area type.
Required Methods§
fn area_doubled_oriented(&self) -> A
fn area_doubled_oriented(&self) -> A
Calculate doubled oriented area of this geometry. Using the doubled area allows to compute the area without using fractions.