22 #ifndef GEOS_GEOMGRAPH_DIRECTEDEDGE_H
23 #define GEOS_GEOMGRAPH_DIRECTEDEDGE_H
25 #include <geos/export.h>
28 #include <geos/geom/Location.h>
29 #include <geos/geomgraph/EdgeEnd.h>
31 #include <geos/inline.h>
65 void setInResult(
bool newIsInResult);
71 void setVisited(
bool newIsVisited);
73 void setEdgeRing(
EdgeRing* newEdgeRing);
77 void setMinEdgeRing(
EdgeRing* newMinEdgeRing);
81 int getDepth(
int position);
83 void setDepth(
int position,
int newDepth);
85 int getDepthDelta()
const;
146 std::string print()
const override;
148 std::string printEdge();
182 void computeDirectedLabel();
189 # include "geos/geomgraph/DirectedEdge.inl"
192 #endif // ifndef GEOS_GEOMGRAPH_DIRECTEDEDGE_H
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:58
Definition: geomgraph/Edge.h:66
void setEdgeDepths(int position, int newDepth)
Set both edge depths.
Definition: geomgraph/EdgeRing.h:60
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Models the end of an edge incident on a node.
Definition: EdgeEnd.h:56
bool isLineEdge()
Tells wheter this edge is a Line.
static int depthFactor(geom::Location currLocation, geom::Location nextLocation)
Computes the factor for the change in depth when moving from one location to another....
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:45
bool isInteriorAreaEdge()
Tells wheter this edge is an Area.