[][src]Trait rustbatch::math::IntersectionPoints

pub trait IntersectionPoints<T> {
    fn intersects_points(&self, o: &T) -> [Option<Vect>; 2];
}

Trait for implementing intersects_points method witch returns one oer two intersection points of two geometric objects

Required methods

fn intersects_points(&self, o: &T) -> [Option<Vect>; 2]

Loading content...

Implementors

impl IntersectionPoints<Circ> for Ray[src]

impl IntersectionPoints<Ray> for Circ[src]

impl IntersectionPoints<Ray> for Ray[src]

impl IntersectionPoints<Ray> for Rect[src]

fn intersects_points(&self, o: &Ray) -> [Option<Vect>; 2][src]

returns intersection points of rectangle and ray

impl IntersectionPoints<Rect> for Ray[src]

Loading content...