Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Double-precision 3x3 matrix. More...
#include <FXMat3d.h>
Public Member Functions | |
FXMat3d () | |
Default constructor; value is not initialized. | |
FXMat3d (FXdouble s) | |
Initialize matrix from scalar. | |
FXMat3d (const FXMat2d &s) | |
Initialize with 2x2 rotation and scale matrix. | |
FXMat3d (const FXMat3d &s) | |
Initialize matrix from another matrix. | |
FXMat3d (const FXMat4d &s) | |
Initialize from rotation and scaling part of 4x4 matrix. | |
FXMat3d (const FXdouble s[]) | |
Initialize matrix from array. | |
FXMat3d (FXdouble a, FXdouble b, FXdouble c) | |
Initialize diagonal matrix. | |
FXMat3d (FXdouble a00, FXdouble a01, FXdouble a02, FXdouble a10, FXdouble a11, FXdouble a12, FXdouble a20, FXdouble a21, FXdouble a22) | |
Initialize matrix from components. | |
FXMat3d (const FXVec3d &a, const FXVec3d &b, const FXVec3d &c) | |
Initialize matrix from three vectors. | |
FXMat3d (const FXQuatd &quat) | |
Initialize matrix from quaternion. | |
FXMat3d & | operator= (FXdouble s) |
Assignment from scalar. | |
FXMat3d & | operator= (const FXMat2d &s) |
Assignment. | |
FXMat3d & | operator= (const FXMat3d &s) |
FXMat3d & | operator= (const FXMat4d &s) |
FXMat3d & | operator= (const FXQuatd &quat) |
Assignment from quaternion. | |
FXMat3d & | operator= (const FXdouble s[]) |
Assignment from array. | |
FXMat3d & | set (FXdouble s) |
Set value from scalar. | |
FXMat3d & | set (const FXMat2d &s) |
Set value from 2x2 rotation and scale matrix. | |
FXMat3d & | set (const FXMat3d &s) |
Set value from another matrix. | |
FXMat3d & | set (const FXMat4d &s) |
Set from rotation and scaling part of 4x4 matrix. | |
FXMat3d & | set (const FXdouble s[]) |
Set value from array. | |
FXMat3d & | set (FXdouble a, FXdouble b, FXdouble c) |
Set diagonal matrix. | |
FXMat3d & | set (FXdouble a00, FXdouble a01, FXdouble a02, FXdouble a10, FXdouble a11, FXdouble a12, FXdouble a20, FXdouble a21, FXdouble a22) |
Set value from components. | |
FXMat3d & | set (const FXVec3d &a, const FXVec3d &b, const FXVec3d &c) |
Set value from three vectors. | |
FXMat3d & | set (const FXQuatd &quat) |
Set value from quaternion. | |
FXMat3d & | operator+= (const FXMat3d &w) |
Assignment operators. | |
FXMat3d & | operator-= (const FXMat3d &w) |
FXMat3d & | operator*= (const FXMat3d &w) |
FXMat3d & | operator*= (FXdouble w) |
FXMat3d & | operator/= (FXdouble w) |
FXVec3d & | operator[] (FXint i) |
Indexing. | |
const FXVec3d & | operator[] (FXint i) const |
operator FXdouble * () | |
Conversion. | |
operator const FXdouble * () const | |
FXMat3d | operator- () const |
Unary minus. | |
FXMat3d & | identity () |
Set to identity matrix. | |
FXbool | isIdentity () const |
Return true if identity matrix. | |
FXMat3d & | rot (const FXQuatd &q) |
Multiply by rotation about unit-quaternion. | |
FXMat3d & | rot (const FXVec3d &v, FXdouble c, FXdouble s) |
Multiply by rotation c,s about unit axis. | |
FXMat3d & | rot (const FXVec3d &v, FXdouble phi) |
Multiply by rotation of phi about unit axis. | |
FXMat3d & | xrot (FXdouble c, FXdouble s) |
Multiply by x-rotation. | |
FXMat3d & | xrot (FXdouble phi) |
FXMat3d & | yrot (FXdouble c, FXdouble s) |
Multiply by y-rotation. | |
FXMat3d & | yrot (FXdouble phi) |
FXMat3d & | zrot (FXdouble c, FXdouble s) |
Multiply by z-rotation. | |
FXMat3d & | zrot (FXdouble phi) |
FXMat3d & | scale (FXdouble sx, FXdouble sy, FXdouble sz) |
Multiply by scaling. | |
FXMat3d & | scale (const FXVec3d &v) |
FXMat3d & | scale (FXdouble s) |
FXMat3d & | mirror (const FXVec3d &n) |
Mirror-matrix with plane normal n. | |
FXdouble | det () const |
Determinant. | |
FXMat3d | transpose () const |
Transpose. | |
FXMat3d | invert () const |
Invert. | |
~FXMat3d () | |
Destructor. | |
Protected Attributes | |
FXVec3d | m [3] |
Double-precision 3x3 matrix.
Copyright © 1997-2022 Jeroen van der Zijp |