Public Attributes | List of all members
b2ContactEdge Struct Reference

#include <b2Contact.h>

Public Attributes

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

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.

Definition at line 66 of file b2Contact.h.

Member Data Documentation

b2Contact* b2ContactEdge::contact

the contact

Definition at line 69 of file b2Contact.h.

b2ContactEdge* b2ContactEdge::next

the next contact edge in the body's contact list

Definition at line 71 of file b2Contact.h.

b2Body* b2ContactEdge::other

provides quick access to the other body attached.

Definition at line 68 of file b2Contact.h.

b2ContactEdge* b2ContactEdge::prev

the previous contact edge in the body's contact list

Definition at line 70 of file b2Contact.h.


The documentation for this struct was generated from the following file:


mvsim
Author(s):
autogenerated on Thu Jun 6 2019 19:36:40