Add a translation to a homogeneous 2D transformation matrix.
::hom_mat2d_translate adds a translation by the vector (Tx,Ty) to a homogeneous 2D transformation matrix HomMat2D. The resulting matrix is returned in HomMat2DTranslate.
|
HomMat2D (input_control) |
affine2d-array -> HTuple.double |
| Input transformation matrix. | |
| Number of elements: 6 | |
|
Tx (input_control) |
point.x -> HTuple.double / long |
| Translation along the x-axis. | |
| Default value: 64 | |
| Suggested values: 0, 16, 32, 64, 128, 256, 512, 1024 | |
| Typical range of values: 0 <= Tx <= 1024 | |
| Minimum increment: 1 | |
|
Recommended increment: 10 | |
|
Ty (input_control) |
point.y -> HTuple.double / long |
| Translation along the y-axis. | |
| Default value: 64 | |
| Suggested values: 0, 16, 32, 64, 128, 256, 512, 1024 | |
| Typical range of values: 0 <= Ty <= 1024 | |
| Minimum increment: 1 | |
|
Recommended increment: 10 | |
|
HomMat2DTranslate (output_control) |
affine2d-array -> HTuple.double * |
| Output transformation matrix. | |
| Number of elements: 6 | |
::hom_mat2d_identity always returns H_MSG_TRUE.
::hom_mat2d_identity, ::hom_mat2d_translate, ::hom_mat2d_scale, ::hom_mat2d_rotate
::hom_mat2d_translate, ::hom_mat2d_scale, ::hom_mat2d_rotate
Basic operators