Class EdgeString

java.lang.Object
org.locationtech.jts.operation.linemerge.EdgeString

public class EdgeString extends Object
A sequence of LineMergeDirectedEdges forming one of the lines that will be output by the line-merging process.
Version:
1.7
  • Constructor Details

    • EdgeString

      public EdgeString(GeometryFactory factory)
      Constructs an EdgeString with the given factory used to convert this EdgeString to a LineString
  • Method Details

    • add

      public void add(LineMergeDirectedEdge directedEdge)
      Adds a directed edge which is known to form part of this line.
    • toLineString

      public LineString toLineString()
      Converts this EdgeString into a LineString.