Trait Intersect

Source
pub trait Intersect {
    type Intersection;

    // Required method
    fn intersect(self) -> Option<Self::Intersection>;
}
Expand description

Compute the intersection between a tuple of objects

§Implementation Note

This trait is newer than most of the intersection algorithms in this module. Most of them don’t support it yet.

Required Associated Types§

Source

type Intersection

The type that describes the intersection between the objects in Self

Required Methods§

Source

fn intersect(self) -> Option<Self::Intersection>

Compute the intersection between a tuple of objects

Implementations on Foreign Types§

Source§

impl Intersect for (&HorizontalRayToTheRight<2>, &Segment<2>)

Implementors§