[][src]Trait oxygengine_physics_2d::prelude::ncollide2d::bounding_volume::HasBoundingVolume

pub trait HasBoundingVolume<N, BV> where
    N: RealField
{ fn bounding_volume(&self, m: &Isometry<N, U2, Unit<Complex<N>>>) -> BV; fn local_bounding_volume(&self) -> BV { ... } }

Traits of objects having a bounding volume.

Required methods

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

The bounding volume of self transformed by m.

Loading content...

Provided methods

fn local_bounding_volume(&self) -> BV

The bounding volume of self.

Loading content...

Implementors

impl<N> HasBoundingVolume<N, AABB<N>> for Ball<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, AABB<N>> for Capsule<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, AABB<N>> for Compound<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, AABB<N>> for ConvexPolygon<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, AABB<N>> for Cuboid<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, AABB<N>> for HeightField<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, AABB<N>> for Plane<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, AABB<N>> for Polyline<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, AABB<N>> for Segment<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, AABB<N>> for dyn Shape<N> + 'static where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for Ball<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for Capsule<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for Compound<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for ConvexPolygon<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for Cuboid<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for HeightField<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for Plane<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for Polyline<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for Segment<N> where
    N: RealField
[src]

impl<N> HasBoundingVolume<N, BoundingSphere<N>> for dyn Shape<N> + 'static where
    N: RealField
[src]

Loading content...