org.jbox2d.dynamics.contacts
Class Contact
java.lang.Object
org.jbox2d.dynamics.contacts.Contact
- Direct Known Subclasses:
- CircleContact, NullContact, PolyContact
public abstract class Contact
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
e_nonSolidFlag
public static final int e_nonSolidFlag
- See Also:
- Constant Field Values
e_slowFlag
public static final int e_slowFlag
- See Also:
- Constant Field Values
e_islandFlag
public static final int e_islandFlag
- See Also:
- Constant Field Values
e_toiFlag
public static final int e_toiFlag
- See Also:
- Constant Field Values
m_world
public World m_world
m_prev
public Contact m_prev
m_next
public Contact m_next
m_node1
public ContactEdge m_node1
m_node2
public ContactEdge m_node2
m_shape1
public Shape m_shape1
m_shape2
public Shape m_shape2
m_friction
public float m_friction
m_restitution
public float m_restitution
m_flags
public int m_flags
m_manifoldCount
public int m_manifoldCount
m_toi
public float m_toi
Contact
public Contact()
Contact
public Contact(Shape s1,
Shape s2)
evaluate
public abstract void evaluate(ContactListener listener)
getManifolds
public abstract java.util.List<Manifold> getManifolds()
getManifoldCount
public int getManifoldCount()
isSolid
public boolean isSolid()
getNext
public Contact getNext()
getShape1
public Shape getShape1()
getShape2
public Shape getShape2()
createContact
public static Contact createContact(Shape shape1,
Shape shape2)
destroy
public static void destroy(Contact contact)
update
public void update(ContactListener listener)
clone
public abstract Contact clone()
- Overrides:
clone
in class java.lang.Object