#include <core.hpp>
Public Types | |
| typedef _Tp | value_type |
Public Member Functions | |
| Size_ () | |
| various constructors More... | |
| 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) More... | |
| template<typename _Tp2 > | |
| operator Size_< _Tp2 > () const | |
| conversion of another data type. More... | |
| operator CvSize () const | |
| conversion to the old-style OpenCV types More... | |
| 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 |
|
inline |
|
inline |
the area (width*height)
conversion to the old-style OpenCV types
|
inline |
|
inline |
conversion of another data type.
|
inline |
| _Tp cv::Size_< _Tp >::height |
| _Tp cv::Size_< _Tp >::width |