GEOS 3.13.1
|
Represents an intersection point between two NodedSegmentString. More...
#include <SegmentNode.h>
Public Member Functions | |
template<typename CoordType> | |
SegmentNode (const SegmentString &ss, const CoordType &nCoord, std::size_t nSegmentIndex, int nSegmentOctant) | |
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. | |
bool | isEndPoint (unsigned int maxSegmentIndex) const |
int | compareTo (const SegmentNode &other) const |
Public Attributes | |
geom::CoordinateXYZM | coord |
the point of intersection (own copy) | |
std::size_t | segmentIndex |
the index of the containing line segment in the parent edge |
Friends | |
std::ostream & | operator<< (std::ostream &os, const SegmentNode &n) |
Represents an intersection point between two NodedSegmentString.
Final class.
|
inline |
Construct a node on the given NodedSegmentString
ss | the parent NodedSegmentString |
nCoord | the coordinate of the intersection, will be copied |
nSegmentIndex | the index of the segment on parent NodedSegmentString where the Node is located. |
nSegmentOctant |
References coord, and segmentIndex.
Referenced by compareTo().
|
inline |
References geos::noding::SegmentPointComparator::compare(), coord, segmentIndex, and SegmentNode().