org.jbox2d.collision
Class ContactID
java.lang.Object
org.jbox2d.collision.ContactID
public class ContactID
- extends Object
Contact ids to facilitate warm starting.
Nested Class Summary |
class |
ContactID.Features
The features that intersect to form the contact point |
Field Summary |
ContactID.Features |
features
The features that intersect to form the contact point |
int |
key
Inactive in Java port (used for quick compares in C++ as part of a union) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
public int key
- Inactive in Java port (used for quick compares in C++ as part of a union)
features
public ContactID.Features features
- The features that intersect to form the contact point
ContactID
public ContactID()
ContactID
public ContactID(ContactID c)
isEqual
public boolean isEqual(ContactID cid)
zero
public void zero()
- zeros out the data
set
public void set(ContactID c)