### 12.14.2 Translation in space: translation

See section 11.15.2 for translations in the plane.

The translation command takes one or two arguments. The first
argument is the translation vector given by a list of coordinates, the
optional second argument is a geometric object.

With one argument, translation returns a command which
translates objects along the given vector.

Input:

t := translation([1,1,1])

then:

t(point(1,2,3))

returns and draws the point at (1,2,3)+(1,1,1) = (2,3,4).

With two arguments, a vector and an object, transformation
returns and draws the translated object.

Input:

translation([1,1,1],line([0,0,0],[1,2,3]))

returns and draws the line through (0,0,0)+(1,1,1)=(1,1,1) and
(1,2,3)+(1,1,1)=(2,3,4).