geom3d - Maple Programming Help

Home : Support : Online Help : Mathematics : Geometry : 3-D Euclidean : Transformations : geom3d/rotation

geom3d

 rotation
 find the rotation of a geometric object about an axis

 Calling Sequence rotation(Q, P, g, l)

Parameters

 Q - the name of the object to be created P - geometric object g - the angle of rotation l - the axis of rotation

Description

 • In rotation about an axis, each point P of the set S of all points of unextended space is carried into a point P1 of S by rotating P about a fixed line in space through a given angle.
 • The fixed line is called the axis of rotation.
 • For a detailed description of the object created Q, use the routine detail (i.e., detail(Q))
 • The command with(geom3d,rotation) allows the use of the abbreviated form of this command.

Examples

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

Define a stellated icosahedron

 > $\mathrm{stellate}\left(\mathrm{ico1},\mathrm{icosahedron}\left(\mathrm{ico},\mathrm{point}\left(o,3,3,3\right),1.\right),12\right)$
 ${\mathrm{ico1}}$ (1)

 > $\mathrm{line}\left(l,\left[0,0,t\right],t\right)$
 ${l}$ (2)
 > $\mathrm{rotation}\left(\mathrm{ico2},\mathrm{ico1},\mathrm{evalf}\left(\mathrm{\pi }\right),l\right)$
 ${\mathrm{ico2}}$ (3)
 > $\mathrm{draw}\left(\left[\mathrm{ico1},\mathrm{ico2}\right],\mathrm{orientation}=\left[0,32\right],\mathrm{style}=\mathrm{patch},\mathrm{lightmodel}=\mathrm{light4}\right)$