Public Member Functions | Private Attributes
karto::Size3< T > Class Template Reference

#include <Geometry.h>

List of all members.

Public Member Functions

T GetDepth () const
T GetHeight () const
T GetWidth () const
kt_bool operator!= (const Size3 &rOther) const
Size3operator= (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

Detailed Description

template<typename T>
class karto::Size3< T >

A 3-dimensional size (width, height, depth)

Definition at line 175 of file Geometry.h.


Constructor & Destructor Documentation

template<typename T >
karto::Size3< T >::Size3 ( ) [inline]

A size with a width, height, and depth of 0

Definition at line 181 of file Geometry.h.

template<typename T >
karto::Size3< T >::Size3 ( T  width,
T  height,
T  depth 
) [inline]

A size with the given width, height, and depth

Parameters:
widthwidth
heightheight
depthdepth

Definition at line 194 of file Geometry.h.

template<typename T >
karto::Size3< T >::Size3 ( const Size3< T > &  rOther) [inline]

Copy constructor

Definition at line 204 of file Geometry.h.


Member Function Documentation

template<typename T >
T karto::Size3< T >::GetDepth ( ) const [inline]

Returns the depth

Returns:
the depth

Definition at line 251 of file Geometry.h.

template<typename T >
T karto::Size3< T >::GetHeight ( ) const [inline]

Returns the height

Returns:
the height

Definition at line 233 of file Geometry.h.

template<typename T >
T karto::Size3< T >::GetWidth ( ) const [inline]

Returns the width

Returns:
the width

Definition at line 215 of file Geometry.h.

template<typename T >
kt_bool karto::Size3< T >::operator!= ( const Size3< T > &  rOther) const [inline]

Inequality operator

Definition at line 304 of file Geometry.h.

template<typename T >
Size3& karto::Size3< T >::operator= ( const Size3< T > &  rOther) [inline]

Assignment operator

Definition at line 284 of file Geometry.h.

template<typename T >
kt_bool karto::Size3< T >::operator== ( const Size3< T > &  rOther) const [inline]

Equality operator

Definition at line 296 of file Geometry.h.

template<typename T >
void karto::Size3< T >::SetDepth ( T  depth) [inline]

Sets the depth

Parameters:
depthdepth

Definition at line 260 of file Geometry.h.

template<typename T >
void karto::Size3< T >::SetHeight ( T  height) [inline]

Sets the height

Parameters:
heightheight

Definition at line 242 of file Geometry.h.

template<typename T >
void karto::Size3< T >::SetWidth ( T  width) [inline]

Sets the width

Parameters:
widthwidth

Definition at line 224 of file Geometry.h.

template<typename T >
const karto::String karto::Size3< T >::ToString ( ) const [inline]

Returns a string representation of this size object

Returns:
string representation of this size object

Definition at line 269 of file Geometry.h.


Member Data Documentation

template<typename T >
T karto::Size3< T >::m_Depth [private]

Definition at line 312 of file Geometry.h.

template<typename T >
T karto::Size3< T >::m_Height [private]

Definition at line 311 of file Geometry.h.

template<typename T >
T karto::Size3< T >::m_Width [private]

Definition at line 310 of file Geometry.h.


The documentation for this class was generated from the following file:


nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Sun Apr 2 2017 04:05:24