3DiVi Face SDK  3.24.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
Rectangle.h
1 #ifndef __PBIO_API__PBIO__RECTANGLE_H_4b09c81da6d04740b80cbd2a1f3a3313
2 #define __PBIO_API__PBIO__RECTANGLE_H_4b09c81da6d04740b80cbd2a1f3a3313
3 
4 
5 namespace pbio
6 {
12  struct Rectangle
13  {
20 
26  Rectangle(int x, int y, int width, int height):x(x), y(y), width(width), height(height) { }
27 
33  int x;
34 
40  int y;
41 
47  int width;
48 
54  int height;
55  };
56 } // pbio namespace
57 
58 
59 #endif // __PBIO_API__PBIO__RECTANGLE_H_4b09c81da6d04740b80cbd2a1f3a3313
int width
Width of the rectangle.
Definition: Rectangle.h:47
int x
X coordinate of the top-left corner.
Definition: Rectangle.h:33
Rectangle(int x, int y, int width, int height)
Constructor.
Definition: Rectangle.h:26
int height
Height of the rectangle.
Definition: Rectangle.h:54
Rectangle in an image.
Definition: Rectangle.h:12
Rectangle()
Default constructor.
Definition: Rectangle.h:19
int y
Y coordinate of the top-left corner.
Definition: Rectangle.h:40