|
|
|
@ -27,7 +27,7 @@ class Point |
|
|
|
|
{ |
|
|
|
|
public: |
|
|
|
|
Point() = default; |
|
|
|
|
Point(int _x, int _y) : x(_x), y(_y) {}; |
|
|
|
|
Point(int _x, int _y) : x(_x), y(_y) {} |
|
|
|
|
|
|
|
|
|
int x = 0; |
|
|
|
|
int y = 0; |
|
|
|
@ -37,7 +37,7 @@ class Point2f |
|
|
|
|
{ |
|
|
|
|
public: |
|
|
|
|
Point2f() = default; |
|
|
|
|
Point2f(float _x, float _y) : x(_x), y(_y) {}; |
|
|
|
|
Point2f(float _x, float _y) : x(_x), y(_y) {} |
|
|
|
|
|
|
|
|
|
float x = 0.f; |
|
|
|
|
float y = 0.f; |
|
|
|
@ -47,9 +47,9 @@ class Rect |
|
|
|
|
{ |
|
|
|
|
public: |
|
|
|
|
Rect() = default; |
|
|
|
|
Rect(int _x, int _y, int _width, int _height) : x(_x), y(_y), width(_width), height(_height) {}; |
|
|
|
|
Rect(int _x, int _y, int _width, int _height) : x(_x), y(_y), width(_width), height(_height) {} |
|
|
|
|
#if !defined(GAPI_STANDALONE) |
|
|
|
|
Rect(const cv::Rect& other) : x(other.x), y(other.y), width(other.width), height(other.height) {}; |
|
|
|
|
Rect(const cv::Rect& other) : x(other.x), y(other.y), width(other.width), height(other.height) {} |
|
|
|
|
inline Rect& operator=(const cv::Rect& other) |
|
|
|
|
{ |
|
|
|
|
x = other.x; |
|
|
|
@ -104,9 +104,9 @@ class Size |
|
|
|
|
{ |
|
|
|
|
public: |
|
|
|
|
Size() = default; |
|
|
|
|
Size(int _width, int _height) : width(_width), height(_height) {}; |
|
|
|
|
Size(int _width, int _height) : width(_width), height(_height) {} |
|
|
|
|
#if !defined(GAPI_STANDALONE) |
|
|
|
|
Size(const cv::Size& other) : width(other.width), height(other.height) {}; |
|
|
|
|
Size(const cv::Size& other) : width(other.width), height(other.height) {} |
|
|
|
|
inline Size& operator=(const cv::Size& rhs) |
|
|
|
|
{ |
|
|
|
|
width = rhs.width; |
|
|
|
|