[][src]Trait rust_3d::traits::HasBoundingBox2D

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

Loading content...

Implementors

impl HasBoundingBox2D for FilterBox2D[src]

impl HasBoundingBox2D for FilterCircle[src]

impl HasBoundingBox2D for BoundingBox2D[src]

impl HasBoundingBox2D for Box2D[src]

impl HasBoundingBox2D for Circle[src]

impl HasBoundingBox2D for LineSegment2D[src]

impl<P> HasBoundingBox2D for PointCloud2D<P> where
    P: Is2D
[src]

impl<P> HasBoundingBox2D for Polygon2D<P> where
    P: Is2D
[src]

Loading content...