19 #ifndef GEOS_NODING_SEGMENTNODE_H 20 #define GEOS_NODING_SEGMENTNODE_H 34 class NodedSegmentString;
82 size_t nSegmentIndex,
int nSegmentOctant);
97 bool isEndPoint(
unsigned int maxSegmentIndex)
const;
125 #endif // GEOS_NODING_SEGMENTNODE_H
Coordinate is the lightweight class used to store coordinates.
std::ostream & operator<<(std::ostream &os, const SegmentNode &n)
Represents a list of contiguous line segments, and supports noding the segments.
const NodedSegmentString & segString
size_t segmentIndex
the index of the containing line segment in the parent edge
geom::Coordinate coord
the point of intersection (own copy)
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.
Basic namespace for all GEOS functionalities.
bool operator()(SegmentNode *s1, SegmentNode *s2) const
Represents an intersection point between two NodedSegmentString.
int compareTo(const SegmentNode &other)