Package org.jbox2d.dynamics.contacts
Class ContactEdge
java.lang.Object
org.jbox2d.dynamics.contacts.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.
- Author:
- Daniel Murphy
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe contact.The next contact edge in the body’s contact list.Provides quick access to the other body attached.The previous contact edge in the body’s contact list. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
other
Provides quick access to the other body attached. -
contact
The contact. -
prev
The previous contact edge in the body’s contact list. -
next
The next contact edge in the body’s contact list.
-
-
Constructor Details
-
ContactEdge
public ContactEdge()
-