public class EdgeGraphBuilder
extends java.lang.Object
Constructor and Description |
---|
EdgeGraphBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
add(java.util.Collection geometries)
Adds the edges in a collection of
Geometry s to the graph. |
void |
add(Geometry geometry)
Adds the edges of a Geometry to the graph.
|
private void |
add(LineString lineString) |
static EdgeGraph |
build(java.util.Collection geoms) |
EdgeGraph |
getGraph() |
private EdgeGraph graph
public static EdgeGraph build(java.util.Collection geoms)
public EdgeGraph getGraph()
public void add(Geometry geometry)
geometry
- geometry to be addedpublic void add(java.util.Collection geometries)
Geometry
s to the graph.
May be called multiple times.
Any dimension of Geometry may be added.geometries
- the geometries to be addedprivate void add(LineString lineString)