Class EdgeGraphBuilder

Hierarchy: Object , EdgeGraphBuilder
public class EdgeGraphBuilder
Builds an edge graph from geometries containing edges.
Authors:
mdavis
public EdgeGraphBuilder()
public static EdgeGraph build(Collection geoms)
public EdgeGraph getGraph()
public void add(Geometry geometry)
Adds the edges of a Geometry to the graph. May be called multiple times. Any dimension of Geometry may be added; the constituent edges are extracted.
Parameters:
geometry - geometry geometry to be added
public void add(Collection geometries)
Adds the edges in a collection of Geometrys to the graph. May be called multiple times. Any dimension of Geometry may be added.
Parameters:
geometries - geometries the geometries to be added