Class Edge
- java.lang.Object
-
- com.macrofocus.treemap.fastvoronoi.originalconvexhull.Edge
-
public class Edge 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<Edge> horizon)VertexgetDest()FacetgetFacet()EdgegetNext()EdgegetPrev()VertexgetSource()EdgegetTwin()booleanisEqual(Vertex origin, Vertex dest)booleanisHorizon()voidsetDest(Vertex dest)voidsetFacet(Facet facet)voidsetNext(Edge next)voidsetPrev(Edge prev)voidsetSource(Vertex source)voidsetTwin(Edge twin)java.lang.StringtoString()
-
-
-
Method Detail
-
setDest
public void setDest(Vertex dest)
-
getSource
public Vertex getSource()
-
setSource
public void setSource(Vertex source)
-
getTwin
public Edge getTwin()
-
setTwin
public void setTwin(Edge twin)
-
getFacet
public Facet getFacet()
-
setFacet
public void setFacet(Facet facet)
-
getNext
public Edge getNext()
-
setNext
public void setNext(Edge next)
-
getPrev
public Edge getPrev()
-
setPrev
public void setPrev(Edge prev)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getDest
public Vertex getDest()
-
isHorizon
public boolean isHorizon()
-
findHorizon
public void findHorizon(java.util.List<Edge> horizon)
-
-