Template Class SbgMatrix3
Defined in File sbg_matrix3.h
Class Documentation
-
template<class T>
class SbgMatrix3 Public Functions
-
inline SbgMatrix3()
Empty constructor.
-
inline SbgMatrix3(T value00, T value01, T value02, T value10, T value11, T value12, T value20, T value21, T value22)
Constructor.
- Parameters:
value00 – [in] Matrix X value.
value01 – [in] Matrix Y value.
value02 – [in] Matrix Z value.
value10 – [in] Matrix X value.
value11 – [in] Matrix Y value.
value12 – [in] Matrix Z value.
value20 – [in] Matrix X value.
value21 – [in] Matrix Y value.
value22 – [in] Matrix Z value.
-
inline SbgMatrix3(const T *p_raw_data, size_t array_size)
Constructor.
- Parameters:
p_raw_data – [in] Pointer to data array.
array_size – [in] Array size (Should be defined as 9).
-
inline const T operator()(int i, int j) const
Getter parenthesis operator.
- Parameters:
i – [in] Line.
j – [in] Column.
- Returns:
Element at index.
-
inline const SbgVector3<T> operator*(const SbgVector3<T> &vect) const
-
inline void transpose()
-
inline void makeDcm(const SbgVector3f &euler)
Make DCM from euler angles vector
- Parameters:
vect – [in] Euler angles vector.
x – [in] Quaternion x value.
y – [in] Quaternion y value.
z – [in] Quaternion z value.
-
inline void makeDcm(float w, float x, float y, float z)
Make DCM from quaternion values
- Parameters:
w – [in] Quaternion w value.
x – [in] Quaternion x value.
y – [in] Quaternion y value.
z – [in] Quaternion z value.
-
inline SbgMatrix3()