Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes | List of all members
b2JointEdge Struct Reference

`#include <b2Joint.h>`

## Public Attributes
b2Body * | other
| provides quick access to the other body attached. More...
b2Joint * | joint
| the joint More...
b2JointEdge * | prev
| the previous joint edge in the body's joint list More...
b2JointEdge * | next
| the next joint edge in the body's joint list More...

## Detailed Description

A joint edge is used to connect bodies and joints together in a joint graph where each body is a node and each joint is an edge. A joint edge belongs to a doubly linked list maintained in each attached body. Each joint has two joint nodes, one for each attached body.

## Member Data Documentation

b2Joint* joint

the joint

b2JointEdge* next

the next joint edge in the body's joint list

b2Body* other

provides quick access to the other body attached.

b2JointEdge* prev

the previous joint edge in the body's joint list

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

- Box2D/Dynamics/Joints/b2Joint.h