translation - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


geometry

  

translation

  

find the translation of a geometric object with respect to a directed segment

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

translation(Q, obj, AB)

Parameters

Q

-

the name of the object to be created

obj

-

geometric object

AB

-

directed segment

Description

• 

Let AB be a directed line segment in the plane S. By the translation TAB 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.

Examples

withgeometry:

Translation of a point

pointA,0,0:dsegmentdsg,pointM,0,0,pointN,1,0:

translationAtra,A,dsg:

coordinatesAtra

1,0

(1)

translation of a circle

circlec,pointOO,0,0,1:

translationctra1,c,dsg:

detailc,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+_y21=0,name of the objectctra1form of the objectcircle2dname of the centercenter_ctra1coordinates of the center1,0radius of the circle1equation of the circle_x2+_y22_x=0

(2)

translationctra2,c,dsegmentdsg2,M,pointN1,0,1:

translationctra3,c,dsegmentdsg3,M,pointN2,1,0:

translationctra4,c,dsegmentdsg4,M,pointN3,0,1:

drawctra1,ctra2,ctra3,ctra4,cstyle=LINE,numpoints=200,axes=BOX,style=POINT,title=`translation of a circle`

See Also

geometry/objects

geometry/transformation

geometry[segment]