20 #ifndef GEOS_NODING_SEGMENTNODE_H
21 #define GEOS_NODING_SEGMENTNODE_H
23 #include <geos/export.h>
28 #include <geos/inline.h>
30 #include <geos/geom/Coordinate.h>
35 class NodedSegmentString;
59 friend std::ostream& operator<< (std::ostream& os,
const SegmentNode& n);
81 unsigned int nSegmentIndex,
int nSegmentOctant);
92 bool isEndPoint(
unsigned int maxSegmentIndex)
const;
106 std::ostream& operator<< (std::ostream& os,
const SegmentNode& n);
108 struct GEOS_DLL SegmentNodeLT {
109 bool operator()(SegmentNode *s1, SegmentNode *s2)
const {
110 return s1->compareTo(*s2)<0;
122 #endif // GEOS_NODING_SEGMENTNODE_H