GEOS 3.14.0dev
|
#include <EdgeGraphBuilder.h>
Public Member Functions | |
std::unique_ptr< EdgeGraph > | getGraph () |
void | add (const geom::Geometry *geometry) |
void | add (const geom::LineString *linestring) |
void | add (const geom::GeometryCollection *geometries) |
Static Public Member Functions | |
static std::unique_ptr< EdgeGraph > | build (const geom::GeometryCollection *geoms) |
Builds an edge graph from geometries containing edges.
void geos::edgegraph::EdgeGraphBuilder::add | ( | const geom::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.
geometry | geometry to be added |
void geos::edgegraph::EdgeGraphBuilder::add | ( | const geom::GeometryCollection * | geometries | ) |
Adds the edges in a collection of geom::Geometry
to the graph. May be called multiple times. Any dimension of Geometry may be added.
geometries | the geometries to be added |