19 #ifndef GEOS_SIMPLIFY_DOUBGLASPEUCKERLINESIMPLIFIER_H 20 #define GEOS_SIMPLIFY_DOUBGLASPEUCKERLINESIMPLIFIER_H 28 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class 60 static CoordsVectAutoPtr simplify(
61 const CoordsVect& nPts,
62 double distanceTolerance);
74 void setDistanceTolerance(
double nDistanceTolerance);
80 CoordsVectAutoPtr simplify();
84 const CoordsVect&
pts;
88 void simplifySection(std::size_t i, std::size_t j);
102 #endif // GEOS_SIMPLIFY_DOUBGLASPEUCKERLINESIMPLIFIER_H Simplifies a linestring (sequence of points) using the standard Douglas-Peucker algorithm.
std::unique_ptr< BoolVect > BoolVectAutoPtr
std::vector< short int > BoolVect
std::unique_ptr< CoordsVect > CoordsVectAutoPtr
Basic namespace for all GEOS functionalities.
std::vector< geom::Coordinate > CoordsVect