Class Edge


  • public class Edge
    extends GraphElement
    A graph (directed) edge It is defined by an origin node and a destination node. It can be linked to a maximum of two faces. Its geometry is a LineString.
    Author:
    julien gaffuri
    • Method Detail

      • getN1

        public Node getN1()
      • setN1

        public void setN1​(Node n)
      • getN2

        public Node getN2()
      • setN2

        public void setN2​(Node n)
      • getCoords

        public org.locationtech.jts.geom.Coordinate[] getCoords()
      • setGeom

        public void setGeom​(org.locationtech.jts.geom.Coordinate[] coords)
      • getGeometry

        public org.locationtech.jts.geom.LineString getGeometry()
      • getC

        public org.locationtech.jts.geom.Coordinate getC()
      • clear

        public Edge clear()