Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Visualization and Graphics > Computational Geometry > Geometric Transforms >
Mathematica > Visualization and Graphics > Symbolic Graphics Language > Graphics Transformations > Geometric Transforms >

TransformationMatrix

TransformationMatrix[tfun]
gives the homogeneous matrix associated with a TransformationFunction object.
  • mat[[1;;n, 1;;n]] gives the linear part of the transformation; mat[[1;;n, -1]] gives the displacement vector.
Here t is defined to be a rotation around the z axis:
Get the transformation matrix:
The linear part:
The displacement vector:
Here t is defined to be a rotation around the z axis:
In[1]:=
Click for copyable input
Out[1]=
Get the transformation matrix:
In[2]:=
Click for copyable input
Out[2]=
The linear part:
In[3]:=
Click for copyable input
Out[3]=
The displacement vector:
In[4]:=
Click for copyable input
Out[4]=
Translation matrix in four dimensions:
Transformation of homogenous coordinates:
Points at infinity do not change under translation:
The matrix of a general 2D affine transform:
Composition of linear fractional transformations corresponds to the product of their matrices:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team