21#include <geos/export.h>
26#include <geos/algorithm/LineIntersector.h>
27#include <geos/noding/SegmentString.h>
28#include <geos/noding/Noder.h>
55 static const int MAX_ITER = 5;
60 std::vector<std::unique_ptr<SegmentString>> nodedSegStrings;
67 void node(
const std::vector<SegmentString*>& segStrings,
68 int& numInteriorIntersections,
69 geom::CoordinateXY& intersectionPoint);
99 std::vector<std::unique_ptr<SegmentString>>
102 return std::move(nodedSegStrings);
115 void computeNodes(
const std::vector<SegmentString*>& inputSegmentStrings)
override;
A LineIntersector is an algorithm that can both test whether two line segments intersect and compute ...
Definition LineIntersector.h:53
Specifies the precision model of the Coordinate in a Geometry.
Definition PrecisionModel.h:87
Nodes a set of SegmentStrings completely.
Definition IteratedNoder.h:52
void setMaximumIterations(int n)
Sets the maximum number of noding iterations performed before the noding is aborted.
Definition IteratedNoder.h:94
void computeNodes(const std::vector< SegmentString * > &inputSegmentStrings) override
Fully nodes a list of SegmentStrings, i.e. performs noding iteratively until no intersections are fou...
std::vector< std::unique_ptr< SegmentString > > getNodedSubstrings() override
Returns a collection of fully noded SegmentStrings. The SegmentStrings have the same context as their...
Definition IteratedNoder.h:100
Computes all intersections between segments in a set of SegmentString.
Definition Noder.h:44
Basic namespace for all GEOS functionalities.
Definition geos.h:38