Trait iron_shapes::traits::BoundingBox [−][src]
Calculation of the 'bounding box', i.e. the smallest rectangle that contains the geometrical object.
Required methods
fn bounding_box(&self) -> Rect<T>
[src]
Return the bounding box of this geometry.
Implementors
impl<T: CoordinateType> BoundingBox<T> for Edge<T>
[src]
fn bounding_box(&self) -> Rect<T>
[src]
impl<T: CoordinateType> BoundingBox<T> for Rect<T>
[src]
fn bounding_box(&self) -> Rect<T>
[src]
Get bounding box of rectangle (which is equal to the rectangle itself).