pub trait HasBoundingVolume<N, BV>where
    N: RealField + Copy,{
    // Required method
    fn bounding_volume(&self, m: &Isometry<N, Unit<Complex<N>>, 2>) -> BV;

    // Provided method
    fn local_bounding_volume(&self) -> BV { ... }
}
Expand description

Traits of objects having a bounding volume.

Required Methods§

source

fn bounding_volume(&self, m: &Isometry<N, Unit<Complex<N>>, 2>) -> BV

The bounding volume of self transformed by m.

Provided Methods§

source

fn local_bounding_volume(&self) -> BV

The bounding volume of self.

Implementors§

source§

impl<N> HasBoundingVolume<N, AABB<N>> for Ball<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, AABB<N>> for Capsule<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, AABB<N>> for Compound<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, AABB<N>> for ConvexPolygon<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, AABB<N>> for Cuboid<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, AABB<N>> for HeightField<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, AABB<N>> for Plane<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, AABB<N>> for Polyline<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, AABB<N>> for Segment<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, AABB<N>> for Triangle<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, AABB<N>> for dyn Shape<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for Ball<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for Capsule<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for Compound<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for ConvexPolygon<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for Cuboid<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for HeightField<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for Plane<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for Polyline<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for Segment<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for Triangle<N>where N: RealField + Copy,

source§

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for dyn Shape<N>where N: RealField + Copy,