| OpenCV 3.4.3 Open Source Computer Vision

Public Member Functions | Public Attributes | List of all members
CvRect Struct Reference
Core functionality » C structures and operations

`#include "types_c.h"`

## Public Member Functions
| CvRect (int _x=0, int _y=0, int w=0, int h=0)
template<typename _Tp >
| CvRect (const cv::Rect_< _Tp > &r)
template<typename _Tp >
| operator cv::Rect_< _Tp > () const

## Public Attributes
int | height
int | width
int | x
int | y

## Detailed Description

See also
  Rect_

## Constructor & Destructor Documentation

## § CvRect() [1/2]

CvRect::CvRect | ( | int | _x = `0`,
|  | int | _y = `0`,
|  | int | w = `0`,
|  | int | h = `0`
| ) |  |
| inline

## § CvRect() [2/2]

template<typename _Tp >

CvRect::CvRect | ( | const cv::Rect_< _Tp > & | r | ) |
| inline

## Member Function Documentation

## § operator cv::Rect_< _Tp >()

template<typename _Tp >

CvRect::operator cv::Rect_< _Tp > | ( |  | ) | const
| inline

## Member Data Documentation

## § height

int CvRect::height

## § width

int CvRect::width

## § x

int CvRect::x

## § y

int CvRect::y

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

- core/include/opencv2/core/types_c.h