geometry
GlideReflection
find the glide-reflection of a geometric object
Calling Sequence
Parameters
Description
Examples
GlideReflection(Q, P, l, AB)
Q
-
the name of the object to be created
P
geometric object
l
line
AB
directed segment on l
Let l be a fixed line of the plane and AB a given directed segment on l. By the glide-reflection G⁡l,AB we mean the product R⁡lT⁡AB where R⁡l is the reflection with respect to the line l, and T⁡AB is the translation with respect to the directed segment AB. The line l is called the axis of the glide-reflection, and the directed segment AB on l is called the vector of the glide-reflection.
For a detailed description of Q (the object created), use the routine detail (i.e., detail(Q))
The command with(geometry,GlideReflection) allows the use of the abbreviated form of this command.
with⁡geometry:
dsegment⁡dsg,point⁡M,0,0,point⁡N,1,1:line⁡l1,M,N:
GlideReflection⁡Agli,point⁡AA,1,0,l1,dsg:
coordinates⁡Agli
1,2
dsegment⁡dsg,point⁡M,0,0,point⁡N,1,0:line⁡l,M,N:
circle⁡c1,point⁡OO,0,−1,1:
translate c1 with respect to the directed segment MN, then reflect this object with respect to the line l
GlideReflection⁡cgli,c1,l,dsg:
detail⁡cgli
assume that the names of the horizontal and vertical axes are _x and _y, respectively
name of the objectcgliform of the objectcircle2dname of the centercenter_cglicoordinates of the center1,1radius of the circle1equation of the circle_x2+_y2−2⁢_x−2⁢_y+1=0
draw⁡c1⁡color=blue,cgli⁡color=green,printtext=true
See Also
geometry[draw]
geometry[objects]
geometry[reflection]
geometry[transformation]
geometry[translation]
Download Help Document