Class HEdge
- java.lang.Object
-
- com.macrofocus.treemap.originalfastvoronoi.convexHull.HEdge
-
public class HEdge extends java.lang.ObjectClass 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 voidfindHorizon(java.util.List<HEdge> horizon)JVertexgetDest()JFacegetiFace()HEdgegetNext()JVertexgetOrigin()HEdgegetPrev()HEdgegetTwin()booleanisEqual(JVertex origin, JVertex dest)booleanisHorizon()voidsetDest(JVertex dest)voidsetiFace(JFace iFace)voidsetNext(HEdge next)voidsetOrigin(JVertex origin)voidsetPrev(HEdge prev)voidsetTwin(HEdge twin)java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
getDest
public JVertex getDest()
-
isHorizon
public boolean isHorizon()
-
findHorizon
public void findHorizon(java.util.List<HEdge> horizon)
-
-