| OpenCV 3.4.8 Open Source Computer Vision

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

`#include <opencv2/core/types_c.h>`

## Public Member Functions
| CvBox2D (CvPoint2D32f c=CvPoint2D32f(), CvSize2D32f s=CvSize2D32f(), float a=0)
| CvBox2D (const cv::RotatedRect &rr)
| operator cv::RotatedRect () const

## Public Attributes
float | angle
CvPoint2D32f | center
CvSize2D32f | size

## Detailed Description

See also
  RotatedRect

## Constructor & Destructor Documentation

## § CvBox2D() [1/2]

CvBox2D::CvBox2D | ( | CvPoint2D32f | c = `CvPoint2D32f()`,
|  | CvSize2D32f | s = `CvSize2D32f()`,
|  | float | a = `0`
| ) |  |
| inline

## § CvBox2D() [2/2]

CvBox2D::CvBox2D | ( | const cv::RotatedRect & | rr | ) |
| inline

## Member Function Documentation

## § operator cv::RotatedRect()

CvBox2D::operator cv::RotatedRect | ( |  | ) | const
| inline

## Member Data Documentation

## § angle

float CvBox2D::angle

Angle between the horizontal axis and the first side (i.e. length) in degrees

## § center

CvPoint2D32f CvBox2D::center

Center of the box.

## § size

CvSize2D32f CvBox2D::size

Box width and length.

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

- opencv2/core/types_c.h