Trait Aabb

Source
pub trait Aabb<S>: Stereometric<S>
where S: Ring,
{ // 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 Aabb<f64> for Dynamic

Source§

impl Aabb<f64> for Static

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: Field + Debug,

Source§

impl<S> Aabb<S> for Cuboid<S>
where S: Field + 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
where S: Field + FloatCore + Debug,

Source§

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