22 #ifndef GEOS_GEOMGRAPH_EDGEEND_H
23 #define GEOS_GEOMGRAPH_EDGEEND_H
25 #include <geos/export.h>
26 #include <geos/geom/Coordinate.h>
27 #include <geos/inline.h>
34 class BoundaryNodeRule;
60 friend std::ostream& operator<< (std::ostream&,
const EdgeEnd&);
75 Label* newLabel=NULL);
77 Edge* getEdge() {
return edge; }
80 virtual Label* getLabel();
86 virtual int getQuadrant();
88 virtual double getDx();
90 virtual double getDy();
92 virtual void setNode(Node* newNode);
94 virtual Node* getNode();
96 virtual int compareTo(
const EdgeEnd *e)
const;
114 virtual int compareDirection(
const EdgeEnd *e)
const;
118 virtual std::string print();
145 std::ostream& operator<< (std::ostream&,
const EdgeEnd&);
147 struct GEOS_DLL EdgeEndLT {
149 return s1->compareTo(s2)<0;
160 #endif // ifndef GEOS_GEOMGRAPH_EDGEEND_H