Class Edge
- java.lang.Object
-
- com.macrofocus.treemap.fastvoronoi.originalconvexhull.Edge
-
public class Edge 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<Edge> horizon)
Vertex
getDest()
Facet
getFacet()
Edge
getNext()
Edge
getPrev()
Vertex
getSource()
Edge
getTwin()
boolean
isEqual(Vertex origin, Vertex dest)
boolean
isHorizon()
void
setDest(Vertex dest)
void
setFacet(Facet facet)
void
setNext(Edge next)
void
setPrev(Edge prev)
void
setSource(Vertex source)
void
setTwin(Edge twin)
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
getDest
public Vertex getDest()
-
isHorizon
public boolean isHorizon()
-
findHorizon
public void findHorizon(java.util.List<Edge> horizon)
-
-