nx_metadata_sdk  1.0
Metadata SDK
rect.h
1 // Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2 
3 #pragma once
4 
5 namespace nx {
6 namespace sdk {
7 namespace analytics {
8 
9 struct Rect
10 {
11  Rect() = default;
12 
13  Rect(float x, float y, float width, float height): x(x), y(y), width(width), height(height) {}
14 
18  float x = -1;
19 
23  float y = -1;
24 
29  float width = -1;
30 
35  float height = -1;
36 };
37 
38 } // namespace analytics
39 } // namespace sdk
40 } // namespace nx
float x
Definition: rect.h:18
float width
Definition: rect.h:29
float y
Definition: rect.h:23
float height
Definition: rect.h:35
Definition: apple_utils.h:6
Definition: rect.h:9