#include <Geometry.h>
Public Member Functions | |
T | GetDepth () const |
T | GetHeight () const |
T | GetWidth () const |
kt_bool | operator!= (const Size3 &rOther) const |
Size3 & | operator= (const Size3 &rOther) |
kt_bool | operator== (const Size3 &rOther) const |
void | SetDepth (T depth) |
void | SetHeight (T height) |
void | SetWidth (T width) |
Size3 () | |
Size3 (T width, T height, T depth) | |
Size3 (const Size3 &rOther) | |
const karto::String | ToString () const |
Private Attributes | |
T | m_Depth |
T | m_Height |
T | m_Width |
A 3-dimensional size (width, height, depth)
Definition at line 175 of file Geometry.h.
karto::Size3< T >::Size3 | ( | ) | [inline] |
A size with a width, height, and depth of 0
Definition at line 181 of file Geometry.h.
karto::Size3< T >::Size3 | ( | T | width, |
T | height, | ||
T | depth | ||
) | [inline] |
A size with the given width, height, and depth
width | width |
height | height |
depth | depth |
Definition at line 194 of file Geometry.h.
karto::Size3< T >::Size3 | ( | const Size3< T > & | rOther | ) | [inline] |
Copy constructor
Definition at line 204 of file Geometry.h.
T karto::Size3< T >::GetDepth | ( | ) | const [inline] |
T karto::Size3< T >::GetHeight | ( | ) | const [inline] |
T karto::Size3< T >::GetWidth | ( | ) | const [inline] |
kt_bool karto::Size3< T >::operator!= | ( | const Size3< T > & | rOther | ) | const [inline] |
Inequality operator
Definition at line 304 of file Geometry.h.
Size3& karto::Size3< T >::operator= | ( | const Size3< T > & | rOther | ) | [inline] |
Assignment operator
Definition at line 284 of file Geometry.h.
kt_bool karto::Size3< T >::operator== | ( | const Size3< T > & | rOther | ) | const [inline] |
Equality operator
Definition at line 296 of file Geometry.h.
void karto::Size3< T >::SetDepth | ( | T | depth | ) | [inline] |
void karto::Size3< T >::SetHeight | ( | T | height | ) | [inline] |
void karto::Size3< T >::SetWidth | ( | T | width | ) | [inline] |
const karto::String karto::Size3< T >::ToString | ( | ) | const [inline] |
Returns a string representation of this size object
Definition at line 269 of file Geometry.h.
T karto::Size3< T >::m_Depth [private] |
Definition at line 312 of file Geometry.h.
T karto::Size3< T >::m_Height [private] |
Definition at line 311 of file Geometry.h.
T karto::Size3< T >::m_Width [private] |
Definition at line 310 of file Geometry.h.