find the rotation of a geometric object about an axis - Maple Help

Online Help

All Products    Maple    MapleSim

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

 > with(geom3d):

Define a stellated icosahedron

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

Rotate ico1 about the z-axis

 > line(l,[0,0,t],t);
 ${l}$ (2)
 > rotation(ico2,ico1,evalf(Pi),l);
 ${\mathrm{ico2}}$ (3)

Plotting:

 > draw([ico1,ico2],orientation=[0,32],style=patch,lightmodel=light4);
 See Also

Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam