net.java.dev.joode.joint
Class JointContact

java.lang.Object
  extended by net.java.dev.joode.WorldObject
      extended by net.java.dev.joode.joint.Joint
          extended by net.java.dev.joode.joint.JointContact
All Implemented Interfaces:
java.io.Serializable, SimState

public class JointContact
extends Joint

Author:
Tom Larkworthy
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class net.java.dev.joode.joint.Joint
Joint.Info1, Joint.Info2
 
Field Summary
 Contact contact
           
 int the_m
          instance variables for each contact joint
 
Fields inherited from class net.java.dev.joode.joint.Joint
body, dJOINT_INGROUP, dJOINT_REVERSE, dJOINT_TWOBODIES, feedback, flags, lambda, MAX_BODIES
 
Fields inherited from class net.java.dev.joode.WorldObject
data, tag, world
 
Constructor Summary
JointContact(World world, Contact contact)
           
 
Method Summary
 JointContact cloneState(ClonedReferences util)
           deep clones the state object, any references to other SimState objects should be cloned and assigned to the clone via the ClonedReferences util object.
 void getInfo1(Joint.Info1 info)
           
 void getInfo2(Joint.Info2 info)
           
protected  void init()
           
 
Methods inherited from class net.java.dev.joode.joint.Joint
attach, destroy, partialCloneJoint, removeJointReferencesFromAttachedBodies, reset, setJointId
 
Methods inherited from class net.java.dev.joode.WorldObject
partialCloneWorldObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

the_m

public int the_m
instance variables for each contact joint


contact

public Contact contact
Constructor Detail

JointContact

public JointContact(World world,
                    Contact contact)
Method Detail

init

protected void init()

getInfo1

public void getInfo1(Joint.Info1 info)
Specified by:
getInfo1 in class Joint

getInfo2

public void getInfo2(Joint.Info2 info)
Specified by:
getInfo2 in class Joint

cloneState

public JointContact cloneState(ClonedReferences util)
Description copied from interface: SimState

deep clones the state object, any references to other SimState objects should be cloned and assigned to the clone via the ClonedReferences util object. The util object ensures that multiple clones of the same object are not performed during a clone operation.

Parameters:
util - instanciate a new one if top level cloning