opencv 2.2.0
|
#include <core.hpp>
Public Types | |
typedef _Tp | value_type |
Public Member Functions | |
_Tp | area () const |
the area (width*height) | |
operator CvSize () const | |
conversion to the old-style OpenCV types | |
operator CvSize2D32f () const | |
template<typename _Tp2 > | |
operator Size_< _Tp2 > () const | |
conversion of another data type. | |
Size_ & | operator= (const Size_ &sz) |
Size_ (const Size_ &sz) | |
Size_ (const Point_< _Tp > &pt) | |
Size_ (const CvSize2D32f &sz) | |
Size_ (_Tp _width, _Tp _height) | |
Size_ () | |
various constructors | |
Size_ (const CvSize &sz) | |
Public Attributes | |
_Tp | height |
_Tp | width |
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 | ) | [inline] |
_Tp cv::Size_< _Tp >::area | ( | ) | const [inline] |
the area (width*height)
conversion to the old-style OpenCV types
cv::Size_< _Tp >::operator CvSize2D32f | ( | ) | const [inline] |
cv::Size_< _Tp >::operator Size_< _Tp2 > | ( | ) | const [inline] |
conversion of another data type.
Size_< _Tp > & cv::Size_< _Tp >::operator= | ( | const Size_< _Tp > & | sz | ) | [inline] |