Class LineMergeGraph



  • public class LineMergeGraph
    extends PlanarGraph
    A planar graph of edges that is analyzed to sew the edges together. The marked flag on @{link com.vividsolutions.planargraph.Edge}s and @{link com.vividsolutions.planargraph.Node}s indicates whether they have been logically deleted from the graph.
    • Constructor Detail

      • LineMergeGraph

        public LineMergeGraph​()
    • 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