public class EdgeGraphBuilder extends Object
Constructor and Description |
---|
EdgeGraphBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
add(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.
|
static EdgeGraph |
build(Collection geoms) |
EdgeGraph |
getGraph() |
public static EdgeGraph build(Collection geoms)
public EdgeGraph getGraph()
public void add(Geometry geometry)
geometry
- geometry to be addedpublic void add(Collection geometries)
Geometry
s to the graph.
May be called multiple times.
Any dimension of Geometry may be added.geometries
- the geometries to be addedCopyright © 2020. All rights reserved.