Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXMat3d Class Reference

Double-precision 3x3 matrix. More...

#include <FXMat3d.h>

List of all members.

Public Member Functions

 FXMat3d ()
 FXMat3d (FXdouble w)
 FXMat3d (FXdouble a00, FXdouble a01, FXdouble a02, FXdouble a10, FXdouble a11, FXdouble a12, FXdouble a20, FXdouble a21, FXdouble a22)
 FXMat3d (const FXVec3d &a, const FXVec3d &b, const FXVec3d &c)
 FXMat3d (const FXMat3d &other)
FXMat3doperator= (const FXMat3d &other)
FXMat3doperator= (FXdouble w)
FXMat3doperator+= (const FXMat3d &w)
FXMat3doperator-= (const FXMat3d &w)
FXMat3doperator *= (FXdouble w)
FXMat3doperator *= (const FXMat3d &w)
FXMat3doperator/= (FXdouble w)
FXVec3doperator[] (FXint i)
const FXVec3doperator[] (FXint i) const
 operator FXdouble * ()
 operator const FXdouble * () const
FXMat3deye ()
FXMat3drot (FXdouble c, FXdouble s)
FXMat3drot (FXdouble phi)
FXMat3dtrans (FXdouble tx, FXdouble ty)
FXMat3dscale (FXdouble sx, FXdouble sy)
FXMat3dscale (FXdouble s)

Friends

FXMat3d operator+ (const FXMat3d &a, const FXMat3d &b)
FXMat3d operator- (const FXMat3d &a, const FXMat3d &b)
FXMat3d operator- (const FXMat3d &a)
FXMat3d operator * (const FXMat3d &a, const FXMat3d &b)
FXMat3d operator * (FXdouble x, const FXMat3d &a)
FXMat3d operator * (const FXMat3d &a, FXdouble x)
FXMat3d operator/ (const FXMat3d &a, FXdouble x)
FXMat3d operator/ (FXdouble x, const FXMat3d &a)
FXVec3d operator * (const FXVec3d &v, const FXMat3d &m)
FXVec3d operator * (const FXMat3d &a, const FXVec3d &v)
FXVec2d operator * (const FXVec2d &v, const FXMat3d &m)
FXVec2d operator * (const FXMat3d &a, const FXVec2d &v)
FXdouble det (const FXMat3d &m)
FXMat3d transpose (const FXMat3d &m)
FXMat3d invert (const FXMat3d &m)
FXStreamoperator<< (FXStream &store, const FXMat3d &m)
FXStreamoperator>> (FXStream &store, FXMat3d &m)


Detailed Description

Double-precision 3x3 matrix.


Constructor & Destructor Documentation

FX::FXMat3d::FXMat3d  )  [inline]
 

Constructors.


Member Function Documentation

FXMat3d& FX::FXMat3d::operator= const FXMat3d other  ) 
 

Assignment operators.

FXVec3d& FX::FXMat3d::operator[] FXint  i  )  [inline]
 

Indexing.

FX::FXMat3d::operator FXdouble *  )  [inline]
 

Conversion.

FXMat3d& FX::FXMat3d::eye  ) 
 

Set identity matrix.

FXMat3d& FX::FXMat3d::rot FXdouble  c,
FXdouble  s
 

Multiply by rotation of phi.

FXMat3d& FX::FXMat3d::trans FXdouble  tx,
FXdouble  ty
 

Multiply by translation.

FXMat3d& FX::FXMat3d::scale FXdouble  sx,
FXdouble  sy
 

Multiply by scaling.


Friends And Related Function Documentation

FXMat3d operator+ const FXMat3d a,
const FXMat3d b
[friend]
 

Other operators.

FXVec3d operator * const FXVec3d v,
const FXMat3d m
[friend]
 

Multiply matrix and vector.

FXVec2d operator * const FXVec2d v,
const FXMat3d m
[friend]
 

Mutiply matrix and vector, for non-projective matrix.

FXdouble det const FXMat3d m  )  [friend]
 

Determinant.

FXMat3d transpose const FXMat3d m  )  [friend]
 

Transpose.

FXMat3d invert const FXMat3d m  )  [friend]
 

Invert.

FXStream& operator<< FXStream store,
const FXMat3d m
[friend]
 

Save to a stream.

FXStream& operator>> FXStream store,
FXMat3d m
[friend]
 

Load from a stream.

Copyright © 1997-2004 Jeroen van der Zijp