Closed Kirill888 closed 5 years ago
I believe that itransform is incorrect for Affine matrices that have rotation/shear
itransform
I assume that A.itransform(pts) is equivalent to:
A.itransform(pts)
pts = [A*pt for pt in pts]
It's not for affine transforms that have non-zero off-diagonal entries.
I think on this line sd <-> sb are swapped https://github.com/sgillies/affine/blob/b125a6397c2a0ff4d7587a43b8678ee5f54765ed/affine/__init__.py#L519
sd <-> sb
Unit test only checks with scale only matrix.
I believe that
itransform
is incorrect for Affine matrices that have rotation/shearI assume that
A.itransform(pts)
is equivalent to:It's not for affine transforms that have non-zero off-diagonal entries.
I think on this line
sd <-> sb
are swapped https://github.com/sgillies/affine/blob/b125a6397c2a0ff4d7587a43b8678ee5f54765ed/affine/__init__.py#L519Unit test only checks with scale only matrix.