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
Geometry
required
The input geometry to transform.
Double
required
The
a coefficient of the affine transformation matrix.Double
required
The
b coefficient of the affine transformation matrix.Double
The
c coefficient of the affine transformation matrix (3D variant only).Double
required
The
d coefficient of the affine transformation matrix.Double
required
The
e coefficient of the affine transformation matrix.Double
The
f coefficient of the affine transformation matrix (3D variant only).Double
The
g coefficient of the affine transformation matrix (3D variant only).Double
The
h coefficient of the affine transformation matrix (3D variant only).Double
The
i coefficient of the affine transformation matrix (3D variant only).Double
required
The X translation offset.
Double
required
The Y translation offset.
Double
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))

