geometry
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
Let AB be a directed line segment in the plane S. By the translation T⁡AB we mean the transformation of S onto itself which carries each point P of the plane into the point P1 of the plane such that the directed line segment PP1 is equal and parallel to the directed segment AB.
The directed segment AB is called the vector of the translation.
For a detailed description of Q (the object created), use the routine detail (i.e., detail(Q))
The command with(geometry,translation) allows the use of the abbreviated form of this command.
with⁡geometry:
Translation of a point
point⁡A,0,0:dsegment⁡dsg,point⁡M,0,0,point⁡N,1,0:
translation⁡Atra,A,dsg:
coordinates⁡Atra
1,0
translation of a circle
circle⁡c,point⁡OO,0,0,1:
translation⁡ctra1,c,dsg:
detail⁡c,ctra1
assume that the names of the horizontal and vertical axes are _x and _y, respectively assume that the names of the horizontal and vertical axes are _x and _y, respectively
name of the objectcform of the objectcircle2dname of the centerOOcoordinates of the center0,0radius of the circle1equation of the circle_x2+_y2−1=0,name of the objectctra1form of the objectcircle2dname of the centercenter_ctra1coordinates of the center1,0radius of the circle1equation of the circle_x2+_y2−2⁢_x=0
translation⁡ctra2,c,dsegment⁡dsg2,M,point⁡N1,0,1:
translation⁡ctra3,c,dsegment⁡dsg3,M,point⁡N2,−1,0:
translation⁡ctra4,c,dsegment⁡dsg4,M,point⁡N3,0,−1:
draw⁡ctra1,ctra2,ctra3,ctra4,c⁡style=LINE,numpoints=200,axes=BOX,style=POINT,title=`translation of a circle`
See Also
geometry/objects
geometry/transformation
geometry[segment]
Download Help Document