Generate the homogeneous transformation matrix of the identical 2D transformation.
hom_mat2d_identity generates the homogeneous transformation matrix HomMat2DIdentity describing the identical 2D transformation:
/ 1 0 0 \
HomMat2DIdentity = | 0 1 0 |
\ 0 0 1 /
Note that homogeneous matrices are stored row-by-row as a tuple; the last row is not stored because it is identical for all homogeneous matrices that describe an affine transformation. Thus, HomMat2DIdentity is stored as the tuple [1,0,0,0,1,0].
|
HomMat2DIdentity (output_control) |
affine2d-array -> real |
| Transformation matrix. | |
| Number of elements: 6 | |
hom_mat2d_identity always returns 2 (H_MSG_TRUE).
hom_mat2d_identity is reentrant and processed without parallelization.
hom_mat2d_translate, hom_mat2d_scale, hom_mat2d_rotate, hom_mat2d_slant
Basic operators