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"
A directed EdgeEnd.
Definition: geomgraph/DirectedEdge.h:45
void setEdgeDepths(int position, int newDepth)
Set both edge depths.
void setVisitedEdge(bool newIsVisited)
bool isLineEdge()
Tells wheter this edge is a Line.
DirectedEdge * getSym()
Each Edge gives rise to a pair of symmetric DirectedEdges, in opposite directions.
static int depthFactor(geom::Location currLocation, geom::Location nextLocation)
Computes the factor for the change in depth when moving from one location to another....
bool isInteriorAreaEdge()
Tells wheter this edge is an Area.
Models the end of an edge incident on a node.
Definition: EdgeEnd.h:56
Definition: geomgraph/EdgeRing.h:60
Definition: geomgraph/Edge.h:66
Location
Constants representing the location of a point relative to a geometry.
Definition: Location.h:34
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26