net.java.dev.joode.collision
Class Contact

java.lang.Object
  extended by net.java.dev.joode.collision.ContactGeom
      extended by net.java.dev.joode.collision.Contact
All Implemented Interfaces:
java.io.Serializable, SimState

public class Contact
extends ContactGeom
implements SimState

contact info used by contact joint

See Also:
Serialized Form

Field Summary
 Vector3 fdir1
           
static int NUMC_MASK
           
 SurfaceParameters surface
           
 
Fields inherited from class net.java.dev.joode.collision.ContactGeom
depth, g1, g2, normal, pos
 
Constructor Summary
Contact()
           
Contact(SurfaceParameters surface, Vector3 fdir1)
           
 
Method Summary
 SimState 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 setMu(float mu)
           
 
Methods inherited from class net.java.dev.joode.collision.ContactGeom
init, jitter, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NUMC_MASK

public static final int NUMC_MASK
See Also:
Constant Field Values

surface

public SurfaceParameters surface

fdir1

public Vector3 fdir1
Constructor Detail

Contact

public Contact(SurfaceParameters surface,
               Vector3 fdir1)
Parameters:
surface -
geom -
fdir1 -

Contact

public Contact()
Method Detail

setMu

public void setMu(float mu)

cloneState

public SimState 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.

Specified by:
cloneState in interface SimState
Parameters:
util - instanciate a new one if top level cloning