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 FilterBox3Dimpl HasBoundingBox3D for FilterSphereimpl HasBoundingBox3D for LineSegment3Dimpl<P> HasBoundingBox3D for PointCloud3D<P> where
P: Is3D,impl HasBoundingBox3D for BoundingBox3Dimpl<P> HasBoundingBox3D for Mesh3D<P> where
P: Is3D,impl HasBoundingBox3D for Sphereimpl HasBoundingBox3D for Box3D