Public Member Functions | Private Attributes | List of all members
karto::Size3< T > Class Template Reference

#include <Geometry.h>

Public Member Functions

GetDepth () const
 
GetHeight () const
 
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

m_Depth
 
m_Height
 
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 ( width,
height,
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 ( depth)
inline

Sets the depth

Parameters
depthdepth

Definition at line 260 of file Geometry.h.

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

Sets the height

Parameters
heightheight

Definition at line 242 of file Geometry.h.

template<typename T >
void karto::Size3< T >::SetWidth ( 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 Thu Jun 6 2019 19:20:25