Aabb

Trait Aabb 

Source
pub trait Aabb<S: Ring>: Stereometric<S> {
    // Required method
    fn aabb(&self) -> Aabb3<S>;
}
Expand description

Trait for computing the axis-aligned bounding volume of a given shape.

Note for ‘Unbounded’ shapes some of the components will contain positive or negative infinity.

Required Methods§

Source

fn aabb(&self) -> Aabb3<S>

Implementors§

Source§

impl<S> Aabb<S> for Bounded<S>
where S: Real + Debug,

Source§

impl<S> Aabb<S> for Unbounded<S>
where S: Real + FloatCore + Debug,

Source§

impl<S> Aabb<S> for Variant<S>
where S: Real + FloatCore + Debug,

Source§

impl<S> Aabb<S> for Capsule<S>
where S: Real + Debug,

Source§

impl<S> Aabb<S> for Cone<S>
where S: Real + Debug,

Source§

impl<S> Aabb<S> for Cube<S>
where S: OrderedField + Debug,

Source§

impl<S> Aabb<S> for Cuboid<S>
where S: OrderedField + Debug,

Source§

impl<S> Aabb<S> for Cylinder<S>
where S: Real + Debug,

Source§

impl<S> Aabb<S> for Halfspace<S>
where S: Real + FloatCore + Debug,

Source§

impl<S> Aabb<S> for Orthant

Source§

impl<S> Aabb<S> for Sphere<S>
where S: Real + Debug,