[src]

Enum ncollide2df64::narrow::algorithm::gjk::GJKResult

pub enum GJKResult<_V, Dir> {
    Intersection,
    Projection(_V),
    NoIntersection(Dir),
}

Results of the GJK algorithm.

Variants

Intersection

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

Projection

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

NoIntersection

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

Trait Implementations

impl<__E: Encoder, _V: Encodable<__E>, Dir: Encodable<__E>> Encodable<__E> for GJKResult<_V, Dir>

Automatically derived.

fn encode(&self, __arg_0: &mut __E)

impl<__D: Decoder, _V: Decodable<__D>, Dir: Decodable<__D>> Decodable<__D> for GJKResult<_V, Dir>

Automatically derived.

fn decode(__arg_0: &mut __D) -> GJKResult<_V, Dir>

impl<_V: Clone, Dir: Clone> Clone for GJKResult<_V, Dir>

Automatically derived.

fn clone(&self) -> GJKResult<_V, Dir>