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>
45class GEOS_DLL SegmentNode {
54 SegmentNode(
const SegmentNode& other);
55 SegmentNode& operator=(
const SegmentNode& rhs);
58 friend std::ostream& operator<< (std::ostream& os,
const SegmentNode& n);
80 unsigned int nSegmentIndex,
int nSegmentOctant);
91 bool isEndPoint(
unsigned int maxSegmentIndex)
const;
105std::ostream& operator<< (std::ostream& os,
const SegmentNode& n);
107struct 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:58
Represents an intersection point between two NodedSegmentString.
Definition SegmentNode.h:45
SegmentNode(const NodedSegmentString &ss, const geom::Coordinate &nCoord, unsigned int nSegmentIndex, int nSegmentOctant)
Construct a node on the given NodedSegmentString.
geom::Coordinate coord
the point of intersection (own copy)
Definition SegmentNode.h:61
bool isInterior() const
Return true if this Node is internal (not on the boundary) of the corresponding segment....
Definition SegmentNode.h:89
unsigned int segmentIndex
the index of the containing line segment in the parent edge
Definition SegmentNode.h:64
int compareTo(const SegmentNode &other)
Classes to compute nodings for arrangements of line segments and line segment sequences.
Definition PreparedLineString.h:27
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25