GEOS 3.15.0beta1
geos::coverage::CoverageEdges Class Reference

#include <CoverageEdges.h>

Static Public Member Functions

static std::unique_ptr< geom::GeometryGetEdges (const std::vector< const geom::Geometry * > &coverage, int type=0)
static std::unique_ptr< geom::GeometryGetEdges (const geom::Geometry *coverage, int type=0)

Detailed Description

Utility to extract unique edges from a polygonal coverage.

Author
Paul Ramsey

Member Function Documentation

◆ GetEdges() [1/2]

std::unique_ptr< geom::Geometry > geos::coverage::CoverageEdges::GetEdges ( const geom::Geometry * coverage,
int type = 0 )
static

Returns a MultiLineString representing the unique edges of a polygonal coverage.

Parameters
coveragea GeometryCollection or MultiPolygon representing the coverage
typeselection type: 0 = ALL, 1 = EXTERIOR (non-shared), 2 = INTERIOR (shared)
Returns
a MultiLineString of unique edges

◆ GetEdges() [2/2]

std::unique_ptr< geom::Geometry > geos::coverage::CoverageEdges::GetEdges ( const std::vector< const geom::Geometry * > & coverage,
int type = 0 )
static

Returns a MultiLineString representing the unique edges of a polygonal coverage.

Parameters
coveragea vector of polygons in the coverage
typeselection type: 0 = ALL, 1 = EXTERIOR (non-shared), 2 = INTERIOR (shared)
Returns
a MultiLineString of unique edges

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