Trait mgf::Intersects [] [src]

pub trait Intersects<RHS> {
    fn intersection(&self, rhs: &RHS) -> Option<Intersection>;
}

A type that can collide with a volumetric object and produce a single point of contact.

Intersects is implemented on volumetric object for linear objects such as Rays and Segments, although the intersection operation is commutative.

Required Methods

Returns an Intersection if one exists.

Implementors