24 #include <geos/export.h>
25 #include <geos/geomgraph/Label.h>
26 #include <geos/geom/CoordinateSequence.h>
27 #include <geos/geom/LinearRing.h>
36 #pragma warning(disable: 4251)
42 class GeometryFactory;
60 friend std::ostream& operator<< (std::ostream& os,
const EdgeRing& er);
110 int getMaxNodeDegree();
121 testInvariant()
const
131 for(
const auto& hole : holes) {
133 assert(hole->getShell() ==
this);
141 DirectedEdge* startDe;
143 const geom::GeometryFactory* geometryFactory;
148 void mergeLabel(
const Label& deLabel);
164 void addPoints(
Edge* edge,
bool isForward,
bool isFirstEdge);
167 std::vector<std::unique_ptr<EdgeRing>>
holes;
174 std::vector<DirectedEdge*> edges;
182 std::unique_ptr<geom::LinearRing> ring;
189 void computeMaxNodeDegree();
193 std::ostream& operator<< (std::ostream& os,
const EdgeRing& er);
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:56
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:217
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:70
Models an OGC SFS LinearRing. A LinearRing is a LineString which is both closed and simple.
Definition: LinearRing.h:54
A directed EdgeEnd.
Definition: geomgraph/DirectedEdge.h:42
Definition: geomgraph/EdgeRing.h:57
bool containsPoint(const geom::Coordinate &p)
std::vector< std::unique_ptr< EdgeRing > > holes
a list of EdgeRings which are holes in this EdgeRing
Definition: geomgraph/EdgeRing.h:167
void mergeLabel(const Label &deLabel, uint8_t geomIndex)
Merge the RHS label from a DirectedEdge into the label for this EdgeRing.
std::unique_ptr< geom::Polygon > toPolygon(const geom::GeometryFactory *geometryFactory)
void computePoints(DirectedEdge *newStart)
std::vector< DirectedEdge * > & getEdges()
geom::LinearRing * getLinearRing()
Definition: geomgraph/Edge.h:63
A Label indicates the topological relationship of a component of a topology graph to a given Geometry...
Definition: Label.h:57
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25