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
fn bounding_box(&self) -> Result<BoundingBox2D>
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 HasBoundingBox2D for FilterBox2Dimpl HasBoundingBox2D for FilterCircleimpl HasBoundingBox2D for LineSegment2Dimpl<P> HasBoundingBox2D for PointCloud2D<P> where
P: Is2D,impl HasBoundingBox2D for BoundingBox2Dimpl HasBoundingBox2D for Circleimpl HasBoundingBox2D for Box2D