GEOS
3.9.1dev
|
A ring of Edges with the property that no node has degree greater than 2. More...
#include <MinimalEdgeRing.h>
Public Member Functions | |
MinimalEdgeRing (geomgraph::DirectedEdge *start, const geom::GeometryFactory *geometryFactory) | |
~MinimalEdgeRing () override | |
geomgraph::DirectedEdge * | getNext (geomgraph::DirectedEdge *de) override |
void | setEdgeRing (geomgraph::DirectedEdge *de, geomgraph::EdgeRing *er) override |
![]() | |
EdgeRing (DirectedEdge *newStart, const geom::GeometryFactory *newGeometryFactory) | |
virtual | ~EdgeRing ()=default |
bool | isIsolated () |
bool | isHole () |
geom::LinearRing * | getLinearRing () |
Label & | getLabel () |
bool | isShell () |
EdgeRing * | getShell () |
void | setShell (EdgeRing *newShell) |
void | addHole (EdgeRing *edgeRing) |
std::unique_ptr< geom::Polygon > | toPolygon (const geom::GeometryFactory *geometryFactory) |
void | computeRing () |
std::vector< DirectedEdge * > & | getEdges () |
int | getMaxNodeDegree () |
void | setInResult () |
bool | containsPoint (const geom::Coordinate &p) |
void | testInvariant () const |
Additional Inherited Members | |
![]() | |
void | computePoints (DirectedEdge *newStart) |
void | mergeLabel (const Label &deLabel) |
void | mergeLabel (const Label &deLabel, int geomIndex) |
Merge the RHS label from a DirectedEdge into the label for this EdgeRing. More... | |
void | addPoints (Edge *edge, bool isForward, bool isFirstEdge) |
![]() | |
DirectedEdge * | startDe |
const geom::GeometryFactory * | geometryFactory |
std::vector< std::unique_ptr< EdgeRing > > | holes |
a list of EdgeRings which are holes in this EdgeRing More... | |
A ring of Edges with the property that no node has degree greater than 2.
These are the form of rings required to represent polygons under the OGC SFS spatial data model.
Definition at line 56 of file MinimalEdgeRing.h.
geos::operation::overlay::MinimalEdgeRing::MinimalEdgeRing | ( | geomgraph::DirectedEdge * | start, |
const geom::GeometryFactory * | geometryFactory | ||
) |
|
override |
|
overridevirtual |
Implements geos::geomgraph::EdgeRing.
|
overridevirtual |
Implements geos::geomgraph::EdgeRing.