#include <Geometry.h>
Public Member Functions | |
| const T | GetHeight () const |
| const T | GetWidth () const |
| kt_bool | operator!= (const Size2 &rOther) const |
| Size2 & | operator= (const Size2 &rOther) |
| kt_bool | operator== (const Size2 &rOther) const |
| void | SetHeight (T height) |
| void | SetWidth (T width) |
| Size2 () | |
| Size2 (T width, T height) | |
| Size2 (const Size2 &rOther) | |
| const karto::String | ToString () const |
Private Attributes | |
| T | m_Height |
| T | m_Width |
Friends | |
| KARTO_FORCEINLINE std::ostream & | operator<< (std::ostream &rStream, const Size2 &rSize) |
A 2-dimensional size (width, height)
Definition at line 43 of file Geometry.h.
|
inline |
A size with a width and height of 0
Definition at line 49 of file Geometry.h.
|
inline |
A size with the given width and height
| width | width |
| height | height |
Definition at line 60 of file Geometry.h.
|
inline |
Copy constructor
Definition at line 69 of file Geometry.h.
|
inline |
|
inline |
|
inline |
Inequality operator
Definition at line 148 of file Geometry.h.
|
inline |
Assignment operator
Definition at line 129 of file Geometry.h.
|
inline |
Equality operator
Definition at line 140 of file Geometry.h.
|
inline |
|
inline |
|
inline |
Returns a string representation of this size
Definition at line 116 of file Geometry.h.
|
friend |
Write size onto output stream
Definition at line 156 of file Geometry.h.
|
private |
Definition at line 164 of file Geometry.h.
|
private |
Definition at line 163 of file Geometry.h.