Trait rust_3d::traits::HasBoundingBox2D [] [src]

pub trait HasBoundingBox2D {
    fn bounding_box(&self) -> Result<BoundingBox2D>;
}

HasBoundingBox2D is a trait for types which might have a bounding box

Required Methods

Should return the bounding box as a pair of two points. The first point should be the minimum for all coordinates, the second the maximum for all coordinates

Implementors