x = a * x + b * y + c * z + xOff OR x = a * x + b * y + xOff
y = d * x + e * y + f * z + yOff OR y = d * x + e * y + yOff
z = g * x + f * y + i * z + zOff OR z = g * x + f * y + zOff
If the given geometry is empty, the result is also empty.
Signatures
Parameters
The input geometry to transform.
The
a coefficient of the affine transformation matrix.The
b coefficient of the affine transformation matrix.The
c coefficient of the affine transformation matrix (3D variant only).The
d coefficient of the affine transformation matrix.The
e coefficient of the affine transformation matrix.The
f coefficient of the affine transformation matrix (3D variant only).The
g coefficient of the affine transformation matrix (3D variant only).The
h coefficient of the affine transformation matrix (3D variant only).The
i coefficient of the affine transformation matrix (3D variant only).The X translation offset.
The Y translation offset.
The Z translation offset (3D variant only).
Return type
The resulting geometry.
Examples
LINESTRING EMPTY
POLYGON ((1 0 1, 1 1 1, 2 2 2, 1 0 1))
POLYGON ((1 0, 1 1, 2 1, 2 0, 1 0), (1 0.5, 1 0.75, 1.5 0.75, 1.5 0.5, 1 0.5))
POLYGON EMPTY
GEOMETRYCOLLECTION (MULTIPOLYGON (((1 0, 1 1, 2 1, 2 0, 1 0), (1 0.5, 1 0.75, 1.5 0.75, 1.5 0.5, 1 0.5)), ((5 0, 5 5, 7 5, 7 0, 5 0))), POINT (10 10))
POLYGON ((1 0 1, 1 1 1, 2 2 2, 1 0 1))

