org.jbox2d.collision
Class ContactID.Features

java.lang.Object
  extended by org.jbox2d.collision.ContactID.Features
Enclosing class:
ContactID

public class ContactID.Features
extends Object

The features that intersect to form the contact point


Field Summary
 int flip
          A value of 1 indicates that the reference edge is on shape2.
 int incidentEdge
          The edge most anti-parallel to the reference edge.
 int incidentVertex
          The vertex (0 or 1) on the incident edge that was clipped.
 int referenceEdge
          The edge that defines the outward contact normal.
 
Constructor Summary
ContactID.Features()
           
ContactID.Features(ContactID.Features f)
           
 
Method Summary
 boolean isEqual(ContactID.Features f)
           
 void set(ContactID.Features f)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

referenceEdge

public int referenceEdge
The edge that defines the outward contact normal.


incidentEdge

public int incidentEdge
The edge most anti-parallel to the reference edge.


incidentVertex

public int incidentVertex
The vertex (0 or 1) on the incident edge that was clipped.


flip

public int flip
A value of 1 indicates that the reference edge is on shape2.

Constructor Detail

ContactID.Features

public ContactID.Features()

ContactID.Features

public ContactID.Features(ContactID.Features f)
Method Detail

set

public void set(ContactID.Features f)

isEqual

public boolean isEqual(ContactID.Features f)

toString

public String toString()
Overrides:
toString in class Object