Trait libreda_db::prelude::BoundingBox
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§
fn bounding_box(&self) -> Rect<T>
fn bounding_box(&self) -> Rect<T>
Return the bounding box of this geometry.