26 #include <geos/export.h>
33 #pragma warning(disable: 4251)
39 class LineIntersector;
42 class CoordinateSequence;
47 class TaggedLineSegment;
48 class TaggedLineString;
49 class LineSegmentIndex;
50 class ComponentJumpChecker;
72 LineSegmentIndex* outputIndex,
73 const ComponentJumpChecker* jumpChecker);
88 LineSegmentIndex* inputIndex;
91 LineSegmentIndex* outputIndex;
93 const ComponentJumpChecker* jumpChecker;
95 std::unique_ptr<algorithm::LineIntersector> li;
102 void simplifySection(std::size_t i, std::size_t j, std::size_t depth,
double distanceTolerance);
104 void simplifyRingEndpoint(
double distanceTolerance);
106 static std::size_t findFurthestPoint(
108 std::size_t i, std::size_t j,
109 double& maxDistance);
111 bool isTopologyValid(
113 std::size_t sectionStart, std::size_t sectionEnd,
116 bool isTopologyValid(
121 bool hasInputIntersection(
const LineSegment& flatSeg);
123 bool hasInputIntersection(
125 std::size_t excludeStart, std::size_t excludeEnd,
130 bool hasOutputIntersection(
const LineSegment& flatSeg);
132 bool hasInvalidIntersection(
137 std::unique_ptr<TaggedLineSegment> flatten(
138 std::size_t start, std::size_t end);
152 static bool isInLineSection(
154 const std::size_t excludeStart,
const std::size_t excludeEnd,
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:56
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:217
Definition: LineSegment.h:61
A geom::LineSegment which is tagged with its location in a geom::Geometry.
Definition: TaggedLineSegment.h:53
Simplifies a TaggedLineString, preserving topology (in the sense that no new intersections are introd...
Definition: TaggedLineStringSimplifier.h:64
void simplify(TaggedLineString *line, double distanceTolerance)
Contains and owns a list of TaggedLineSegments.
Definition: TaggedLineString.h:57
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25