geom3d
rotation
find the rotation of a geometric object about an axis
Calling Sequence
Parameters
Description
Examples
rotation(Q, P, g, l)
Q
-
the name of the object to be created
P
geometric object
g
the angle of rotation
l
the axis of rotation
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.
with⁡geom3d:
Define a stellated icosahedron
stellate⁡ico1,icosahedron⁡ico,point⁡o,3,3,3,1.,12
ico1
Rotate ico1 about the z-axis
line⁡l,0,0,t,t
rotation⁡ico2,ico1,evalf⁡π,l
ico2
Plotting:
draw⁡ico1,ico2,orientation=0,32,style=patch,lightmodel=light4
See Also
geom3d/objects
geom3d/transformation
Download Help Document