Trait libreda_db::layout::prelude::BoundingBox
source · pub trait BoundingBox<T> {
// Required method
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§
sourcefn bounding_box(&self) -> Rect<T>
fn bounding_box(&self) -> Rect<T>
Return the bounding box of this geometry.