55 FXMat2d(FXdouble a00,FXdouble a01,FXdouble a10,FXdouble a11);
68 FXMat2d& operator=(
const FXdouble s[]);
80 FXMat2d&
set(
const FXdouble s[]);
83 FXMat2d&
set(FXdouble a,FXdouble b);
86 FXMat2d&
set(FXdouble a00,FXdouble a01,FXdouble a10,FXdouble a11);
95 FXMat2d& operator*=(FXdouble s);
96 FXMat2d& operator/=(FXdouble s);
100 const FXVec2d& operator[](FXint i)
const {
return m[i];}
103 operator FXdouble*(){
return m[0];}
104 operator const FXdouble*()
const {
return m[0];}
107 FXMat2d operator-()
const;
113 FXbool isIdentity()
const;
116 FXMat2d& rot(FXdouble c,FXdouble s);
117 FXMat2d& rot(FXdouble phi);
120 FXMat2d& scale(FXdouble sx,FXdouble sy);
121 FXMat2d& scale(FXdouble s);
124 FXdouble det()
const;
127 FXMat2d transpose()
const;
130 FXMat2d invert()
const;
138 extern FXAPI FXVec2d operator*(
const FXMat2d& m,
const FXVec2d& v);
141 extern FXAPI FXVec2d operator*(
const FXVec2d& v,
const FXMat2d& m);
144 extern FXAPI FXMat2d operator+(
const FXMat2d& a,
const FXMat2d& b);
145 extern FXAPI FXMat2d operator-(
const FXMat2d& a,
const FXMat2d& b);
148 extern FXAPI FXMat2d operator*(
const FXMat2d& a,
const FXMat2d& b);
151 extern FXAPI FXMat2d operator*(FXdouble x,
const FXMat2d& a);
152 extern FXAPI FXMat2d operator*(
const FXMat2d& a,FXdouble x);
153 extern FXAPI FXMat2d operator/(
const FXMat2d& a,FXdouble x);
154 extern FXAPI FXMat2d operator/(FXdouble x,
const FXMat2d& a);
157 extern FXAPI FXbool operator==(
const FXMat2d& a,
const FXMat2d& b);
158 extern FXAPI FXbool operator!=(
const FXMat2d& a,
const FXMat2d& b);
159 extern FXAPI FXbool operator==(
const FXMat2d& a,FXdouble n);
160 extern FXAPI FXbool operator!=(
const FXMat2d& a,FXdouble n);
161 extern FXAPI FXbool operator==(FXdouble n,
const FXMat2d& a);
162 extern FXAPI FXbool operator!=(FXdouble n,
const FXMat2d& a);
165 extern FXAPI FXMat2d orthogonalize(
const FXMat2d& m);
168 extern FXAPI FXStream& operator<<(FXStream& store,
const FXMat2d& m);
171 extern FXAPI FXStream& operator>>(FXStream& store,FXMat2d& m);
Double-precision 2x2 matrix.
Definition: FXMat2d.h:31
FXVec2d & operator[](FXint i)
Indexing.
Definition: FXMat2d.h:99
FXMat2d()
Default constructor; value is not initialized.
Definition: FXMat2d.h:37
Definition: FX4Splitter.h:28
~FXMat2d()
Destructor.
Definition: FXMat2d.h:133
Double-precision 2-element vector.
Definition: FXVec2d.h:28
Double-precision 3x3 matrix.
Definition: FXMat3d.h:33