Trait rust_3d::traits::HasBoundingBox3D [] [src]

pub trait HasBoundingBox3D {
    fn bounding_box(&self) -> Result<BoundingBox3D>;
}

HasBoundingBox3D 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