org.jbox2d.dynamics.contacts
Class PolyContact

java.lang.Object
  extended by org.jbox2d.dynamics.contacts.Contact
      extended by org.jbox2d.dynamics.contacts.PolyContact
All Implemented Interfaces:
ContactCreateFcn

public class PolyContact
extends Contact
implements ContactCreateFcn


Field Summary
 
Fields inherited from class org.jbox2d.dynamics.contacts.Contact
e_islandFlag, e_nonSolidFlag, e_slowFlag, e_toiFlag, m_flags, m_friction, m_manifoldCount, m_next, m_node1, m_node2, m_prev, m_restitution, m_shape1, m_shape2, m_toi, m_world
 
Constructor Summary
PolyContact()
           
PolyContact(Shape s1, Shape s2)
           
 
Method Summary
 Contact clone()
           
 Contact create(Shape shape1, Shape shape2)
           
 void dumpManifoldPoints()
           
 void evaluate(ContactListener listener)
           
 java.util.List<Manifold> getManifolds()
           
 
Methods inherited from class org.jbox2d.dynamics.contacts.Contact
createContact, destroy, getManifoldCount, getNext, getShape1, getShape2, isSolid, update
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolyContact

public PolyContact(Shape s1,
                   Shape s2)

PolyContact

public PolyContact()
Method Detail

clone

public Contact clone()
Specified by:
clone in class Contact

getManifolds

public java.util.List<Manifold> getManifolds()
Specified by:
getManifolds in class Contact

create

public Contact create(Shape shape1,
                      Shape shape2)
Specified by:
create in interface ContactCreateFcn

dumpManifoldPoints

public void dumpManifoldPoints()

evaluate

public void evaluate(ContactListener listener)
Specified by:
evaluate in class Contact