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<SegmentString*>* nodedSegStrings;
67 void node(std::vector<SegmentString*>* segStrings,
68 int& numInteriorIntersections,
99 std::vector<SegmentString*>*
102 return nodedSegStrings;
115 void computeNodes(std::vector<SegmentString*>* inputSegmentStrings)
override;
A LineIntersector is an algorithm that can both test whether two line segments intersect and compute ...
Definition: LineIntersector.h:50
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:58
Specifies the precision model of the Coordinate in a Geometry.
Definition: PrecisionModel.h:90
Nodes a set of SegmentStrings completely.
Definition: IteratedNoder.h:52
std::vector< SegmentString * > * getNodedSubstrings() const override
Returns a collection of fully noded SegmentStrings. The SegmentStrings have the same context as their...
Definition: IteratedNoder.h:100
void setMaximumIterations(int n)
Sets the maximum number of noding iterations performed before the noding is aborted.
Definition: IteratedNoder.h:94
void computeNodes(std::vector< SegmentString * > *inputSegmentStrings) override
Fully nodes a list of SegmentStrings, i.e. peforms noding iteratively until no intersections are foun...
Computes all intersections between segments in a set of SegmentString.
Definition: Noder.h:46
Basic namespace for all GEOS functionalities.
Definition: geos.h:39