edu.uci.ics.dillenco.simplegraph01
Class PartialHalfEdge

java.lang.Object
  extended by edu.uci.ics.dillenco.simplegraph01.PartialHalfEdge

final class PartialHalfEdge
extends Object

A ShortHalfEdge object represents a partial half edge, just the QEdge and the rot coefficient. It is intended just for creating maps of HalfEdges. It should not be visible from outside the package.


Constructor Summary
PartialHalfEdge(HalfEdge halfEdge)
          Constructs a PartialHalfEdge from the given HalfEdge
PartialHalfEdge(QEdge e, int rot)
          Constructs a PartialHalfEdge from the given QEdge and rotation coefficients.
 
Method Summary
 boolean equals(Object otherObject)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PartialHalfEdge

PartialHalfEdge(HalfEdge halfEdge)
Constructs a PartialHalfEdge from the given HalfEdge

Parameters:
halfEdge - the HalfEdge

PartialHalfEdge

PartialHalfEdge(QEdge e,
                int rot)
Constructs a PartialHalfEdge from the given QEdge and rotation coefficients.

Parameters:
e - the base QEdge
rot - the rotation coefficient
Method Detail

equals

public boolean equals(Object otherObject)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object