[−][src]Trait rustbatch::math::Intersection
Trait for implementing intersects method witch returns whether two geometric objects has at least one common point
Required methods
fn intersects(&self, o: &T) -> bool
Implementors
impl Intersection<Circ> for Circ
[src]
fn intersects(&self, o: &Circ) -> bool
[src]
impl Intersection<Circ> for Ray
[src]
fn intersects(&self, o: &Circ) -> bool
[src]
impl Intersection<Circ> for Rect
[src]
fn intersects(&self, o: &Circ) -> bool
[src]
returns whether rectangle intersects circle
impl Intersection<Ray> for Circ
[src]
fn intersects(&self, o: &Ray) -> bool
[src]
impl Intersection<Ray> for Ray
[src]
fn intersects(&self, o: &Ray) -> bool
[src]
impl Intersection<Ray> for Rect
[src]
fn intersects(&self, o: &Ray) -> bool
[src]
returns whether rectangle intersects ray
impl Intersection<Rect> for Circ
[src]
fn intersects(&self, o: &Rect) -> bool
[src]
impl Intersection<Rect> for Ray
[src]
fn intersects(&self, o: &Rect) -> bool
[src]
impl Intersection<Rect> for Rect
[src]
fn intersects(&self, o: &Rect) -> bool
[src]
returns whether rectangle intersects another rectangle