diff options
Diffstat (limited to 'geometry')
-rw-r--r-- | geometry/screenbase.cpp | 6 | ||||
-rw-r--r-- | geometry/screenbase.hpp | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/geometry/screenbase.cpp b/geometry/screenbase.cpp index 7966cafee3..0753090f0c 100644 --- a/geometry/screenbase.cpp +++ b/geometry/screenbase.cpp @@ -161,6 +161,12 @@ double ScreenBase::GetAngle() const return m_Angle.val(); } +void ScreenBase::SetAngle(double angle) +{ + m_Angle = ang::AngleD(angle); + UpdateDependentParameters(); +} + m2::PointD const & ScreenBase::GetOrg() const { return m_Org; diff --git a/geometry/screenbase.hpp b/geometry/screenbase.hpp index ca380f320d..0f90a4769e 100644 --- a/geometry/screenbase.hpp +++ b/geometry/screenbase.hpp @@ -61,7 +61,9 @@ public: public: double GetScale() const; + double GetAngle() const; + void SetAngle(double angle); m2::PointD const & GetOrg() const; |