19 #ifndef GEOS_OP_BUFFER_BUFFERINPUTLINESIMPLIFIER_H
20 #define GEOS_OP_BUFFER_BUFFERINPUTLINESIMPLIFIER_H
22 #include <geos/geom/CoordinateSequence.h>
23 #include <geos/algorithm/CGAlgorithms.h>
32 class CoordinateSequence;
90 static std::auto_ptr<geom::CoordinateSequence>
simplify(
105 std::auto_ptr<geom::CoordinateSequence>
simplify(
double distanceTol);
115 bool deleteShallowConcavities();
125 unsigned int findNextNonDeletedIndex(
unsigned int index)
const;
127 std::auto_ptr<geom::CoordinateSequence> collapseLine()
const;
129 bool isDeletable(
int i0,
int i1,
int i2,
double distanceTol)
const;
134 double distanceTol)
const;
151 int i0,
int i2,
double distanceTol)
const;
156 double distanceTol)
const;
162 static const int NUM_PTS_TO_CHECK = 10;
164 static const int INIT = 0;
165 static const int DELETE = 1;
166 static const int KEEP = 1;
170 std::vector<int> isDeleted;
172 int angleOrientation;
185 #endif // ndef GEOS_OP_BUFFER_BUFFERINPUTLINESIMPLIFIER_H
Coordinate is the lightweight class used to store coordinates.
Definition: Coordinate.h:60
The internal representation of a list of coordinates inside a Geometry.
Definition: CoordinateSequence.h:59