21 #ifndef GEOS_OP_POLYGONIZE_POLYGONIZEGRAPH_H
22 #define GEOS_OP_POLYGONIZE_POLYGONIZEGRAPH_H
24 #include <geos/export.h>
26 #include <geos/planargraph/PlanarGraph.h>
32 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
39 class GeometryFactory;
41 class CoordinateSequence;
43 namespace planargraph {
49 namespace polygonize {
51 class PolygonizeDirectedEdge;
58 namespace polygonize {
107 void getEdgeRings(std::vector<EdgeRing*>& edgeRingList);
118 void deleteCutEdges(std::vector<const geom::LineString*> &cutLines);
132 void deleteDangles(std::vector<const geom::LineString*> &dangleLines);
144 void computeNextCWEdges();
155 void convertMaximalToMinimalEdgeRings(
156 std::vector<PolygonizeDirectedEdge*> &ringEdges);
169 long label, std::vector<planargraph::Node*>& intNodes
181 static void findLabeledEdgeRings(
182 std::vector<planargraph::DirectedEdge*> &dirEdgesIn,
183 std::vector<PolygonizeDirectedEdge*> &dirEdgesOut);
185 static void label(std::vector<planargraph::DirectedEdge*> &dirEdges,
long label);
209 std::vector<planargraph::DirectedEdge*>& edgesInRing);
214 std::vector<planargraph::Edge *> newEdges;
215 std::vector<planargraph::DirectedEdge *> newDirEdges;
216 std::vector<planargraph::Node *> newNodes;
217 std::vector<EdgeRing *> newEdgeRings;
218 std::vector<geom::CoordinateSequence *> newCoords;
229 #endif // GEOS_OP_POLYGONIZE_POLYGONIZEGRAPH_H