Struct ncollide::narrow_phase::SupportMapSupportMapProximityDetector [] [src]

pub struct SupportMapSupportMapProximityDetector<P, M, S> where
    P: Point
{ /* fields omitted */ }

Persistent proximity detector between two shapes having a support mapping function.

It is based on the GJK algorithm.

Methods

impl<P, M, S> SupportMapSupportMapProximityDetector<P, M, S> where
    P: Point,
    S: Simplex<AnnotatedPoint<P>>, 
[src]

Creates a new persistant proximity detector between two shapes with support mapping functions.

It is initialized with a pre-created simplex.

Trait Implementations

impl<P, M, S> ProximityDetector<P, M> for SupportMapSupportMapProximityDetector<P, M, S> where
    M: Isometry<P>,
    P: Point,
    S: Simplex<AnnotatedPoint<P>>, 
[src]

Runs the proximity detection on two objects. It is assumed that the same proximity detector (the same structure) is always used with the same pair of object. Read more

The number of collision detected during the last update.

impl<P, M, S> Clone for SupportMapSupportMapProximityDetector<P, M, S> where
    M: Clone,
    P: Clone + Point,
    S: Clone,
    <P as Point>::Vector: Clone
[src]