Function compose_matrix(std::vector<double>)¶
Defined in File helper.cpp
Function Documentation¶
-
std::array<double, 6> compose_matrix(std::vector<double> parameters)¶
Composes 2x3 transformation matrix from shear, scale, rotation and translation parameters.
- Parameters
parameters – [sx, sy, shear, \( \phi \), tx, ty]
- Returns
2x3 transformation matrix