|
| Matrix33 (float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22) |
|
|
Matrix33 | getTranspose () const |
| Return the transpose of the matrix.
|
|
float | getDeterminant () const |
| Return the determinant of the matrix.
|
|
Matrix33 | getAdjugate () const |
| Return the adjugate of the matrix.
|
|
Matrix33 | getInverse () const |
| Return the inverse of the matrix.
|
|
| MatrixN (Uninit) |
|
| MatrixN (float s) |
|
| MatrixN (const float *begin, const float *end) |
|
bool | operator== (const Matrix33 &rhs) const |
| Return true if the given matrix is identical to this one.
|
|
bool | operator!= (const Matrix33 &rhs) const |
| Return true if the given matrix differs from this one.
|
|
bool | isEquivalent (const Matrix33 &rhs, float tolerance) const |
| Return true if the given matrix is equivalent to this one within a given floating-point tolerance.
|
|
RowArray & | operator[] (size_t i) |
| Return the row array at the given index.
|
|
const RowArray & | operator[] (size_t i) const |
| Return the const row array at the given index.
|
|
Matrix33 | operator+ (const Matrix33 &rhs) const |
| Component-wise addition of two matrices.
|
|
MatrixN & | operator+= (const Matrix33 &rhs) |
| Component-wise addition of two matrices.
|
|
Matrix33 | operator- (const Matrix33 &rhs) const |
| Component-wise subtraction of two matrices.
|
|
MatrixN & | operator-= (const Matrix33 &rhs) |
| Component-wise subtraction of two matrices.
|
|
Matrix33 | operator* (float s) const |
| Component-wise multiplication of a matrix and a scalar.
|
|
MatrixN & | operator*= (float s) |
| Component-wise multiplication of a matrix and a scalar.
|
|
Matrix33 | operator/ (float s) const |
| Component-wise division of a matrix by a scalar.
|
|
MatrixN & | operator/= (float s) |
| Component-wise division of a matrix by a scalar.
|
|
Matrix33 | operator* (const Matrix33 &rhs) const |
| Compute the matrix product.
|
|
MatrixN & | operator*= (const Matrix33 &rhs) |
| Compute the matrix product.
|
|
Matrix33 | operator/ (const Matrix33 &rhs) const |
| Divide the first matrix by the second (computed as the product of the first matrix and the inverse of the second).
|
|
MatrixN & | operator/= (const Matrix33 &rhs) |
| Divide the first matrix by the second (computed as the product of the first matrix and the inverse of the second).
|
|
Iterator | begin () |
|
ConstIterator | begin () const |
|
Iterator | end () |
|
ConstIterator | end () const |
|
float * | data () |
| Return a pointer to the underlying data array.
|
|
const float * | data () const |
| Return a const pointer to the underlying data array.
|
|
|
Vector3 | multiply (const Vector3 &v) const |
| Return the product of this matrix and a 3D vector.
|
|
Vector2 | transformPoint (const Vector2 &v) const |
| Transform the given 2D point.
|
|
Vector2 | transformVector (const Vector2 &v) const |
| Transform the given 2D direction vector.
|
|
Vector3 | transformNormal (const Vector3 &v) const |
| Transform the given 3D normal vector.
|
|
static Matrix33 | createTranslation (const Vector2 &v) |
| Create a translation matrix.
|
|
static Matrix33 | createScale (const Vector2 &v) |
| Create a scale matrix.
|
|
static Matrix33 | createRotation (float angle) |
| Create a rotation matrix. More...
|
|
A 3x3 matrix of floating-point values.
Vector transformation methods follow the row-vector convention, with matrix-vector multiplication computed as v' = vM.