OpenCV  4.0.0-pre
Open Source Computer Vision
Looking for a C++ dev who knows OpenCV?
I'm looking for work. Hire me!

#include "types_c.h"

Collaboration diagram for CvBox2D:

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
 Angle between the horizontal axis. More...
 
CvPoint2D32f center
 Center of the box. More...
 
CvSize2D32f size
 Box width and length. More...
 

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

Referenced by cvEllipseBox().

◆ center

CvPoint2D32f CvBox2D::center

Center of the box.

Referenced by cvBox2D(), and cvEllipseBox().

◆ size

CvSize2D32f CvBox2D::size

Box width and length.

Referenced by cvEllipseBox().


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