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 > TranslationTransform >
Mathematica > Visualization and Graphics > Symbolic Graphics Language > Graphics Transformations > Geometric Transforms > TranslationTransform >

TranslationTransform

TranslationTransform[v]
gives a TransformationFunction that represents translation of points by a vector v.
Generate a function representing a translation by the vector :
Apply the transformation function to a vector:
Generate a function representing a translation by the vector :
In[1]:=
Click for copyable input
Out[1]=
Apply the transformation function to a vector:
In[2]:=
Click for copyable input
Out[2]=
Translation in four dimensions:
The inverse transform:
Apply the transform 5 times:
Use matrix operations and homogeneous coordinates:
Transformation applied to a 2D shape:
Transformation applied to a 3D shape:
Transforming graphics primitives:
A random translation walk:
Translating by and then by is the same as translating by :
The inverse of translating by is the same as translating by :
For geometric transformations use Translate directly:
Scale a 3D object about a point :
Translate along the axis:
Translate along the axis:
Translate along the axis:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF