GEOS 3.14.0dev
Public Member Functions | Static Public Member Functions | List of all members
geos::edgegraph::EdgeGraphBuilder Class Reference

#include <EdgeGraphBuilder.h>

Public Member Functions

std::unique_ptr< EdgeGraphgetGraph ()
 
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< EdgeGraphbuild (const geom::GeometryCollection *geoms)
 

Detailed Description

Builds an edge graph from geometries containing edges.

Author
mdavis

Member Function Documentation

◆ add() [1/2]

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.

Parameters
geometrygeometry to be added

◆ add() [2/2]

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.

Parameters
geometriesthe geometries to be added

The documentation for this class was generated from the following file: