[−][src]Trait instinct::InstinctOrd
instinct_cmp only compare points and finite(truncated) lines and polygons Cross and Parallel cases would give a Equal
instinct_cmp_ext compare points and infinite lines and planes represented by polygons returns None when cross happens and Equal in parallel situations with edge cases below will gives Equal not None: two same points two same lines two same planes point in line point in plane line in plane
Required methods
fn instinct_cmp(&self, other: &Rhs) -> Ordering
fn instinct_cmp_ext(&self, other: &Rhs) -> Option<Ordering>
Implementations on Foreign Types
impl<'a, N: RealField> InstinctOrd<Point<N, U3>> for Point3<N>
[src]
Compare two Point3
fn instinct_cmp(&self, other: &Self) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &Self) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<(&'a Point<N, U3>, &'a Point<N, U3>)> for Point3<N>
[src]
Compare Point3 with a line linked by two points
It's comparing the point and the plane represented by the projection of the line on Z-Y plane
fn instinct_cmp(&self, other: &LineRef<'a, N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &LineRef<'a, N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<(Point<N, U3>, Point<N, U3>)> for Point3<N>
[src]
fn instinct_cmp(&self, other: &Line<N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &Line<N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<(&'a Point<N, U3>, &'a Point<N, U3>, &'a Point<N, U3>)> for Point3<N>
[src]
Compare point and a plane linked by three points
fn instinct_cmp(&self, other: &PlaneRef<'a, N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &PlaneRef<'a, N>) -> Option<Ordering>
[src]
impl<N: RealField> InstinctOrd<(Point<N, U3>, Point<N, U3>, Point<N, U3>)> for Point3<N>
[src]
fn instinct_cmp(&self, other: &Plane<N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &Plane<N>) -> Option<Ordering>
[src]
Implementors
impl<'a, N: RealField> InstinctOrd<(&'a Point<N, U3>, &'a Point<N, U3>)> for LineRef<'a, N>
[src]
Compare two lines linked by two points for each
fn instinct_cmp(&self, other: &LineRef<'a, N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &LineRef<'a, N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<(&'a Point<N, U3>, &'a Point<N, U3>)> for Line<N>
[src]
fn instinct_cmp(&self, other: &LineRef<'a, N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &LineRef<'a, N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<(&'a Point<N, U3>, &'a Point<N, U3>)> for PlaneRef<'a, N>
[src]
fn instinct_cmp(&self, other: &LineRef<'a, N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &LineRef<'a, N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<(&'a Point<N, U3>, &'a Point<N, U3>)> for Plane<N>
[src]
fn instinct_cmp(&self, other: &LineRef<'a, N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &LineRef<'a, N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<(&'a Point<N, U3>, &'a Point<N, U3>, &'a Point<N, U3>)> for LineRef<'a, N>
[src]
Compare a line and a plane
fn instinct_cmp(&self, other: &PlaneRef<'a, N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &PlaneRef<'a, N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<(&'a Point<N, U3>, &'a Point<N, U3>, &'a Point<N, U3>)> for Line<N>
[src]
fn instinct_cmp(&self, other: &PlaneRef<'a, N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &PlaneRef<'a, N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<(&'a Point<N, U3>, &'a Point<N, U3>, &'a Point<N, U3>)> for PlaneRef<'a, N>
[src]
Compare two planes
fn instinct_cmp(&self, other: &PlaneRef<'a, N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &PlaneRef<'a, N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<(&'a Point<N, U3>, &'a Point<N, U3>, &'a Point<N, U3>)> for Plane<N>
[src]
fn instinct_cmp(&self, other: &PlaneRef<'a, N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &PlaneRef<'a, N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<(Point<N, U3>, Point<N, U3>)> for Line<N>
[src]
fn instinct_cmp(&self, other: &Line<N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &Line<N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<(Point<N, U3>, Point<N, U3>)> for LineRef<'a, N>
[src]
fn instinct_cmp(&self, other: &Line<N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &Line<N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<(Point<N, U3>, Point<N, U3>)> for PlaneRef<'a, N>
[src]
fn instinct_cmp(&self, other: &Line<N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &Line<N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<(Point<N, U3>, Point<N, U3>, Point<N, U3>)> for LineRef<'a, N>
[src]
fn instinct_cmp(&self, other: &Plane<N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &Plane<N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<(Point<N, U3>, Point<N, U3>, Point<N, U3>)> for PlaneRef<'a, N>
[src]
fn instinct_cmp(&self, other: &Plane<N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &Plane<N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<Point<N, U3>> for PlaneRef<'a, N>
[src]
fn instinct_cmp(&self, other: &Point3<N>) -> Ordering
[src]
fn instinct_cmp_ext(&self, other: &Point3<N>) -> Option<Ordering>
[src]
impl<'a, N: RealField> InstinctOrd<Point<N, U3>> for Line<N>
[src]
Compare line linked by two points and a point