Public Member Functions |
|
| Matrix3 (const Matrix3 &other) |
|
| Matrix3 (T v00, T v01, T v02, T v10, T v11, T v12, T v20, T v21, T v22) |
|
| Matrix3 (const Vector3< T > &v0, const Vector3< T > &v1, const Vector3< T > &v2, bool columnVectors=false) |
|
| Matrix3 (float *values) |
|
| Matrix3 (double *values) |
|
template<typename U > |
| | Matrix3 (const Matrix3< U > &other) |
|
const Matrix3 & | operator= (const Matrix3 &other) |
|
const Matrix3 & | operator= (const T r) |
|
template<typename U > |
| const Matrix3 & | operator= (const Matrix3< U > &other) |
|
template<typename U > |
| const Matrix3 & | operator= (const Matrix4< U > &other) |
|
bool | operator== (const Matrix3 &other) const |
|
bool | operator!= (const Matrix3 &other) const |
|
void | set (const Matrix3 &other) |
|
void | set (const float *other) |
|
void | set (const double *other) |
|
void | set (T v00, T v01, T v02, T v10, T v11, T v12, T v20, T v21, T v22) |
|
bool | set (const std::string &values, char delimiter= ' ') |
|
bool | set (const std::vector< std::string > &values) |
|
Vector3< T > | getColumn (const size_t col) const |
|
Vector3< T > | getRow (const size_t row) const |
|
const T & | getElement (const size_t row, const size_t col) const |
|
void | setColumn (const size_t col, const Vector3< T > &colvec) |
|
void | setRow (const size_t row, const Vector3< T > &rowvec) |
|
void | setElement (const size_t row, const size_t col, const T value) |
|
Matrix3 | operator+ (const Matrix3 &other) const |
|
Matrix3 | operator- (const Matrix3 &other) const |
|
Matrix3 | operator* (const Matrix3 &other) const |
|
Matrix3 | operator* (const T scalar) const |
|
Matrix3 & | operator+= (const Matrix3 &other) |
|
Matrix3 & | operator-= (const Matrix3 &other) |
|
Matrix3 & | operator*= (const Matrix3 &other) |
|
Matrix3 & | operator*= (const T scalar) |
|
Vector3< T > | operator* (const Vector3< T > &other) const |
|
Matrix3 | getTransposed () const |
|
T | getDeterminant () const |
|
T | det () const |
|
bool | isPositiveDefinite (const T limit=-0.0000000001) |
|
bool | getInverse (Matrix3 &result, const T limit=0.0000000001) |
|
Matrix3 | getInverse (bool &isInvertible, const T limit=0.0000000001) |
|
void | tensor (const Vector3< T > &u, const Vector3< T > &v) |
|
Matrix3 | operator- () const |
|
Matrix3 | negate () const |
|
bool | getString (std::string &result, const std::string &delimiter=" ") const |
Public Attributes |
|
union { |
| struct { |
| T m00 |
| T m10 |
| T m20 |
| T m01 |
| T m11 |
| T m21 |
| T m02 |
| T m12 |
| T m22 |
| } | |
| T m [3][3] |
| T ml [9] |
| T array [9] |
| }; | |
Static Public Attributes |
|
static const Matrix3 | IDENTITY |
|
static const Matrix3 | ZERO |
Friends |
|
std::ostream & | operator<< (std::ostream &os, const Matrix3 &m) |