cvedia::rt::Size_¶
Public Types¶
| Name | |
|---|---|
| typedef Tp | value_type |
Public Functions¶
| Name | |
|---|---|
| Size_() default constructor |
|
| Size_(Tp _width, Tp _height) | |
| Size_(Size_ const & sz) =default | |
| Size_(Point_< Tp > const & pt) | |
| Size_ & | operator=(Size_ const & sz) |
| Tp | area() const the area (width*height) |
| bool | empty() const true if empty |
| template <typename Tp2 > |
operator Size_< Tp2 >() const conversion of another data type. |
Public Attributes¶
| Name | |
|---|---|
| Tp | width the width |
| Tp | height the height |
Detailed Description¶
template <typename Tp >
class cvedia::rt::Size_;
Public Types Documentation¶
typedef value_type¶
typedef Tp value_type;
Public Functions Documentation¶
function Size_¶
inline Size_()
default constructor
function Size_¶
inline Size_(
Tp _width,
Tp _height
)
function Size_¶
Size_(
Size_ const & sz
) =default
function Size_¶
Size_(
Point_< Tp > const & pt
)
function operator=¶
inline Size_ & operator=(
Size_ const & sz
)
function area¶
inline Tp area() const
the area (width*height)
function empty¶
inline bool empty() const
true if empty
function operator Size_< Tp2 >¶
template <typename Tp2 >
operator Size_< Tp2 >() const
conversion of another data type.
Public Attributes Documentation¶
variable width¶
Tp width;
the width
variable height¶
Tp height;
the height