OpenCV  4.5.1
Open Source Computer Vision
Public Member Functions | Public Attributes | List of all members
cv::gapi::own::Rect Class Reference

#include <opencv2/gapi/own/types.hpp>

Public Member Functions

 Rect ()=default
 
 Rect (int _x, int _y, int _width, int _height)
 
 Rect (const cv::Rect &other)
 
Rectoperator= (const cv::Rect &other)
 

Public Attributes

int height = 0
 height of the rectangle More...
 
int width = 0
 width of the rectangle More...
 
int x = 0
 x coordinate of the top-left corner More...
 
int y = 0
 y coordinate of the top-left corner More...
 

Constructor & Destructor Documentation

◆ Rect() [1/3]

cv::gapi::own::Rect::Rect ( )
default

◆ Rect() [2/3]

cv::gapi::own::Rect::Rect ( int  _x,
int  _y,
int  _width,
int  _height 
)
inline

◆ Rect() [3/3]

cv::gapi::own::Rect::Rect ( const cv::Rect other)
inline

Member Function Documentation

◆ operator=()

Rect& cv::gapi::own::Rect::operator= ( const cv::Rect other)
inline

Member Data Documentation

◆ height

int cv::gapi::own::Rect::height = 0

height of the rectangle

◆ width

int cv::gapi::own::Rect::width = 0

width of the rectangle

◆ x

int cv::gapi::own::Rect::x = 0

x coordinate of the top-left corner

◆ y

int cv::gapi::own::Rect::y = 0

y coordinate of the top-left corner


The documentation for this class was generated from the following file: