public class EdgeString
extends java.lang.Object
LineMergeDirectedEdge
s forming one of the lines that will
be output by the line-merging process.Modifier and Type | Field and Description |
---|---|
private Coordinate[] |
coordinates |
private java.util.List |
directedEdges |
private GeometryFactory |
factory |
Constructor and Description |
---|
EdgeString(GeometryFactory factory)
Constructs an EdgeString with the given factory used to convert this EdgeString
to a LineString
|
Modifier and Type | Method and Description |
---|---|
void |
add(LineMergeDirectedEdge directedEdge)
Adds a directed edge which is known to form part of this line.
|
private Coordinate[] |
getCoordinates() |
LineString |
toLineString()
Converts this EdgeString into a LineString.
|
private GeometryFactory factory
private java.util.List directedEdges
private Coordinate[] coordinates
public EdgeString(GeometryFactory factory)
public void add(LineMergeDirectedEdge directedEdge)
private Coordinate[] getCoordinates()
public LineString toLineString()