Trait libreda_db::layout::prelude::traits::BoundingBox
source · [−]pub trait BoundingBox<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
fn bounding_box(&self) -> Rect<T>
fn bounding_box(&self) -> Rect<T>
Return the bounding box of this geometry.