19 #ifndef GEOS_NODING_SEGMENTNODE_H
20 #define GEOS_NODING_SEGMENTNODE_H
22 #include <geos/export.h>
27 #include <geos/inline.h>
29 #include <geos/geom/Coordinate.h>
34 class NodedSegmentString;
60 friend std::ostream& operator<< (std::ostream& os,
const SegmentNode& n);
82 size_t nSegmentIndex,
int nSegmentOctant);
97 bool isEndPoint(
unsigned int maxSegmentIndex)
const;
111 std::ostream& operator<< (std::ostream& os,
const SegmentNode& n);
113 struct GEOS_DLL SegmentNodeLT {
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
Represents a list of contiguous line segments, and supports noding the segments.
Definition: NodedSegmentString.h:57
Represents an intersection point between two NodedSegmentString.
Definition: SegmentNode.h:47
size_t segmentIndex
the index of the containing line segment in the parent edge
Definition: SegmentNode.h:66
geom::Coordinate coord
the point of intersection (own copy)
Definition: SegmentNode.h:63
SegmentNode(const NodedSegmentString &ss, const geom::Coordinate &nCoord, size_t nSegmentIndex, int nSegmentOctant)
bool isInterior() const
Return true if this Node is internal (not on the boundary) of the corresponding segment....
Definition: SegmentNode.h:92
int compareTo(const SegmentNode &other)
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26