Enum parry2d::query::gjk::GJKResult[][src]

pub enum GJKResult {
    Intersection,
    ClosestPoints(Point<Real>, Point<Real>, Unit<Vector<Real>>),
    Proximity(Unit<Vector<Real>>),
    NoIntersection(Unit<Vector<Real>>),
}

Results of the GJK algorithm.

Variants

Intersection

Result of the GJK algorithm when the origin is inside of the polytope.

ClosestPoints(Point<Real>, Point<Real>, Unit<Vector<Real>>)

Result of the GJK algorithm when a projection of the origin on the polytope is found.

Both points and vector are expressed in the local-space of the first geometry involved in the GJK execution.

Proximity(Unit<Vector<Real>>)

Result of the GJK algorithm when the origin is too close to the polytope but not inside of it.

The returned vector is expressed in the local-space of the first geometry involved in the GJK execution.

NoIntersection(Unit<Vector<Real>>)

Result of the GJK algorithm when the origin is too far away from the polytope.

The returned vector is expressed in the local-space of the first geomety involved in the GJK execution.

Trait Implementations

impl Clone for GJKResult[src]

impl Debug for GJKResult[src]

impl PartialEq<GJKResult> for GJKResult[src]

impl StructuralPartialEq for GJKResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Az for T[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedAs for T[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<Src, Dst> LosslessTryInto<Dst> for Src where
    Dst: LosslessTryFrom<Src>, 
[src]

impl<Src, Dst> LossyInto<Dst> for Src where
    Dst: LossyFrom<Src>, 
[src]

impl<T> OverflowingAs for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatingAs for T[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnwrappedAs for T[src]

impl<T> WrappingAs for T[src]