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
unsigned int segmentIndex
the index of the containing line segment in the parent edge
Definition: SegmentNode.h:65
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:61
Represents a list of contiguous line segments, and supports noding the segments.
Definition: NodedSegmentString.h:58
geom::Coordinate coord
the point of intersection (own copy)
Definition: SegmentNode.h:62
bool isInterior() const
Return true if this Node is internal (not on the boundary) of the corresponding segment. Currently only the first segment endpoint is checked, actually.
Definition: SegmentNode.h:90
Represents an intersection point between two NodedSegmentString.
Definition: SegmentNode.h:46