org.jbox2d.dynamics.contacts
Class PolyAndEdgeContact

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

public class PolyAndEdgeContact
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
PolyAndEdgeContact()
           
PolyAndEdgeContact(Shape shape1, Shape shape2)
           
 
Method Summary
 Contact clone()
          returns a clone of this contact.
 Contact create(Shape s1, Shape s2)
           
static void Destroy(Contact contact)
           
 void destructor()
           
 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

PolyAndEdgeContact

public PolyAndEdgeContact()

PolyAndEdgeContact

public PolyAndEdgeContact(Shape shape1,
                          Shape shape2)
Method Detail

create

public Contact create(Shape s1,
                      Shape s2)
Specified by:
create in interface ContactCreateFcn

Destroy

public static void Destroy(Contact contact)

destructor

public void destructor()

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

evaluate

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

getManifolds

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

Specified by:
getManifolds in class Contact