From 720241de87a52e7c96e15d53f4dcc21650a276c5 Mon Sep 17 00:00:00 2001 From: shawke Date: Tue, 24 Sep 2013 11:48:04 +0200 Subject: [PATCH] Make similar default typedefs for Point_, Size_ and Rect_ Currently, there are different default typedefs for Point_, Size_, and Rect_. This pull request at least makes sure that default typedefs exist for int, float and double variants of each of these types. --- modules/core/include/opencv2/core/types.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/core/include/opencv2/core/types.hpp b/modules/core/include/opencv2/core/types.hpp index 9252cad14a..e2b49749e8 100644 --- a/modules/core/include/opencv2/core/types.hpp +++ b/modules/core/include/opencv2/core/types.hpp @@ -282,6 +282,7 @@ public: */ typedef Size_ Size2i; typedef Size_ Size2f; +typedef Size_ Size2d; typedef Size2i Size; /*! @@ -349,7 +350,10 @@ public: /*! \typedef */ -typedef Rect_ Rect; +typedef Rect_ Rect2i; +typedef Rect_ Rect2f; +typedef Rect_ Rect2d; +typedef Rect2i Rect; /*! traits