trnsystor.utils.affine_transform¶
-
trnsystor.utils.
affine_transform
(geom, matrix=None)[source]¶ Apply affine transformation to geometry.
By, default, flip geometry along the x axis.
Hint
visit affine_matrix for other affine transformation matrices.
- Parameters
geom (BaseGeometry) – The geometry.
matrix (np.array) – The coefficient matrix is provided as a list or tuple.