edu.uci.ics.dillenco.simplegraph01
Class PartialHalfEdge
java.lang.Object
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. |
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 QEdgerot
- the rotation coefficient
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