math::Vector4< T > Class Template Reference

The vector4 class. More...

#include <Vector4.h>

Inheritance diagram for math::Vector4< T >:

Inheritance graph
[legend]
Collaboration diagram for math::Vector4< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Vector4 ()
 Vector4 (T x, T y, T z, T w)
bool operator== (const Vector4 &vector) const
Vector4< T > operator+ (const Vector4 &vector) const
Vector4< T > & operator+= (const Vector4 &vector)
Vector4< T > negative () const
const char * toString ()

Public Attributes

x
y
z
w

Static Public Attributes

static const Vector4 UNIT_ZERO


Detailed Description

template<class T>
class math::Vector4< T >

The vector4 class.

Constructor & Destructor Documentation

template<class T>
math::Vector4< T >::Vector4 (  ) 

Constructor

template<class T>
math::Vector4< T >::Vector4 ( x,
y,
z,
w 
)

Constructor


Member Function Documentation

template<class T>
bool math::Vector4< T >::operator== ( const Vector4< T > &  vector  )  const

Vectors comparison

Parameters:
vector The outside vector
Returns:
result

template<class T>
Vector4<T> math::Vector4< T >::operator+ ( const Vector4< T > &  vector  )  const

Vectors operation

Parameters:
vector The outside vector
Returns:
the vector result

template<class T>
Vector4<T>& math::Vector4< T >::operator+= ( const Vector4< T > &  vector  ) 

Vectors attribution

Parameters:
vector The outside vector
Returns:
the vector result

template<class T>
Vector4<T> math::Vector4< T >::negative (  )  const

Negate the vector values

Returns:
the vector result

template<class T>
const char* math::Vector4< T >::toString (  )  [inline, virtual]

See also:
Object::toString()

Implements Object.


Member Data Documentation

template<class T>
const Vector4 math::Vector4< T >::UNIT_ZERO [static]

Predefined vector property

template<class T>
T math::Vector4< T >::x

x value

template<class T>
T math::Vector4< T >::y

y value

template<class T>
T math::Vector4< T >::z

z value

template<class T>
T math::Vector4< T >::w

w value


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

Generated on Mon Mar 3 10:53:10 2008 for Aika by  doxygen 1.5.5