Support Forum G3D Web Page |
A 3x4 matrix. More...
Public Member Functions | |
Matrix3x4 (const Any &any) | |
Must be in one of the following forms: More... | |
Matrix3x4 (float r1c1, float r1c2, float r1c3, float r1c4, float r2c1, float r2c2, float r2c3, float r2c4, float r3c1, float r3c2, float r3c3, float r3c4) | |
Matrix3x4 (DoNotInitialize dni) | |
Matrix3x4 (const float *init) | |
init should be row major. More... | |
Matrix3x4 (const class Matrix3 &m3x3) | |
Matrix3x4 (const class Matrix4 &m4x4) | |
Matrix3x4 (const class CoordinateFrame &c) | |
Matrix3x4 (const double *init) | |
Matrix3x4 () | |
Matrix3x4::zero() More... | |
bool | allFinite () const |
bool | anyNaN () const |
bool | fuzzyEq (const Matrix3x4 &b) const |
operator const float * () const | |
operator float * () | |
Returns a row-major pointer. More... | |
bool | operator!= (const Matrix3x4 &other) const |
Matrix3x4 | operator* (const class PhysicsFrame &other) const |
Acts as if both matrices had final rows of [0, 0, 0, 1]. More... | |
Matrix3x4 | operator* (const class CoordinateFrame &other) const |
Acts as if both matrices had final rows of [0, 0, 0, 1]. More... | |
Matrix3x4 | operator* (const Matrix3x4 &other) const |
Acts as if both matrices had final rows of [0, 0, 0, 1]. More... | |
Matrix3x4 | operator* (const Matrix4 &other) const |
Vector3 | operator* (const Vector4 &other) const |
Matrix3x4 | operator* (const float s) const |
Matrix3x4 | operator+ (const Matrix3x4 &other) const |
Matrix3x4 | operator- (const Matrix3x4 &other) const |
Matrix3x4 | operator/ (const float s) const |
Matrix3x4 & | operator= (const CoordinateFrame &c) |
bool | operator== (const Matrix3x4 &other) const |
float * | operator[] (int r) |
const float * | operator[] (int r) const |
Any | toAny () const |
String | toString () const |
Static Public Member Functions | |
static const Matrix3x4 & | fromIdentity () |
static const Matrix3x4 & | zero () |
A 3x4 matrix.
Do not subclass. Data is initialized to 0 when default constructed.
|
explicit |
Must be in one of the following forms:
G3D::Matrix3x4::Matrix3x4 | ( | float | r1c1, |
float | r1c2, | ||
float | r1c3, | ||
float | r1c4, | ||
float | r2c1, | ||
float | r2c2, | ||
float | r2c3, | ||
float | r2c4, | ||
float | r3c1, | ||
float | r3c2, | ||
float | r3c3, | ||
float | r3c4 | ||
) |
|
inline |
G3D::Matrix3x4::Matrix3x4 | ( | const float * | init | ) |
init should be row major.
|
explicit |
|
explicit |
|
explicit |
G3D::Matrix3x4::Matrix3x4 | ( | const double * | init | ) |
G3D::Matrix3x4::Matrix3x4 | ( | ) |
bool G3D::Matrix3x4::allFinite | ( | ) | const |
bool G3D::Matrix3x4::anyNaN | ( | ) | const |
|
static |
bool G3D::Matrix3x4::fuzzyEq | ( | const Matrix3x4 & | b | ) | const |
|
inline |
|
inline |
Returns a row-major pointer.
bool G3D::Matrix3x4::operator!= | ( | const Matrix3x4 & | other | ) | const |
Matrix3x4 G3D::Matrix3x4::operator* | ( | const class PhysicsFrame & | other | ) | const |
Acts as if both matrices had final rows of [0, 0, 0, 1].
Matrix3x4 G3D::Matrix3x4::operator* | ( | const class CoordinateFrame & | other | ) | const |
Acts as if both matrices had final rows of [0, 0, 0, 1].
Acts as if both matrices had final rows of [0, 0, 0, 1].
Matrix3x4 G3D::Matrix3x4::operator* | ( | const float | s | ) | const |
Matrix3x4 G3D::Matrix3x4::operator/ | ( | const float | s | ) | const |
Matrix3x4& G3D::Matrix3x4::operator= | ( | const CoordinateFrame & | c | ) |
bool G3D::Matrix3x4::operator== | ( | const Matrix3x4 & | other | ) | const |
|
inline |
|
inline |
Any G3D::Matrix3x4::toAny | ( | ) | const |
String G3D::Matrix3x4::toString | ( | ) | const |
|
static |