The 2D size class. More...
#include <core.hpp>
Public Types | |
| typedef _Tp | value_type |
Public Member Functions | |
| Size_ () | |
| various constructors | |
| Size_ (_Tp _width, _Tp _height) | |
| Size_ (const Size_ &sz) | |
| Size_ (const CvSize &sz) | |
| Size_ (const CvSize2D32f &sz) | |
| Size_ (const Point_< _Tp > &pt) | |
| Size_ & | operator= (const Size_ &sz) |
| _Tp | area () const |
| the area (width*height) | |
| template<typename _Tp2 > | |
| operator Size_< _Tp2 > () const | |
| conversion of another data type. | |
| operator CvSize () const | |
| conversion to the old-style OpenCV types | |
| operator CvSize2D32f () const | |
Public Attributes | |
| _Tp | width |
| _Tp | height |
The 2D size class.
The class represents the size of a 2D rectangle, image size, matrix size etc. Normally, cv::Size ~ cv::Size_<int> is used.
| typedef _Tp cv::Size_< _Tp >::value_type |
| cv::Size_< _Tp >::Size_ | ( | const CvSize2D32f & | sz | ) |
conversion of another data type.
conversion to the old-style OpenCV types
| cv::Size_< _Tp >::operator CvSize2D32f | ( | ) | const |