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 FilterBox2D
impl HasBoundingBox2D for FilterCircle
impl HasBoundingBox2D for LineSegment2D
impl<P> HasBoundingBox2D for PointCloud2D<P> where
P: Is2D,impl HasBoundingBox2D for BoundingBox2D
impl HasBoundingBox2D for Circle
impl HasBoundingBox2D for Box2D