Package org.jbox2d.collision
Class ContactID
java.lang.Object
org.jbox2d.collision.ContactID
- All Implemented Interfaces:
java.lang.Comparable<ContactID>
Contact ids to facilitate warm starting. Note: the ContactFeatures class is just embedded in here
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
indexA
public byte indexA -
indexB
public byte indexB -
typeA
public byte typeA -
typeB
public byte typeB
-
-
Constructor Details
-
ContactID
public ContactID() -
ContactID
-
-
Method Details
-
getKey
public int getKey() -
isEqual
-
set
-
flip
public void flip() -
zero
public void zero()zeros out the data -
compareTo
- Specified by:
compareTo
in interfacejava.lang.Comparable<ContactID>
-