Affine(geometry,float8,float8,float8,float8,float8,float8)
Applies an 2d affine transformation to the geometry. The call
Affine(geom, a, b, d, e, xoff, yoff)
represents the transformation matrix
/ a b 0 xoff \ / a b xoff \
| d e 0 yoff | rsp. | d e yoff |
| 0 0 1 0 | \ 0 0 1 /
\ 0 0 0 1 /
and the vertices are transformed as follows:
x' = a*x + b*y + xoff
y' = d*x + e*y + yoff
z' = z
Comments: ** Comment from web user: jocheng **
Applies an 2d affine transformation to the geometry. The call
Affine(geom, a, b, d, e, xoff, yoff)
represents the transformation matrix
/ a b 0 xoff \ / a b xoff \
| d e 0 yoff | rsp. | d e yoff |
| 0 0 1 0 | \ 0 0 1 /
\ 0 0 0 1 /
and the vertices are transformed as follows:
x' = a*x + b*y + xoff
y' = d*x + e*y + yoff
z' = z
Comments: ** Comment from web user: jocheng **
I've implemented Translate, Scale and Affine by transformation classes inherited from IMathTransform.
So if there is any interest, please give me a notice.