Trait libreda_pnr::place::mixed_size_placer::db::DoubledOrientedArea[][src]

pub trait DoubledOrientedArea<T> {
    fn area_doubled_oriented(&self) -> T;
}
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.

Required methods

Calculate doubled oriented area of this geometry. Using the doubled area allows to compute the area without using fractions.

Implementors