21#include <geos/export.h>
23#include <geos/geom/Coordinate.h>
24#include <geos/geom/CoordinateSequence.h>
25#include <geos/geom/Envelope.h>
26#include <geos/noding/Noder.h>
27#include <geos/noding/SegmentString.h>
28#include <geos/noding/snap/SnappingPointIndex.h>
74 SnappingPointIndex snapIndex;
75 std::vector<std::unique_ptr<SegmentString>> nodedResult;
79 void seedSnapIndex(
const std::vector<SegmentString*>& segStrings);
81 void snapVertices(
const std::vector<SegmentString*>& segStrings, std::vector<SegmentString*>& nodedStrings);
83 std::unique_ptr<SegmentString> snapVertices(
const SegmentString* ss);
95 std::vector<std::unique_ptr<SegmentString>> snapIntersections(std::vector<SegmentString*>& inputSS);
105 : snapTolerance(p_snapTolerance)
106 , snapIndex(p_snapTolerance)
114 void computeNodes(
const std::vector<SegmentString*>& inputSegStrings)
override;
The internal representation of a list of coordinates inside a Geometry.
Definition CoordinateSequence.h:56
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition Envelope.h:59
Specifies the precision model of the Coordinate in a Geometry.
Definition PrecisionModel.h:87
Represents a list of contiguous line segments, and supports noding the segments.
Definition NodedSegmentString.h:58
An interface for classes which represent a sequence of contiguous line segments.
Definition SegmentString.h:49
SnappingNoder(double p_snapTolerance)
Definition SnappingNoder.h:104
std::vector< std::unique_ptr< SegmentString > > getNodedSubstrings() override
void computeNodes(const std::vector< SegmentString * > &inputSegStrings) override
Computes the noding for a collection of SegmentStrings.
Classes to compute nodings for arrangements of line segments and line segment sequences.
Definition CoverageCleaner.h:42
Basic namespace for all GEOS functionalities.
Definition geos.h:38