Class JointEdge


  • public class JointEdge
    extends java.lang.Object
    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.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      Joint joint
      the joint
      JointEdge next
      the next joint edge in the body's joint list
      Body other
      Provides quick access to the other body attached
      JointEdge prev
      the previous joint edge in the body's joint list
    • Constructor Summary

      Constructors 
      Constructor Description
      JointEdge()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • other

        public Body other
        Provides quick access to the other body attached
      • joint

        public Joint joint
        the joint
      • prev

        public JointEdge prev
        the previous joint edge in the body's joint list
      • next

        public JointEdge next
        the next joint edge in the body's joint list
    • Constructor Detail

      • JointEdge

        public JointEdge()