Trait libreda_pnr::db::BoundingBox[][src]

pub trait BoundingBox<T>: TryBoundingBox<T> {
    fn bounding_box(&self) -> Rect<T>;
}
Expand description

Calculation of the ‘bounding box’, i.e. the smallest rectangle that contains the geometrical object.

Required methods

Return the bounding box of this geometry.

Implementors