Class LineStringGraphGenerator

  • All Implemented Interfaces:
    GraphGenerator, LineGraphGenerator
    Direct Known Subclasses:
    DirectedLineStringGraphGenerator

    public class LineStringGraphGenerator
    extends BasicLineGraphGenerator
    Builds a graph representing a line network in which edges in the network are represented by LineString geometries. This implementation is a wrapper around a LineGraphGenerator which sets underlying edge objects to be LineString objects, and underlying Node objects to be Point objects. While generating the graph, the generator uses the visited flag of created components to determine when to create underlying objects. For this reason it is not recommended to modify the visited flag of any graph components.
    Author:
    Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net, Anders Bakkevold, Bouvet AS, bakkedev@gmail.com
    See Also:
    LineString, Point