diff options
author | Roman Sorokin <sorok-roma@yandex.ru> | 2014-08-05 12:59:54 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:23:26 +0300 |
commit | 65bbf0c6c88386f4db7cd4cc15e14a0dec53bd1a (patch) | |
tree | 96f8e266de8c510b37eb2e726a929d135b97699c /geometry/spline.hpp | |
parent | 3d9b079c2e4e64353e59acfb366e49d0e5883436 (diff) |
added method for adding point to the end of spline
Diffstat (limited to 'geometry/spline.hpp')
-rw-r--r-- | geometry/spline.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/geometry/spline.hpp b/geometry/spline.hpp index 9f1827903f..90cdf180e7 100644 --- a/geometry/spline.hpp +++ b/geometry/spline.hpp @@ -32,6 +32,7 @@ public: Spline() : m_lengthAll(0.0f) {} Spline(vector<PointF> const & path) { FromArray(path); } void FromArray(vector<PointF> const & path); + void AddPoint(PointF const & pt); Spline const & operator = (Spline const & spl); float GetLength() const { return m_lengthAll; } |