|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.dev.joode.collision.collider.RectangleRectangleCollider.FeaturePair
public static class RectangleRectangleCollider.FeaturePair
ported from Phys2D, this class was not an inner class, but as only the RectangleCollider seems to use it extensively I have placed it here, though this may need to be moved when more funcionality is ported
| Constructor Summary | |
|---|---|
RectangleRectangleCollider.FeaturePair()
Public constructor since something in the raw port want to access it. |
|
RectangleRectangleCollider.FeaturePair(int inEdge1,
int inEdge2,
int outEdge1,
int outEdge2)
Construct a feature pair and set edges. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
|
int |
hashCode()
|
void |
set(RectangleRectangleCollider.FeaturePair other)
Set the contents of this pair from another |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RectangleRectangleCollider.FeaturePair()
public RectangleRectangleCollider.FeaturePair(int inEdge1,
int inEdge2,
int outEdge1,
int outEdge2)
inEdge1 - outEdge1 - inEdge2 - outEdge2 - | Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()public boolean equals(java.lang.Object other)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public void set(RectangleRectangleCollider.FeaturePair other)
other - The other pair to populate this pair frompublic java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||