22 #ifndef GEOS_GEOMGRAPH_DIRECTEDEDGE_H
23 #define GEOS_GEOMGRAPH_DIRECTEDEDGE_H
25 #include <geos/export.h>
28 #include <geos/geomgraph/EdgeEnd.h>
30 #include <geos/inline.h>
64 void setInResult(
bool newIsInResult);
70 void setVisited(
bool newIsVisited);
72 void setEdgeRing(
EdgeRing *newEdgeRing);
76 void setMinEdgeRing(
EdgeRing *newMinEdgeRing);
80 int getDepth(
int position);
82 void setDepth(
int position,
int newDepth);
84 int getDepthDelta()
const;
145 std::string print()
const override;
147 std::string printEdge();
181 void computeDirectedLabel();
188 # include "geos/geomgraph/DirectedEdge.inl"
191 #endif // ifndef GEOS_GEOMGRAPH_DIRECTEDEDGE_H
Definition: geomgraph/Edge.h:66
void setEdgeDepths(int position, int newDepth)
Set both edge depths.
Definition: geomgraph/EdgeRing.h:59
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
static int depthFactor(int currLocation, int nextLocation)
Computes the factor for the change in depth when moving from one location to another....
Models the end of an edge incident on a node.
Definition: EdgeEnd.h:56
bool isLineEdge()
Tells wheter this edge is a Line.
DirectedEdge * getSym()
Each Edge gives rise to a pair of symmetric DirectedEdges, in opposite directions.
void setVisitedEdge(bool newIsVisited)
Marks both DirectedEdges attached to a given Edge.
A directed EdgeEnd.
Definition: geomgraph/DirectedEdge.h:44
bool isInteriorAreaEdge()
Tells wheter this edge is an Area.