16 #ifndef GEOS_PLANARGRAPH_DIRECTEDEDGE_H
17 #define GEOS_PLANARGRAPH_DIRECTEDEDGE_H
19 #include <geos/export.h>
20 #include <geos/planargraph/GraphComponent.h>
21 #include <geos/geom/Coordinate.h>
28 namespace planargraph {
35 namespace planargraph {
52 typedef std::list<DirectedEdge *> NonConstList;
53 typedef std::list<const DirectedEdge *> ConstList;
54 typedef std::vector<DirectedEdge *> NonConstVect;
67 typedef std::vector<const DirectedEdge *> ConstVect;
68 typedef std::vector<DirectedEdge *> Vect;
79 static std::vector<Edge*>* toEdges(
80 std::vector<DirectedEdge*>& dirEdges);
90 static void toEdges( std::vector<DirectedEdge*>& dirEdges,
91 std::vector<Edge*>& parentEdges);
107 bool newEdgeDirection);
113 Edge* getEdge()
const;
119 void setEdge(
Edge* newParentEdge);
125 int getQuadrant()
const;
137 bool getEdgeDirection()
const;
142 Node* getFromNode()
const;
147 Node* getToNode()
const;
160 double getAngle()
const;
223 std::string print()
const;
237 #endif // GEOS_PLANARGRAPH_DIRECTEDEDGE_H