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
fn bounding_box(&self) -> Result<BoundingBox3D>
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
impl HasBoundingBox3D for FilterBox3D
impl HasBoundingBox3D for FilterSphere
impl HasBoundingBox3D for LineSegment3D
impl<P> HasBoundingBox3D for PointCloud3D<P> where
P: Is3D,impl HasBoundingBox3D for BoundingBox3D
impl<P> HasBoundingBox3D for Mesh3D<P> where
P: Is3D,impl HasBoundingBox3D for Sphere
impl HasBoundingBox3D for Box3D