|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbox2d.collision.ContactID
public class ContactID
Contact ids to facilitate warm starting. Note: the ContactFeatures class is just embedded in here
Nested Class Summary | |
---|---|
static class |
ContactID.Type
|
Field Summary | |
---|---|
byte |
indexA
|
byte |
indexB
|
byte |
typeA
|
byte |
typeB
|
Constructor Summary | |
---|---|
ContactID()
|
|
ContactID(ContactID c)
|
Method Summary | |
---|---|
int |
compareTo(ContactID o)
|
void |
flip()
|
int |
getKey()
|
boolean |
isEqual(ContactID cid)
|
void |
set(ContactID c)
|
void |
zero()
zeros out the data |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public byte indexA
public byte indexB
public byte typeA
public byte typeB
Constructor Detail |
---|
public ContactID()
public ContactID(ContactID c)
Method Detail |
---|
public int getKey()
public boolean isEqual(ContactID cid)
public void set(ContactID c)
public void flip()
public void zero()
public int compareTo(ContactID o)
compareTo
in interface java.lang.Comparable<ContactID>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |