Class LineMergeGraph
- java.lang.Object
-
- org.meteoinfo.jts.planargraph.PlanarGraph
-
- org.meteoinfo.jts.operation.linemerge.LineMergeGraph
-
public class LineMergeGraph extends PlanarGraph
A planar graph of edges that is analyzed to sew the edges together. Themarkedflag on @{link com.vividsolutions.planargraph.Edge}s and @{link com.vividsolutions.planargraph.Node}s indicates whether they have been logically deleted from the graph.
-
-
Field Summary
-
Fields inherited from class org.meteoinfo.jts.planargraph.PlanarGraph
dirEdges, edges, nodeMap
-
-
Constructor Summary
Constructors Constructor Description LineMergeGraph()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEdge(LineString lineString)Adds an Edge, DirectedEdges, and Nodes for the given LineString representation of an edge.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.meteoinfo.jts.planargraph.PlanarGraph
add, add, add, contains, contains, dirEdgeIterator, edgeIterator, findNode, findNodesOfDegree, getEdges, getNodes, nodeIterator, remove, remove, remove
-
-
-
-
Method Detail
-
addEdge
public void addEdge(LineString lineString)
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
-
-