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]

[src]

Creates a new persistant collision detector between two convex polyhedra.

Trait Implementations

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[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

[src]

The number of contacts found.

[src]

Collects the contact manifolds generated by the last update.

Auto Trait Implementations