ncollide3d::bounding_volume

Trait HasBoundingVolume

Source
pub trait HasBoundingVolume<N: RealField + Copy, BV> {
    // Required method
    fn bounding_volume(&self, m: &Isometry<N>) -> 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>) -> 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: RealField + Copy> HasBoundingVolume<N, AABB<N>> for Ball<N>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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