[][src]Trait rpt::Bounded

pub trait Bounded: Shape {
    pub fn bounding_box(&self) -> BoundingBox;
}

A geometric shape with a bounding box (needed for kd-tree intersections)

Required methods

pub fn bounding_box(&self) -> BoundingBox[src]

Returns the shape's bounding box

Loading content...

Implementations on Foreign Types

impl<T: Bounded + ?Sized> Bounded for Box<T>[src]

impl<T: Bounded + ?Sized> Bounded for Arc<T>[src]

Loading content...

Implementors

impl Bounded for Cube[src]

impl Bounded for MonomialSurface[src]

impl Bounded for Sphere[src]

impl Bounded for Triangle[src]

impl<T: Bounded> Bounded for KdTree<T>[src]

impl<T: Bounded> Bounded for Transformed<T>[src]

Loading content...