See section 12.14.2 for translations in space.
The translation command can take one or two arguments.
If translation has a single argument, that argument is the
translation vector. The translation vector can be given as a vector,
list of coordinates, a difference of points or a complex number.
translation
returns a new command which performs the translation.
Input:
then:
Output:
If translation has two arguments, the first argument is a
translation vector as above, and the second argument is a geometric
object. translation returns and draws the translated object.
Input:
Output: