mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 12:22:51 +08:00
Merge pull request #23448 from dmatveev:dm/gapi_fix_standalone_47
G-API: Fix compilation error in Standalone mode
This commit is contained in:
commit
51f5ee6f19
@ -31,6 +31,7 @@ namespace cv {
|
|||||||
using Size = gapi::own::Size;
|
using Size = gapi::own::Size;
|
||||||
using Point = gapi::own::Point;
|
using Point = gapi::own::Point;
|
||||||
using Point2f = gapi::own::Point2f;
|
using Point2f = gapi::own::Point2f;
|
||||||
|
using Point3f = gapi::own::Point3f;
|
||||||
using Scalar = gapi::own::Scalar;
|
using Scalar = gapi::own::Scalar;
|
||||||
using Mat = gapi::own::Mat;
|
using Mat = gapi::own::Mat;
|
||||||
} // namespace cv
|
} // namespace cv
|
||||||
|
@ -43,6 +43,17 @@ public:
|
|||||||
float y = 0.f;
|
float y = 0.f;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class Point3f
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
Point3f() = default;
|
||||||
|
Point3f(float _x, float _y, float _z) : x(_x), y(_y), z(_z) {}
|
||||||
|
|
||||||
|
float x = 0.f;
|
||||||
|
float y = 0.f;
|
||||||
|
float z = 0.f;
|
||||||
|
};
|
||||||
|
|
||||||
class Rect
|
class Rect
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user