[][src]Trait mgf::BoundedBy

pub trait BoundedBy<B: Bound> {
    fn bounds(&self) -> B;
}

A type that can be decomposed into a bound.

Required methods

fn bounds(&self) -> B

Loading content...

Implementors

impl BoundedBy<AABB> for Component[src]

impl BoundedBy<AABB> for Capsule[src]

impl BoundedBy<AABB> for Compound[src]

impl BoundedBy<AABB> for OBB[src]

impl BoundedBy<AABB> for Rectangle[src]

impl BoundedBy<AABB> for Sphere[src]

impl BoundedBy<AABB> for Triangle[src]

impl BoundedBy<Sphere> for Component[src]

impl BoundedBy<Sphere> for AABB[src]

Taking the bounding sphere of an AABB creates a sphere that contains all of the extreme points of the AABB. Thus, a bounding sphere for an AABB created from another bounding sphere will be larger in size than the original sphere.

impl BoundedBy<Sphere> for Capsule[src]

impl BoundedBy<Sphere> for Compound[src]

impl BoundedBy<Sphere> for OBB[src]

impl BoundedBy<Sphere> for Rectangle[src]

impl BoundedBy<Sphere> for Triangle[src]

impl<B, V> BoundedBy<B> for BVH<B, V> where
    B: Bound
[src]

impl<B: Bound> BoundedBy<B> for B[src]

All geometries that satisfy Bound are bounded by themselves.

impl<B: Bound, T: Copy + Clone + Shape + BoundedBy<B>> BoundedBy<B> for Moving<T>[src]

fn bounds(&self) -> B[src]

The bounds for a swept object is the bounds extended in the direction and magnitude of the velocity.

Loading content...