JTS Core 1.17.1
Packages
Classes
Search
About
Top
EdgeGraphBuilder()
build(Collection): EdgeGraph
getGraph(): EdgeGraph
add(Geometry): void
add(Collection): void
Bottom
Source
Classic
org.locationtech.jts.edgegraph
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
Geometry
s to the graph. May be called multiple times. Any dimension of Geometry may be added.
Parameters:
geometries - geometries the geometries to be added