|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbox2d.dynamics.contacts.ContactEdge
public class ContactEdge
A contact edge is used to connect bodies and contacts together in a contact graph where each body is a node and each contact is an edge. A contact edge belongs to a doubly linked list maintained in each attached body. Each contact has two contact nodes, one for each attached body.
Field Summary | |
---|---|
Contact |
contact
The contact. |
ContactEdge |
next
The next contact edge in the body's contact list. |
Body |
other
Provides quick access to the other body attached. |
ContactEdge |
prev
The previous contact edge in the body's contact list. |
Constructor Summary | |
---|---|
ContactEdge()
|
Method Summary | |
---|---|
void |
set(ContactEdge argToCopy)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Body other
public Contact contact
public ContactEdge prev
public ContactEdge next
Constructor Detail |
---|
public ContactEdge()
Method Detail |
---|
public void set(ContactEdge argToCopy)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |