GEOS 3.14.0dev
|
Forms Polygon out of a graph of geomgraph::DirectedEdge. More...
#include <PolygonBuilder.h>
Public Member Functions | |
PolygonBuilder (const geom::GeometryFactory *newGeometryFactory) | |
void | add (geomgraph::PlanarGraph *graph) |
void | add (const std::vector< geomgraph::DirectedEdge * > *dirEdges, const std::vector< geomgraph::Node * > *nodes) |
std::vector< std::unique_ptr< geom::Geometry > > | getPolygons () |
Forms Polygon out of a graph of geomgraph::DirectedEdge.
The edges to use are marked as being in the result Area.
void geos::operation::overlay::PolygonBuilder::add | ( | const std::vector< geomgraph::DirectedEdge * > * | dirEdges, |
const std::vector< geomgraph::Node * > * | nodes | ||
) |
Add a set of edges and nodes, which form a graph. The graph is assumed to contain one or more polygons, possibly with holes.
void geos::operation::overlay::PolygonBuilder::add | ( | geomgraph::PlanarGraph * | graph | ) |
Add a complete graph. The graph is assumed to contain one or more polygons, possibly with holes.