Class 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 Detail

      • setDest

        public void setDest​(Vertex dest)
      • isEqual

        public boolean isEqual​(Vertex origin,
                               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 class java.lang.Object
      • getDest

        public Vertex getDest()
      • isHorizon

        public boolean isHorizon()
      • findHorizon

        public void findHorizon​(java.util.List<Edge> horizon)