Public Member Functions

sp::dim::matrix2< T > Class Template Reference

#include <spDimensionMatrix2.hpp>

List of all members.

Public Member Functions

 matrix2 ()
 matrix2 (const T(&other)[4])
 matrix2 (const matrix2< T > &other)
 matrix2 (T m1n1, T m2n1, T m1n2, T m2n2)
 ~matrix2 ()
const T operator() (u32 row, u32 col) const
T & operator() (u32 row, u32 col)
const T operator[] (u32 i) const
T & operator[] (u32 i)
bool operator== (const matrix2< T > &other)
bool operator!= (const matrix2< T > &other)
matrix2< T > & operator= (const T(&other)[4])
matrix2< T > & operator= (const matrix2< T > &other)
matrix2< T > & operator= (T Scalar)
matrix2< T > operator+ (const matrix2< T > &mltMatrix) const
matrix2< T > & operator+= (const matrix2< T > &mltMatrix)
matrix2< T > operator- (const matrix2< T > &mltMatrix) const
matrix2< T > & operator-= (const matrix2< T > &mltMatrix)
matrix2< T > operator* (const matrix2< T > &mltMatrix) const
matrix2< T > operator* (T Scalar) const
matrix2< T > & operator*= (const matrix2< T > &mltMatrix)
matrix2< T > & operator*= (T Scalar)
point2d< T > operator* (const point2d< T > &Vector) const
void clear ()
matrix2< T > & reset ()
void multiplySingleMatrix (const T(&Other)[2])
bool getInverse (matrix2< T > &InverseMat) const
bool setInverse ()
matrix2< T > getInverse () const
matrix2< T > & scale (const point2d< T > &Vector)
matrix2< T > & rotate (const T Angle)
void setRotation (T Rotation, bool UseDegrees=true)
point2d< T > getRow (s32 Position) const
point2d< T > getColumn (s32 Position) const
void setScale (const point2d< T > &Scale)
point2d< T > getScale () const
getRotation () const
matrix4< T > getTransposed () const
void getTransposed (matrix4< T > &other) const
point2d< T > interpolate (const point2d< T > &other, f32 seek) const
bool isIdentity () const
const T * getArray () const
T * getArray ()
template<typename B >
matrix2< B > cast () const

template<typename T>
class sp::dim::matrix2< T >


Constructor & Destructor Documentation

template<typename T>
sp::dim::matrix2< T >::matrix2 (  )  [inline]
template<typename T>
sp::dim::matrix2< T >::matrix2 ( const T(&)  other[4]  )  [inline]
template<typename T>
sp::dim::matrix2< T >::matrix2 ( const matrix2< T > &  other  )  [inline]
template<typename T>
sp::dim::matrix2< T >::matrix2 ( m1n1,
m2n1,
m1n2,
m2n2 
) [inline]
template<typename T>
sp::dim::matrix2< T >::~matrix2 (  )  [inline]

Member Function Documentation

template<typename T>
template<typename B >
matrix2<B> sp::dim::matrix2< T >::cast (  )  const [inline]
template<typename T>
void sp::dim::matrix2< T >::clear (  )  [inline]
template<typename T>
const T* sp::dim::matrix2< T >::getArray (  )  const [inline]
template<typename T>
T* sp::dim::matrix2< T >::getArray (  )  [inline]
template<typename T>
point2d<T> sp::dim::matrix2< T >::getColumn ( s32  Position  )  const [inline]
template<typename T>
bool sp::dim::matrix2< T >::getInverse ( matrix2< T > &  InverseMat  )  const [inline]
template<typename T>
matrix2<T> sp::dim::matrix2< T >::getInverse (  )  const [inline]
template<typename T>
T sp::dim::matrix2< T >::getRotation (  )  const [inline]
template<typename T>
point2d<T> sp::dim::matrix2< T >::getRow ( s32  Position  )  const [inline]
template<typename T>
point2d<T> sp::dim::matrix2< T >::getScale (  )  const [inline]
template<typename T>
matrix4<T> sp::dim::matrix2< T >::getTransposed (  )  const [inline]
template<typename T>
void sp::dim::matrix2< T >::getTransposed ( matrix4< T > &  other  )  const [inline]
template<typename T>
point2d<T> sp::dim::matrix2< T >::interpolate ( const point2d< T > &  other,
f32  seek 
) const [inline]
template<typename T>
bool sp::dim::matrix2< T >::isIdentity (  )  const [inline]
template<typename T>
void sp::dim::matrix2< T >::multiplySingleMatrix ( const T(&)  Other[2]  )  [inline]
template<typename T>
bool sp::dim::matrix2< T >::operator!= ( const matrix2< T > &  other  )  [inline]
template<typename T>
T& sp::dim::matrix2< T >::operator() ( u32  row,
u32  col 
) [inline]
template<typename T>
const T sp::dim::matrix2< T >::operator() ( u32  row,
u32  col 
) const [inline]
template<typename T>
point2d<T> sp::dim::matrix2< T >::operator* ( const point2d< T > &  Vector  )  const [inline]
template<typename T>
matrix2<T> sp::dim::matrix2< T >::operator* ( const matrix2< T > &  mltMatrix  )  const [inline]
template<typename T>
matrix2<T> sp::dim::matrix2< T >::operator* ( Scalar  )  const [inline]
template<typename T>
matrix2<T>& sp::dim::matrix2< T >::operator*= ( Scalar  )  [inline]
template<typename T>
matrix2<T>& sp::dim::matrix2< T >::operator*= ( const matrix2< T > &  mltMatrix  )  [inline]
template<typename T>
matrix2<T> sp::dim::matrix2< T >::operator+ ( const matrix2< T > &  mltMatrix  )  const [inline]
template<typename T>
matrix2<T>& sp::dim::matrix2< T >::operator+= ( const matrix2< T > &  mltMatrix  )  [inline]
template<typename T>
matrix2<T> sp::dim::matrix2< T >::operator- ( const matrix2< T > &  mltMatrix  )  const [inline]
template<typename T>
matrix2<T>& sp::dim::matrix2< T >::operator-= ( const matrix2< T > &  mltMatrix  )  [inline]
template<typename T>
matrix2<T>& sp::dim::matrix2< T >::operator= ( Scalar  )  [inline]
template<typename T>
matrix2<T>& sp::dim::matrix2< T >::operator= ( const matrix2< T > &  other  )  [inline]
template<typename T>
matrix2<T>& sp::dim::matrix2< T >::operator= ( const T(&)  other[4]  )  [inline]
template<typename T>
bool sp::dim::matrix2< T >::operator== ( const matrix2< T > &  other  )  [inline]
template<typename T>
const T sp::dim::matrix2< T >::operator[] ( u32  i  )  const [inline]
template<typename T>
T& sp::dim::matrix2< T >::operator[] ( u32  i  )  [inline]
template<typename T>
matrix2<T>& sp::dim::matrix2< T >::reset (  )  [inline]
template<typename T>
matrix2<T>& sp::dim::matrix2< T >::rotate ( const T  Angle  )  [inline]
template<typename T>
matrix2<T>& sp::dim::matrix2< T >::scale ( const point2d< T > &  Vector  )  [inline]
template<typename T>
bool sp::dim::matrix2< T >::setInverse (  )  [inline]
template<typename T>
void sp::dim::matrix2< T >::setRotation ( Rotation,
bool  UseDegrees = true 
) [inline]
template<typename T>
void sp::dim::matrix2< T >::setScale ( const point2d< T > &  Scale  )  [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines