GEOS 3.11.1
Public Member Functions | List of all members
geos::operation::overlay::MinimalEdgeRing Class Reference

A ring of Edges with the property that no node has degree greater than 2. More...

#include <MinimalEdgeRing.h>

Inheritance diagram for geos::operation::overlay::MinimalEdgeRing:
geos::geomgraph::EdgeRing

Public Member Functions

 MinimalEdgeRing (geomgraph::DirectedEdge *start, const geom::GeometryFactory *geometryFactory)
 
geomgraph::DirectedEdgegetNext (geomgraph::DirectedEdge *de) override
 
void setEdgeRing (geomgraph::DirectedEdge *de, geomgraph::EdgeRing *er) override
 
- Public Member Functions inherited from geos::geomgraph::EdgeRing
 EdgeRing (DirectedEdge *newStart, const geom::GeometryFactory *newGeometryFactory)
 
bool isIsolated ()
 
bool isHole ()
 
geom::LinearRinggetLinearRing ()
 
LabelgetLabel ()
 
bool isShell ()
 
EdgeRinggetShell ()
 
void setShell (EdgeRing *newShell)
 
void addHole (EdgeRing *edgeRing)
 
std::unique_ptr< geom::PolygontoPolygon (const geom::GeometryFactory *geometryFactory)
 
void computeRing ()
 
virtual DirectedEdgegetNext (DirectedEdge *de)=0
 
virtual void setEdgeRing (DirectedEdge *de, EdgeRing *er)=0
 
std::vector< DirectedEdge * > & getEdges ()
 
int getMaxNodeDegree ()
 
void setInResult ()
 
bool containsPoint (const geom::Coordinate &p)
 
void testInvariant () const
 

Additional Inherited Members

- Protected Member Functions inherited from geos::geomgraph::EdgeRing
void computePoints (DirectedEdge *newStart)
 
void mergeLabel (const Label &deLabel)
 
void mergeLabel (const Label &deLabel, uint8_t geomIndex)
 Merge the RHS label from a DirectedEdge into the label for this EdgeRing. More...
 
void addPoints (Edge *edge, bool isForward, bool isFirstEdge)
 
- Protected Attributes inherited from geos::geomgraph::EdgeRing
DirectedEdgestartDe
 
const geom::GeometryFactorygeometryFactory
 
std::vector< std::unique_ptr< EdgeRing > > holes
 a list of EdgeRings which are holes in this EdgeRing
 

Detailed Description

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.

See also
operation::overlay::MaximalEdgeRing

Member Function Documentation

◆ getNext()

geomgraph::DirectedEdge * geos::operation::overlay::MinimalEdgeRing::getNext ( geomgraph::DirectedEdge de)
inlineoverridevirtual

◆ setEdgeRing()

void geos::operation::overlay::MinimalEdgeRing::setEdgeRing ( geomgraph::DirectedEdge de,
geomgraph::EdgeRing er 
)
inlineoverridevirtual

The documentation for this class was generated from the following file: