Matrix2D< T > Class Template Reference

#include <rimPhysicsMatrix2D.h>

List of all members.

Public Member Functions

 Matrix2D ()
 Matrix2D (const Vector2D< T > &col1, const Vector2D< T > &col2)
 Matrix2D (T a, T b, T c, T d)
 Matrix2D (T rotation)
 Matrix2D (T *array)
const T * toArrayColumnMajorShallow () const
T * toArrayColumnMajor () const
T * toArrayRowMajor () const
const Vector2D< T > & getColumn (int column) const
void loadIdentity ()
void zero ()
determinant () const
Matrix2D< T > invert () const
Matrix2D< T > orthonormalize () const
Matrix2D< T > transpose () const
Vector2D< T > getDiagonal () const
Matrix2D< T > & operator-= (const Matrix2D< T > &matrix2)
Matrix2D< T > & operator+= (const Matrix2D< T > &matrix2)
Matrix2D< T > & operator+= (const T &value)
Matrix2D< T > & operator-= (const T &value)
Matrix2D< T > & operator *= (const T &value)
Matrix2D< T > & operator/= (const T &value)

Static Public Member Functions

static Matrix2D< T > rotation (T radians)
static Matrix2D< T > rotationDegrees (T degrees)

Public Attributes

Vector2D< T > x
Vector2D< T > y

Static Public Attributes

static const Matrix2D< T > ZERO
static const Matrix2D< T > INDENTITY

template<typename T>
class Matrix2D< T >


Constructor & Destructor Documentation

template<typename T>
Matrix2D< T >::Matrix2D (  )  [inline]

template<typename T>
Matrix2D< T >::Matrix2D ( const Vector2D< T > &  col1,
const Vector2D< T > &  col2 
) [inline]

template<typename T>
Matrix2D< T >::Matrix2D ( a,
b,
c,
d 
) [inline]

template<typename T>
Matrix2D< T >::Matrix2D ( rotation  )  [inline]

template<typename T>
Matrix2D< T >::Matrix2D ( T *  array  )  [inline]


Member Function Documentation

template<typename T>
static Matrix2D<T> Matrix2D< T >::rotation ( radians  )  [inline, static]

template<typename T>
static Matrix2D<T> Matrix2D< T >::rotationDegrees ( degrees  )  [inline, static]

template<typename T>
const T* Matrix2D< T >::toArrayColumnMajorShallow (  )  const [inline]

template<typename T>
T* Matrix2D< T >::toArrayColumnMajor (  )  const [inline]

template<typename T>
T* Matrix2D< T >::toArrayRowMajor (  )  const [inline]

template<typename T>
const Vector2D<T>& Matrix2D< T >::getColumn ( int  column  )  const [inline]

template<typename T>
void Matrix2D< T >::loadIdentity (  )  [inline]

template<typename T>
void Matrix2D< T >::zero (  )  [inline]

template<typename T>
T Matrix2D< T >::determinant (  )  const [inline]

template<typename T>
Matrix2D<T> Matrix2D< T >::invert (  )  const [inline]

template<typename T>
Matrix2D<T> Matrix2D< T >::orthonormalize (  )  const [inline]

template<typename T>
Matrix2D<T> Matrix2D< T >::transpose (  )  const [inline]

template<typename T>
Vector2D<T> Matrix2D< T >::getDiagonal (  )  const [inline]

template<typename T>
Matrix2D<T>& Matrix2D< T >::operator-= ( const Matrix2D< T > &  matrix2  )  [inline]

template<typename T>
Matrix2D<T>& Matrix2D< T >::operator+= ( const Matrix2D< T > &  matrix2  )  [inline]

template<typename T>
Matrix2D<T>& Matrix2D< T >::operator+= ( const T &  value  )  [inline]

template<typename T>
Matrix2D<T>& Matrix2D< T >::operator-= ( const T &  value  )  [inline]

template<typename T>
Matrix2D<T>& Matrix2D< T >::operator *= ( const T &  value  )  [inline]

template<typename T>
Matrix2D<T>& Matrix2D< T >::operator/= ( const T &  value  )  [inline]


Member Data Documentation

template<typename T>
Vector2D<T> Matrix2D< T >::x

template<typename T>
Vector2D<T> Matrix2D< T >::y

template<typename T>
const Matrix2D< T > Matrix2D< T >::ZERO [inline, static]

template<typename T>
const Matrix2D< T > Matrix2D< T >::INDENTITY [inline, static]


The documentation for this class was generated from the following file:
Generated on Tue Aug 26 00:03:20 2008 for Rim Physics by  doxygen 1.5.4