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:
authorvng <viktor.govako@gmail.com>2012-10-08 23:01:22 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:44:56 +0300
commit3125761515b94316c3131c1ad4b7f00e9a51a397 (patch)
tree5f6c721175e71d4561cf51723b45502890275375 /geometry
parent8591a16f06e00e1a0874608eb50b9a13b6635b61 (diff)
Add Framework::ShowRectEx… functions with (consider screen rotation and zoom visibility).
Diffstat (limited to 'geometry')
-rw-r--r--geometry/any_rect2d.hpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/geometry/any_rect2d.hpp b/geometry/any_rect2d.hpp
index dcf1f2ecdf..c81a34ac38 100644
--- a/geometry/any_rect2d.hpp
+++ b/geometry/any_rect2d.hpp
@@ -14,16 +14,17 @@ namespace m2
class AnyRect
{
ang::Angle<T> m_angle;
+
+ /// @todo No need to store orthos separately. They are stored in m_angle.
Point<T> m_i;
Point<T> m_j;
+
Point<T> m_zero;
Rect<T> m_rect;
- Point<T> const Convert(Point<T> const & p,
- Point<T> const & fromI,
- Point<T> const & fromJ,
- Point<T> const & toI,
- Point<T> const & toJ) const
+ static Point<T> const Convert(Point<T> const & p,
+ Point<T> const & fromI, Point<T> const & fromJ,
+ Point<T> const & toI, Point<T> const & toJ)
{
Point<T> res;