karto::Size2< T > Class Template Reference
#include <Karto.h>
List of all members.
Detailed Description
template<typename T>
class karto::Size2< T >
Represents a point (x, y) in 2-dimensional real space.
Definition at line 745 of file Karto.h.
Constructor & Destructor Documentation
Default constructor
Definition at line 751 of file Karto.h.
Constructor initializing point location
- Parameters:
-
Definition at line 762 of file Karto.h.
Copy constructor
- Parameters:
-
Definition at line 772 of file Karto.h.
Member Function Documentation
Gets the height
- Returns:
- the height
Definition at line 801 of file Karto.h.
Gets the width
- Returns:
- the width
Definition at line 783 of file Karto.h.
Inequality operator
Definition at line 837 of file Karto.h.
Assignment operator
Definition at line 818 of file Karto.h.
Equality operator
Definition at line 829 of file Karto.h.
Sets the height
- Parameters:
-
Definition at line 810 of file Karto.h.
Sets the width
- Parameters:
-
Definition at line 792 of file Karto.h.
Friends And Related Function Documentation
template<typename T>
std::ostream& operator<< |
( |
std::ostream & |
rStream, |
|
|
const Size2< T > & |
rSize | |
|
) |
| | [friend] |
Write Size2 onto output stream
- Parameters:
-
| rStream | output stream |
| rSize | to write |
Definition at line 847 of file Karto.h.
Member Data Documentation
The documentation for this class was generated from the following file: