Matrix.transformDistance

Transforms the distance vector (dx,dy) by matrix. This is similar to transformPoint except that the translation components of the transformation are ignored. The calculation of the returned vector is as follows:

dx2 = dx1 * a + dy1 * c;
dy2 = dx1 * b + dy1 * d;
struct Matrix
Point!double
transformDistance
(
Point!double dist
)

Meta