21#include <geos/operation/polygonize/EdgeRing.h>
22#include <geos/index/strtree/TemplateSTRtree.h>
47 explicit HoleAssigner(std::vector<EdgeRing*> & shells) : m_shells(shells) {
51 void assignHolesToShells(std::vector<EdgeRing*> & holes);
52 void assignHoleToShell(
EdgeRing* holeER);
59 std::vector<EdgeRing*>& m_shells;
60 geos::index::strtree::TemplateSTRtree<EdgeRing*> m_shellIndex;
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition: Envelope.h:58
Represents a ring of PolygonizeDirectedEdge which form a ring of a polygon. The ring may be either an...
Definition: operation/polygonize/EdgeRing.h:59
Assigns hole rings to shell rings during polygonization.
Definition: HoleAssigner.h:37
static void assignHolesToShells(std::vector< EdgeRing * > &holes, std::vector< EdgeRing * > &shells)
Basic namespace for all GEOS functionalities.
Definition: geos.h:39