Skip to main content

Intersection

Trait Intersection 

Source
pub trait Intersection<T, Other> {
    // Required method
    fn intersection(&self, other: &Other) -> Option<T>;
}
Expand description

Trait for producing intersection results.

Required Methods§

Source

fn intersection(&self, other: &Other) -> Option<T>

Returns the intersection result, or None if there is no intersection.

Implementors§

Source§

impl<T: FloatScalar> Intersection<(T, Vector3<T>), Line<T, Vector3<T>>> for Tri3<T>

Source§

impl<T: FloatScalar> Intersection<(T, Vector3<T>), Ray<T, Vector3<T>>> for Tri3<T>

Source§

impl<T: FloatScalar> Intersection<(T, Vector3<T>), Tri3<T>> for Line<T, Vector3<T>>

Source§

impl<T: FloatScalar> Intersection<(T, Vector3<T>), Tri3<T>> for Ray<T, Vector3<T>>