Struct ncollide2d::narrow_phase::ConvexPolyhedronConvexPolyhedronManifoldGenerator[][src]

pub struct ConvexPolyhedronConvexPolyhedronManifoldGenerator<N: Real> { /* fields omitted */ }

Persistent contact manifold computation between two shapes having a support mapping function.

It is based on the GJK algorithm. This detector generates only one contact point. For a full manifold generation, see IncrementalContactManifoldGenerator.

Methods

impl<N: Real> ConvexPolyhedronConvexPolyhedronManifoldGenerator<N>
[src]

Creates a new persistant collision detector between two convex polyhedra.

Trait Implementations

impl<N: Clone + Real> Clone for ConvexPolyhedronConvexPolyhedronManifoldGenerator<N>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<N: Real> ContactManifoldGenerator<N> for ConvexPolyhedronConvexPolyhedronManifoldGenerator<N>
[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 found.

Collects the contact manifolds generated by the last update.

Auto Trait Implementations