com.vividsolutions.jts.operation.linemerge

Class EdgeString


public class EdgeString
extends java.lang.Object

A sequence of LineMergeDirectedEdges forming one of the lines that will be output by the line-merging process.
Version:
1.6

Constructor Summary

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

Method Summary

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 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.