5.3.4.111. Function motion_init_tmat3x3
Defined in File motion_struct.h
5.3.4.111.1. Function Documentation
-
void motion_init_tmat3x3(tmat3x3_t *tmat, const float cos_theta, const float sin_theta, const float tx, const float ty)
Initialize a
tmat3x3_ttransformation matrix from \(\cos(\theta)\), \(\sin(\theta)\) and \(\vec{t}\). The produced matrix is specialized for rigid transformations.- Parameters
tmat – An allocated
tmat3x3_ttransformation matrix.cos_theta – \(\cos(\theta)\) with \(\theta\) the rotation angle.
sin_theta – \(\sin(\theta)\) with \(\theta\) the rotation angle.
tx – Abscissa component of the translation vector \(\vec{t}\).
ty – Ordinate component of the translation vector \(\vec{t}\).