geolib2
|
#include <math_types.h>
Public Member Functions | |
Vec3T< T > | getColumn (int i) const |
void | getRotation (QuaternionT< T > &q) const |
Vec3T< T > | getRow (int i) const |
Mat3T () | |
Mat3T (const Mat3T &v)=default | |
Mat3T (const T *values) | |
Mat3T (T value) | |
Mat3T (T xx_, T xy_, T xz_, T yx_, T yy_, T yz_, T zx_, T zy_, T zz_) | |
Mat3T (Vec3T< T > x, Vec3T< T > y, Vec3T< T > z) | |
void | normalize () |
Mat3T | normalized () |
bool | operator!= (const Mat3T &m) const |
T & | operator() (int i, int j) |
const T & | operator() (int i, int j) const |
Mat3T | operator* (const Mat3T &m) const |
Vec3T< T > | operator* (const Vec3T< T > &v) const |
Mat3T | operator* (T s) const |
multiplies vector with a scalar More... | |
Mat3T | operator+ (const Mat3T &m) const |
returns addition with v More... | |
Mat3T | operator- (const Mat3T &m) const |
returns this minus m More... | |
Mat3T | operator/ (T s) const |
divides matrix by scalar More... | |
Mat3T & | operator= (const Mat3T &m) |
bool | operator== (const Mat3T &m) const |
T & | operator[] (const uint i) |
const T & | operator[] (const uint i) const |
Mat2T< T > | projectTo2d () const |
Drops the rotation of the 3rd coordinate. More... | |
void | setRotation (const QuaternionT< T > &q) |
void | setRPY (T roll, T pitch, T yaw) |
Mat3T | transpose () const |
~Mat3T () | |
Static Public Member Functions | |
static Mat3T | identity () |
Public Attributes | |
union { | |
struct { | |
T xx | |
T xy | |
T xz | |
T yx | |
T yy | |
T yz | |
T zx | |
T zy | |
T zz | |
} | |
T m [9] | |
}; | |
Friends | |
Mat3T | operator* (T s, const Mat3T &m) |
multiplies vector with a scalar More... | |
std::ostream & | operator<< (std::ostream &out, const Mat3T &m) |
Definition at line 16 of file math_types.h.
|
inline |
Definition at line 403 of file math_types.h.
|
default |
|
inline |
Definition at line 406 of file math_types.h.
|
inline |
Definition at line 409 of file math_types.h.
|
inline |
Definition at line 411 of file math_types.h.
|
inline |
Definition at line 413 of file math_types.h.
|
inline |
Definition at line 425 of file math_types.h.
|
inline |
Definition at line 495 of file math_types.h.
|
inline |
Definition at line 520 of file math_types.h.
|
inline |
Definition at line 491 of file math_types.h.
|
inlinestatic |
Definition at line 516 of file math_types.h.
|
inline |
Definition at line 580 of file math_types.h.
|
inline |
Definition at line 587 of file math_types.h.
|
inline |
Definition at line 437 of file math_types.h.
|
inline |
Definition at line 472 of file math_types.h.
|
inline |
Definition at line 476 of file math_types.h.
|
inline |
Definition at line 457 of file math_types.h.
|
inline |
Definition at line 451 of file math_types.h.
|
inline |
multiplies vector with a scalar
Definition at line 463 of file math_types.h.
|
inline |
returns addition with v
Definition at line 442 of file math_types.h.
|
inline |
returns this minus m
Definition at line 447 of file math_types.h.
|
inline |
divides matrix by scalar
Definition at line 468 of file math_types.h.
|
inline |
Definition at line 416 of file math_types.h.
|
inline |
Definition at line 431 of file math_types.h.
|
inline |
Definition at line 427 of file math_types.h.
|
inline |
Definition at line 429 of file math_types.h.
|
inline |
Drops the rotation of the 3rd coordinate.
Definition at line 563 of file math_types.h.
|
inline |
Definition at line 546 of file math_types.h.
|
inline |
Definition at line 499 of file math_types.h.
|
inline |
Definition at line 485 of file math_types.h.
multiplies vector with a scalar
Definition at line 481 of file math_types.h.
|
friend |
Definition at line 568 of file math_types.h.
union { ... } |
T geo::Mat3T< T >::m[9] |
Definition at line 577 of file math_types.h.
T geo::Mat3T< T >::xx |
Definition at line 576 of file math_types.h.
T geo::Mat3T< T >::xy |
Definition at line 576 of file math_types.h.
T geo::Mat3T< T >::xz |
Definition at line 576 of file math_types.h.
T geo::Mat3T< T >::yx |
Definition at line 576 of file math_types.h.
T geo::Mat3T< T >::yy |
Definition at line 576 of file math_types.h.
T geo::Mat3T< T >::yz |
Definition at line 576 of file math_types.h.
T geo::Mat3T< T >::zx |
Definition at line 576 of file math_types.h.
T geo::Mat3T< T >::zy |
Definition at line 576 of file math_types.h.
T geo::Mat3T< T >::zz |
Definition at line 576 of file math_types.h.