public class JointEdge
- Object
- JointEdge
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.
Fields
public Body other | Provides quick access to the other body attached |
public Joint joint | the joint |
public JointEdge prev | the previous joint edge in the body’s joint list |
public JointEdge next | the next joint edge in the body’s joint list |
Constructors
public JointEdge() |
Inherited methods
Field details
other
public Body otherProvides quick access to the other body attached
joint
public Joint jointthe joint
prev
public JointEdge prevthe previous joint edge in the body’s joint list
next
public JointEdge nextthe next joint edge in the body’s joint list
Constructor details
JointEdge
public JointEdge()