struct CvRect

See also:

Rect_

#include <types_c.h>

struct CvRect
{
    // fields

    int height;
    int width;
    int x;
    int y;

    // construction

    CvRect(
        int _x = 0,
        int _y = 0,
        int w = 0,
        int h = 0
        );

    template <typename _Tp>
    CvRect(const cv::Rect_<_Tp>& r);

    // methods

    template <typename _Tp>
    operator cv::Rect_< _Tp >() const;
};