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 ()
 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.
FXMat3doperator= (FXdouble s)
 Assignment from scalar.
FXMat3doperator= (const FXMat2d &s)
 Assignment.
FXMat3doperator= (const FXMat3d &s)
FXMat3doperator= (const FXMat4d &s)
FXMat3doperator= (const FXQuatd &quat)
 Assignment from quaternion.
FXMat3doperator= (const FXdouble s[])
 Assignment from array.
FXMat3dset (FXdouble s)
 Set value from scalar.
FXMat3dset (const FXMat2d &s)
 Set value from 2x2 rotation and scale matrix.
FXMat3dset (const FXMat3d &s)
 Set value from another matrix.
FXMat3dset (const FXMat4d &s)
 Set from rotation and scaling part of 4x4 matrix.
FXMat3dset (const FXdouble s[])
 Set value from array.
FXMat3dset (FXdouble a, FXdouble b, FXdouble c)
 Set diagonal matrix.
FXMat3dset (FXdouble a00, FXdouble a01, FXdouble a02, FXdouble a10, FXdouble a11, FXdouble a12, FXdouble a20, FXdouble a21, FXdouble a22)
 Set value from components.
FXMat3dset (const FXVec3d &a, const FXVec3d &b, const FXVec3d &c)
 Set value from three vectors.
FXMat3dset (const FXQuatd &quat)
 Set value from quaternion.
FXMat3doperator+= (const FXMat3d &w)
 Assignment operators.
FXMat3doperator-= (const FXMat3d &w)
FXMat3doperator*= (const FXMat3d &w)
FXMat3doperator*= (FXdouble w)
FXMat3doperator/= (FXdouble w)
FXVec3doperator[] (FXint i)
 Indexing.
const FXVec3doperator[] (FXint i) const
 operator FXdouble * ()
 Conversion.
 operator const FXdouble * () const
FXMat3d operator- () const
 Unary minus.
FXMat3didentity ()
 Set to identity matrix.
FXbool isIdentity () const
 Return true if identity matrix.
FXMat3drot (const FXQuatd &q)
 Multiply by rotation about unit-quaternion.
FXMat3drot (const FXVec3d &v, FXdouble c, FXdouble s)
 Multiply by rotation c,s about unit axis.
FXMat3drot (const FXVec3d &v, FXdouble phi)
 Multiply by rotation of phi about unit axis.
FXMat3dxrot (FXdouble c, FXdouble s)
 Multiply by x-rotation.
FXMat3dxrot (FXdouble phi)
FXMat3dyrot (FXdouble c, FXdouble s)
 Multiply by y-rotation.
FXMat3dyrot (FXdouble phi)
FXMat3dzrot (FXdouble c, FXdouble s)
 Multiply by z-rotation.
FXMat3dzrot (FXdouble phi)
FXMat3dscale (FXdouble sx, FXdouble sy, FXdouble sz)
 Multiply by scaling.
FXMat3dscale (const FXVec3d &v)
FXMat3dscale (FXdouble s)
FXdouble det () const
 Determinant.
FXMat3d transpose () const
 Transpose.
FXMat3d invert () const
 Invert.
 ~FXMat3d ()
 Destructor.

Protected Attributes

FXVec3d m [3]

Detailed Description

Double-precision 3x3 matrix.


The documentation for this class was generated from the following file:

Copyright © 1997-2016 Jeroen van der Zijp