A list of the SegmentNode present along a NodedSegmentString.
More...
#include <SegmentNodeList.h>
|
using | container = decltype(nodeMap) |
|
using | iterator = container::iterator |
|
using | const_iterator = container::const_iterator |
|
A list of the SegmentNode present along a NodedSegmentString.
◆ add()
void geos::noding::SegmentNodeList::add |
( |
const geom::Coordinate & |
intPt, |
|
|
std::size_t |
segmentIndex |
|
) |
| |
Adds an intersection into the list, if it isn't already there. The input segmentIndex is expected to be normalized.
- Parameters
-
intPt | the intersection Coordinate, will be copied |
segmentIndex | |
◆ addEndpoints()
void geos::noding::SegmentNodeList::addEndpoints |
( |
| ) |
|
Adds entries for the first and last points of the edge to the list
◆ addSplitEdges()
void geos::noding::SegmentNodeList::addSplitEdges |
( |
std::vector< SegmentString * > & |
edgeList | ) |
|
Creates new edges for all the edges that the intersections in this list split the parent edge into. Adds the edges to the input list (this is so a single list can be used to accumulate all split edges for a Geometry).
◆ getSplitCoordinates()
std::vector< geom::Coordinate > geos::noding::SegmentNodeList::getSplitCoordinates |
( |
| ) |
|
Gets the list of coordinates for the fully noded segment string, including all original segment string vertices and vertices introduced by nodes in this list. Repeated coordinates are collapsed.
- Returns
- an array of Coordinates
The documentation for this class was generated from the following file: