Function: apply()
apply(
affine,x,y): [number,number]
Defined in: affine.ts:77
Apply a geotransform to a coordinate.
That is, we apply this series of equations:
x_out = a * x + b * y + c
y_out = d * x + e * y + f
Parameters
affine
The affine transform to apply.
x
number
The x coordinate.
y
number
The y coordinate.
Returns
[number, number]
The transformed coordinates.