Class EdgeString
- java.lang.Object
-
- org.locationtech.jts.operation.linemerge.EdgeString
-
public class EdgeString extends java.lang.Object
A sequence ofLineMergeDirectedEdge
s forming one of the lines that will be output by the line-merging process.- Version:
- 1.7
-
-
Constructor Summary
Constructors Constructor Description EdgeString(GeometryFactory factory)
Constructs an EdgeString with the given factory used to convert this EdgeString to a LineString
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(LineMergeDirectedEdge directedEdge)
Adds a directed edge which is known to form part of this line.LineString
toLineString()
Converts this EdgeString into a LineString.
-
-
-
Constructor Detail
-
EdgeString
public EdgeString(GeometryFactory factory)
Constructs an EdgeString with the given factory used to convert this EdgeString to a LineString
-
-
Method Detail
-
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.
-
-