use integer approximation for polyline generalization

This commit is contained in:
Dennis Luxen
2014-05-30 14:34:04 +02:00
parent 21eb5b661d
commit f3ad14cb7f
2 changed files with 28 additions and 34 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ struct SegmentInformation;
class DouglasPeucker
{
private:
std::vector<float> douglas_peucker_thresholds;
std::vector<int> douglas_peucker_thresholds;
typedef std::pair<unsigned, unsigned> GeometryRange;
// Stack to simulate the recursion