|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbox2d.collision.ManifoldPoint
public class ManifoldPoint
A manifold point is a contact point belonging to a contact manifold. It holds details related to the geometry and dynamics of the contact points. The local point usage depends on the manifold type:
| Field Summary | |
|---|---|
ContactID |
id
uniquely identifies a contact point between two shapes |
Vec2 |
localPoint
usage depends on manifold type |
float |
normalImpulse
the non-penetration impulse |
float |
tangentImpulse
the friction impulse |
| Constructor Summary | |
|---|---|
ManifoldPoint()
Blank manifold point with everything zeroed out. |
|
ManifoldPoint(ManifoldPoint cp)
Creates a manifold point as a copy of the given point |
|
| Method Summary | |
|---|---|
void |
set(ManifoldPoint cp)
Sets this manifold point form the given one |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Vec2 localPoint
public float normalImpulse
public float tangentImpulse
public final ContactID id
| Constructor Detail |
|---|
public ManifoldPoint()
public ManifoldPoint(ManifoldPoint cp)
cp - point to copy from| Method Detail |
|---|
public void set(ManifoldPoint cp)
cp - the point to copy from
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||