Trait collision::Bound [] [src]

pub trait Bound {
    type Point: EuclideanSpace;
    fn min_extent(&self) -> Self::Point;
fn max_extent(&self) -> Self::Point;
fn with_margin(&self, add: <Self::Point as EuclideanSpace>::Diff) -> Self;
fn transform_volume<T>(&self, transform: &T) -> Self
    where
        T: Transform<Self::Point>
;
fn empty() -> Self; }

Bounding volume abstraction for use with algorithms

Associated Types

Point type for the bounding volume (for dimensionality)

Required Methods

Minimum extents of the bounding volume

Maximum extents of the bounding volume

Create a new bounding volume extended by the given amount

Apply an arbitrary transform to the bounding volume

Create empty volume

Implementors