AffineTransform

AffineTransform[m]
gives a TransformationFunction that represents an affine transform that maps r to m.r.

AffineTransform[{m,v}]
gives an affine transform that maps r to m.r+v.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

A general affine transformation:

In[1]:=
Click for copyable input
Out[1]=

Transform points:

In[2]:=
Click for copyable input
Out[2]=

A pure rotation:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

A pure translation:

In[3]:=
Click for copyable input
Out[3]=
In[4]:=
Click for copyable input
Out[4]=
Introduced in 2007
(6.0)
Translate this page: