diff options
Diffstat (limited to 'geometry/spline.hpp')
-rw-r--r-- | geometry/spline.hpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/geometry/spline.hpp b/geometry/spline.hpp index d313968ae3..12c5c77e79 100644 --- a/geometry/spline.hpp +++ b/geometry/spline.hpp @@ -17,10 +17,13 @@ public: PointD m_pos; PointD m_dir; PointD m_avrDir; + iterator(); + iterator(iterator const & other); + iterator & operator=(iterator const & other); + void Attach(Spline const & spl); - void Step(double speed); - void StepBack(double speed); + void Advance(double step); bool BeginAgain() const; double GetLength() const; double GetFullLength() const; @@ -30,6 +33,9 @@ public: double GetDistance() const; int GetIndex() const; + void AdvanceForward(double step); + void AdvanceBackward(double step); + private: bool m_checker; Spline const * m_spl; |