Struct ncollide::narrow_phase::SupportMapPlaneContactGenerator [] [src]

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

Collision detector between a plane and a shape implementing the SupportMap trait.

This detector generates only one contact point. For a full manifold generation, see IncrementalContactManifoldGenerator.

Methods

impl<P, M> SupportMapPlaneContactGenerator<P, M> where
    P: Point
[src]

Creates a new persistent collision detector between a plane and a shape with a support mapping function.

Trait Implementations

impl<P, M> ContactGenerator<P, M> for SupportMapPlaneContactGenerator<P, M> where
    M: Isometry<P>,
    P: Point
[src]

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

The number of contacts generated the last update.

Collects the contacts generated during the last update.

impl<P, M> Clone for SupportMapPlaneContactGenerator<P, M> where
    M: Clone,
    P: Clone + Point
[src]