[−][src]Trait myelin_geometry::Intersects
Tests wether wether this shape touches, contains or is contained in another shape
┼─────────────────────────────────────── x
│
│ ┌─────────────┐
│ │ │
│ │ ┌──│───────┐
│ └─────────────┘ │
│ └──────────┘
y
Required methods
fn intersects(&self, other: &Other) -> bool
Returns wether this shape touches, contains or is contained in another shape
┼─────────────────────────────────────── x
│
│ ┌─────────────┐
│ │ │
│ │ ┌──│───────┐
│ └─────────────┘ │
│ └──────────┘
y
Implementors
impl Intersects<Aabb> for Aabb
[src]
fn intersects(&self, other: &Aabb) -> bool
[src]
Returns wether the bounds of another Aabb
are touching or
inside this Aabb
.
┼─────────────────────────────────────── x
│
│ ┌─────────────┐
│ │ │
│ │ ┌──│───────┐
│ └─────────────┘ │
│ └──────────┘
y
impl Intersects<Polygon> for Polygon
[src]
fn intersects(&self, other: &Polygon) -> bool
[src]
Returns wether this polygon touches, contains or is contained in another polygon