rotation - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


geom3d

  

rotation

  

find the rotation of a geometric object about an axis

 

Calling Sequence

Parameters

Description

Examples

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

withgeom3d:

Define a stellated icosahedron

stellateico1,icosahedronico,pointo,3,3,3,1.,12

ico1

(1)

Rotate ico1 about the z-axis

linel,0,0,t,t

l

(2)

rotationico2,ico1,evalfπ,l

ico2

(3)

Plotting:

drawico1,ico2,orientation=0,32,style=patch,lightmodel=light4

See Also

geom3d/objects

geom3d/transformation