Box2D: b2ContactEdge Struct Reference

Box2D

b2ContactEdge Struct Reference

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. More...

List of all members.

Public Attributes

b2Bodyother
 provides quick access to the other body attached.
b2Contactcontact
 the contact
b2ContactEdgeprev
 the previous contact edge in the body's contact list
b2ContactEdgenext
 the next contact edge in the body's contact list

Detailed Description

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.


The documentation for this struct was generated from the following file:
  • b2Contact.h

Generated on Sun Apr 13 15:21:27 2008 for Box2D by  doxygen 1.5.4