Class HEdge
- java.lang.Object
-
- com.macrofocus.treemap.originalfastvoronoi.convexHull.HEdge
-
public class HEdge extends java.lang.Object
Class for representing an Edge in the JConvexHull. Contains the origin and destination vertices, the twin edge, the incident JFace and the next and previous edge in the incident JFace
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
findHorizon(java.util.List<HEdge> horizon)
JVertex
getDest()
JFace
getiFace()
HEdge
getNext()
JVertex
getOrigin()
HEdge
getPrev()
HEdge
getTwin()
boolean
isEqual(JVertex origin, JVertex dest)
boolean
isHorizon()
void
setDest(JVertex dest)
void
setiFace(JFace iFace)
void
setNext(HEdge next)
void
setOrigin(JVertex origin)
void
setPrev(HEdge prev)
void
setTwin(HEdge twin)
java.lang.String
toString()
-
-
-
Method Detail
-
setDest
public void setDest(JVertex dest)
-
getOrigin
public JVertex getOrigin()
-
setOrigin
public void setOrigin(JVertex origin)
-
getTwin
public HEdge getTwin()
-
setTwin
public void setTwin(HEdge twin)
-
getiFace
public JFace getiFace()
-
setiFace
public void setiFace(JFace iFace)
-
getNext
public HEdge getNext()
-
setNext
public void setNext(HEdge next)
-
getPrev
public HEdge getPrev()
-
setPrev
public void setPrev(HEdge prev)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getDest
public JVertex getDest()
-
isHorizon
public boolean isHorizon()
-
findHorizon
public void findHorizon(java.util.List<HEdge> horizon)
-
-