 translation - Maple Help

geom3d

 translation
 find the translation of a geometric object with respect to a directed segment. Calling Sequence translation(Q, obj, AB) Parameters

 Q - the name of the object to be created obj - geometric object AB - directed segment Description

 • In translation, the set S of all points of unextended space is mapped onto itself by carrying each point P of S into a point P1 such that the directed segment PP1 is equal and parallel to a given directed segment AB.
 • The directed segment AB is called the vector of the translation.
 • The command with(geom3d,translation) allows the use of the abbreviated form of this command. Examples

 > $\mathrm{with}\left(\mathrm{geom3d}\right):$

Define a stellated icosahedron where the core having center (0,0,0), radius of the circum-sphere 1

 > $\mathrm{stellate}\left(\mathrm{ico1},\mathrm{icosahedron}\left(\mathrm{ico},\mathrm{point}\left(o,0,0,0\right),1\right),20\right)$
 ${\mathrm{ico1}}$ (1)

Define directed line segment A(0,0,0), B(5,0,0)

 > $\mathrm{dsegment}\left(\mathrm{AB},\mathrm{point}\left(A,0,0,0\right),\mathrm{point}\left(B,5,0,0\right)\right):$

Translate ico1 with respect to the directed segment AB

 > $\mathrm{translation}\left(\mathrm{ico2},\mathrm{ico1},\mathrm{AB}\right)$
 ${\mathrm{ico2}}$ (2)

Plotting:

 > $\mathrm{draw}\left(\left[\mathrm{ico1},\mathrm{ico2}\right],\mathrm{style}=\mathrm{patch},\mathrm{orientation}=\left[0,32\right],\mathrm{lightmodel}=\mathrm{light4},\mathrm{title}=\mathrm{translation of a stellated icosahedron}\right)$