Trait kdtree_ray::BoundingBox[][src]

pub trait BoundingBox {
    fn bounding_box(&self) -> AABB;
}

BoundingBox trait is needed to use a KD-tree.

Required methods

fn bounding_box(&self) -> AABB[src]

This function return the Axis-aligned bounding boxes (AABB) of the object.

For more information check AABB.

Loading content...

Implementors

impl<P> BoundingBox for KDtree<P> where
    P: BoundingBox
[src]

Loading content...