![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Double-precision 2x2 matrix. More...
#include <FXMat2d.h>
Public Member Functions | |
| FXMat2d () | |
| Default constructor; value is not initialized. | |
| FXMat2d (FXdouble s) | |
| Initialize matrix from scalar. | |
| FXMat2d (FXdouble a00, FXdouble a01, FXdouble a10, FXdouble a11) | |
| Initialize matrix from components. | |
| FXMat2d (const FXMat2d &s) | |
| Initialize matrix from another matrix. | |
| FXMat2d (const FXMat3d &s) | |
| Initialize from rotation and scaling part of 3x3 matrix. | |
| FXMat2d (const FXVec2d &a, const FXVec2d &b) | |
| Initialize matrix from two vectors. | |
| FXMat2d (FXdouble a, FXdouble b) | |
| Initialize diagonal matrix. | |
| FXMat2d (const FXVec2d &d) | |
| Initialize diagonal matrix. | |
| FXMat2d (const FXdouble s[]) | |
| Initialize matrix from array. | |
| FXMat2d & | operator= (FXdouble s) |
| Assignment from scalar. | |
| FXMat2d & | operator= (const FXMat2d &s) |
| Assignment. | |
| FXMat2d & | operator= (const FXMat3d &s) |
| FXMat2d & | operator= (const FXdouble s[]) |
| Assignment from array. | |
| FXMat2d & | set (FXdouble s) |
| Set value from scalar. | |
| FXMat2d & | set (FXdouble a00, FXdouble a01, FXdouble a10, FXdouble a11) |
| Set value from components. | |
| FXMat2d & | set (const FXMat2d &s) |
| Set value from another matrix. | |
| FXMat2d & | set (const FXMat3d &s) |
| Set from rotation and scaling part of 3x3 matrix. | |
| FXMat2d & | set (const FXVec2d &a, const FXVec2d &b) |
| Set value from two vectors. | |
| FXMat2d & | set (FXdouble a, FXdouble b) |
| Set diagonal matrix. | |
| FXMat2d & | set (const FXVec2d &d) |
| Initialize diagonal matrix. | |
| FXMat2d & | set (const FXdouble s[]) |
| Set value from array. | |
| FXMat2d & | operator+= (const FXMat2d &s) |
| Assignment operators. | |
| FXMat2d & | operator-= (const FXMat2d &s) |
| FXMat2d & | operator*= (const FXMat2d &s) |
| FXMat2d & | operator*= (FXdouble s) |
| FXMat2d & | operator/= (FXdouble s) |
| FXVec2d & | operator[] (FXint i) |
| Indexing. | |
| const FXVec2d & | operator[] (FXint i) const |
| operator FXdouble * () | |
| Conversion. | |
| operator const FXdouble * () const | |
| FXMat2d | operator- () const |
| Unary minus. | |
| FXMat2d & | identity () |
| Set to identity matrix. | |
| FXbool | isIdentity () const |
| Return true if identity matrix. | |
| FXMat2d & | rot (FXdouble c, FXdouble s) |
| Multiply by rotation of phi. | |
| FXMat2d & | rot (FXdouble phi) |
| FXMat2d & | scale (FXdouble sx, FXdouble sy) |
| Multiply by scaling. | |
| FXMat2d & | scale (FXdouble s) |
| FXdouble | det () const |
| Determinant. | |
| FXMat2d | transpose () const |
| Transpose. | |
| FXMat2d | invert () const |
| Invert. | |
| ~FXMat2d () | |
| Destructor. | |
Protected Attributes | |
| FXVec2d | m [2] |
Double-precision 2x2 matrix.
|
|