public class ContactEdge
- Object
- 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.
Fields
public Body other | provides quick access to the other body attached. |
public Contact contact | the contact |
public ContactEdge prev | the previous contact edge in the body’s contact list |
public ContactEdge next | the next contact edge in the body’s contact list |
Constructors
public ContactEdge() |
Inherited methods
Field details
other
public Body otherprovides quick access to the other body attached.
contact
public Contact contactthe contact
prev
public ContactEdge prevthe previous contact edge in the body’s contact list
next
public ContactEdge nextthe next contact edge in the body’s contact list
Constructor details
ContactEdge
public ContactEdge()