21 #include <geos/export.h>
23 #include <geos/geom/Coordinate.h>
24 #include <geos/geom/Envelope.h>
25 #include <geos/noding/snapround/HotPixelIndex.h>
26 #include <geos/noding/Noder.h>
36 class NodedSegmentString;
77 noding::snapround::HotPixelIndex pixelIndex;
78 std::vector<SegmentString*> snappedResult;
81 void snapRound(std::vector<SegmentString*>& inputSegStrings, std::vector<SegmentString*>& resultNodedSegments);
90 void addVertexPixels(std::vector<SegmentString*>& segStrings);
97 void addIntersectionPixels(std::vector<SegmentString*>& segStrings);
108 std::unique_ptr<std::vector<geom::Coordinate>> round(
const std::vector<geom::Coordinate>& pts);
117 void computeSnaps(
const std::vector<SegmentString*>& segStrings, std::vector<SegmentString*>& snapped);
154 void computeNodes(std::vector<SegmentString*>* inputSegStrings)
override;
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
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:57
Computes all intersections between segments in a set of SegmentString.
Definition: Noder.h:49
Definition: SnapRoundingNoder.h:71
std::vector< SegmentString * > * getNodedSubstrings() const override
void computeNodes(std::vector< SegmentString * > *inputSegStrings) override
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:26