maspack.collision
Class SurfaceMeshContourIxer.EdgeFacePair
java.lang.Object
maspack.collision.SurfaceMeshContourIxer.EdgeFacePair
- Enclosing class:
- SurfaceMeshContourIxer
public static class SurfaceMeshContourIxer.EdgeFacePair
- extends java.lang.Object
Static Inner Class for holding an Edge-Face pair.
This class will ALWAYS store the primary half-edge, no
matter what is passed to the constructor.
This class is immutable, and overrides equals/hashcode to
test if myEdge.equals(other.myEdge) and myFace.equals(other.myFace).
- Author:
- andrew
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
SurfaceMeshContourIxer.EdgeFacePair
public SurfaceMeshContourIxer.EdgeFacePair(HalfEdge e,
Face f)
- Create an edge-face pair
- Parameters:
e
- edge (primary or secondary, only primary is stored)f
- face
getEdge
public HalfEdge getEdge()
getFace
public Face getFace()
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object