#include <Geometry.h>
Public Member Functions | |
const T & | GetW () const |
const T & | GetX () const |
const T & | GetY () const |
const T & | GetZ () const |
kt_bool | operator!= (const Vector4 &rOther) const |
kt_bool | operator< (const Vector4 &rOther) const |
Vector4 & | operator= (const Vector4 &rOther) |
kt_bool | operator== (const Vector4 &rOther) const |
void | SetW (const T &w) |
void | SetX (const T &x) |
void | SetY (const T &y) |
void | SetZ (const T &z) |
const String | ToString () const |
Vector4 () | |
Vector4 (T x, T y, T z, T w) | |
Vector4 (const Vector4 &rOther) | |
Private Attributes | |
T | m_Values [4] |
Friends | |
KARTO_FORCEINLINE std::ostream & | operator<< (std::ostream &rStream, const Vector4 &rVector) |
Represents a 4-dimensional vector (x, y, z, w)
Definition at line 1056 of file Geometry.h.
karto::Vector4< T >::Vector4 | ( | ) | [inline] |
Vector at the origin
Definition at line 1062 of file Geometry.h.
karto::Vector4< T >::Vector4 | ( | T | x, |
T | y, | ||
T | z, | ||
T | w | ||
) | [inline] |
karto::Vector4< T >::Vector4 | ( | const Vector4< T > & | rOther | ) | [inline] |
Copy constructor
Definition at line 1088 of file Geometry.h.
const T& karto::Vector4< T >::GetW | ( | ) | const [inline] |
const T& karto::Vector4< T >::GetX | ( | ) | const [inline] |
const T& karto::Vector4< T >::GetY | ( | ) | const [inline] |
const T& karto::Vector4< T >::GetZ | ( | ) | const [inline] |
kt_bool karto::Vector4< T >::operator!= | ( | const Vector4< T > & | rOther | ) | const [inline] |
Inequality operator
Definition at line 1249 of file Geometry.h.
kt_bool karto::Vector4< T >::operator< | ( | const Vector4< T > & | rOther | ) | const [inline] |
Less than operator
rOther | vector |
Definition at line 1206 of file Geometry.h.
Vector4& karto::Vector4< T >::operator= | ( | const Vector4< T > & | rOther | ) | [inline] |
Assignment operator
Definition at line 1190 of file Geometry.h.
kt_bool karto::Vector4< T >::operator== | ( | const Vector4< T > & | rOther | ) | const [inline] |
Equality operator
Definition at line 1241 of file Geometry.h.
void karto::Vector4< T >::SetW | ( | const T & | w | ) | [inline] |
void karto::Vector4< T >::SetX | ( | const T & | x | ) | [inline] |
void karto::Vector4< T >::SetY | ( | const T & | y | ) | [inline] |
void karto::Vector4< T >::SetZ | ( | const T & | z | ) | [inline] |
const String karto::Vector4< T >::ToString | ( | ) | const [inline] |
Returns a string representation of this vector
Definition at line 1173 of file Geometry.h.
KARTO_FORCEINLINE std::ostream& operator<< | ( | std::ostream & | rStream, |
const Vector4< T > & | rVector | ||
) | [friend] |
Write vector onto output stream
Definition at line 1257 of file Geometry.h.
T karto::Vector4< T >::m_Values[4] [private] |
Definition at line 1264 of file Geometry.h.