geom3d
translation
find the translation of a geometric object with respect to a directed segment.
Calling Sequence
Parameters
Description
Examples
translation(Q, obj, AB)
Q
-
the name of the object to be created
obj
geometric object
AB
directed segment
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.
withgeom3d:
Define a stellated icosahedron where the core having center (0,0,0), radius of the circum-sphere 1
stellateico1,icosahedronico,pointo,0,0,0,1,20
ico1
Define directed line segment A(0,0,0), B(5,0,0)
dsegmentAB,pointA,0,0,0,pointB,5,0,0:
Translate ico1 with respect to the directed segment AB
translationico2,ico1,AB
ico2
Plotting:
drawico1,ico2,style=patch,orientation=0,32,lightmodel=light4,title=`translation of a stellated icosahedron`
See Also
geom3d/objects
geom3d/transformation
geom3d[segment]
Download Help Document