Class LineMergeGraph
java.lang.Object
org.locationtech.jts.planargraph.PlanarGraph
org.locationtech.jts.operation.linemerge.LineMergeGraph
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEdge(LineString lineString) Adds an Edge, DirectedEdges, and Nodes for the given LineString representation of an edge.Methods inherited from class PlanarGraph
contains, contains, dirEdgeIterator, edgeIterator, findNode, findNodesOfDegree, getEdges, getNodes, nodeIterator, remove, remove, remove
-
Constructor Details
-
LineMergeGraph
public LineMergeGraph()
-
-
Method Details
-
addEdge
Adds an Edge, DirectedEdges, and Nodes for the given LineString representation of an edge. Empty lines or lines with all coordinates equal are not added.- Parameters:
lineString- the linestring to add to the graph
-