The OpenD Programming Language

Matrix.this

Sets matrix to be the affine transformation given by xx, yx, xy, yy, x0, y0. The transformation is given by:

x_new = xx * x + xy * y + x0;
y_new = yx * x + yy * y + y0;
struct Matrix
this
(
double xx
,
double yx
,
double xy
,
double yy
,
double x0
,
double y0
)

Parameters

xx double

xx component of the affine transformation

yx double

yx component of the affine transformation

xy double

xy component of the affine transformation

yy double

yy component of the affine transformation

x0 double

X translation component of the affine transformation

y0 double

Y translation component of the affine transformation

Meta