Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-12-21 15:18:11 +0300
committerConstantin Shalnev <c.shalnev@corp.mail.ru>2016-01-13 15:54:56 +0300
commit8e7b67d52564dfb3e5344750d289effe732fe0b6 (patch)
treea024206e5d3c2edd65c9ef13960d6fd6a337ea1f /geometry
parentc9ec551dd41979e70c95abd2aa9f4d5d246b2fad (diff)
Improved GPS track rendering (reducing points jittering)
Diffstat (limited to 'geometry')
-rw-r--r--geometry/spline.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/geometry/spline.hpp b/geometry/spline.hpp
index 33d8a01567..1cd5fe9496 100644
--- a/geometry/spline.hpp
+++ b/geometry/spline.hpp
@@ -28,10 +28,11 @@ public:
double GetLength() const;
double GetFullLength() const;
+ int GetIndex() const;
+
private:
friend class Spline;
double GetDistance() const;
- int GetIndex() const;
void AdvanceForward(double step);
void AdvanceBackward(double step);