This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# AffineTransform

 AffineTransform[m] gives a TransformationFunction that represents an affine transform that maps r to . AffineTransformgives an affine transform that maps r to .
• For ordinary affine transforms in dimensions, m is an × matrix.
• AffineTransform in general supports × matrices for transformations in dimensions.
A general affine transformation:
Transform points:
A pure rotation:
A pure translation:
A general affine transformation:
 Out[1]=
Transform points:
 Out[2]=

A pure rotation:
 Out[1]=
 Out[2]=
A pure translation:
 Out[3]=
 Out[4]=
 Scope   (3)
Affine transform in four dimensions:
The inverse transform:
Transformation applied to a 2D shape:
Transformation applied to a 3D shape:
 Applications   (1)
Transforming graphics primitives:
Many other geometric transformations are a special case of affine transform:
In turn, an affine transformation is a special case of a linear-fractional transformation:
The composition of affine transforms is an affine transform:
Nested transformations of a circle:
New in 6