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
 Manifold m_manifold
           
 ArrayList<Manifold> manifoldList
           
 
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()
          returns a clone of this contact.
 Contact create(Shape shape1, Shape shape2)
           
 void dumpManifoldPoints()
           
 void evaluate(ContactListener listener)
           
 List<Manifold> getManifolds()
          Get the manifold array.
 
Methods inherited from class org.jbox2d.dynamics.contacts.Contact
addType, createContact, destroy, getManifoldCount, getNext, getShape1, getShape2, initializeRegisters, isSolid, update
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_manifold

public final Manifold m_manifold

manifoldList

public final ArrayList<Manifold> manifoldList
Constructor Detail

PolyContact

public PolyContact(Shape s1,
                   Shape s2)

PolyContact

public PolyContact()
Method Detail

clone

public Contact clone()
Description copied from class: Contact
returns a clone of this contact. rev 166: not used in the engine

Specified by:
clone in class Contact

getManifolds

public List<Manifold> getManifolds()
Description copied from class: Contact
Get the manifold array.

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