19 #ifndef GEOS_NODING_SNAPROUND_SIMPLESNAPROUNDER_H 20 #define GEOS_NODING_SNAPROUND_SIMPLESNAPROUNDER_H 22 #include <geos/export.h> 26 #include <geos/inline.h> 28 #include <geos/noding/Noder.h> 29 #include <geos/algorithm/LineIntersector.h> 30 #include <geos/geom/Coordinate.h> 31 #include <geos/geom/PrecisionModel.h> 39 class LineIntersector;
43 class NodedSegmentString;
79 std::vector<SegmentString*>* getNodedSubstrings()
const;
81 void computeNodes(std::vector<SegmentString*>* inputSegmentStrings);
92 void computeVertexSnaps(
const std::vector<SegmentString*>& edges);
99 std::vector<SegmentString*>* nodedSegStrings;
101 void checkCorrectness(std::vector<SegmentString*>& inputSegmentStrings);
103 void snapRound(std::vector<SegmentString*>* segStrings,
117 void findInteriorIntersections(std::vector<SegmentString*>& segStrings,
125 void computeSnaps(
const std::vector<SegmentString*>& segStrings,
126 std::vector<geom::Coordinate>& snapPts);
146 #endif // GEOS_NODING_SNAPROUND_SIMPLESNAPROUNDER_H Uses Snap Rounding to compute a rounded, fully noded arrangement from a set of SegmentStrings.
Definition: SimpleSnapRounder.h:73
An interface for classes which represent a sequence of contiguous line segments.
Definition: SegmentString.h:46
Represents a list of contiguous line segments, and supports noding the segments.
Definition: NodedSegmentString.h:57
Specifies the precision model of the Coordinate in a Geometry.
Definition: PrecisionModel.h:87
A LineIntersector is an algorithm that can both test whether two line segments intersect and compute ...
Definition: LineIntersector.h:49
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Computes all intersections between segments in a set of SegmentString.
Definition: Noder.h:49