geometry
StretchRotation
find the stretch-rotation of a geometric object
homology
find the homology of a geometric object
SpiralRotation
find the spiral-rotation of a geometric object
Calling Sequence
Parameters
Description
Examples
StretchRotation(Q, P, O, theta, dir, k)
homology(Q, P, O, theta, dir, k)
SpiralRotation(Q, P, O, theta, dir, k)
Q
-
the name of the object to be created
P
geometric object
O
point which is the center of the homology
theta
number which is the angle of the homology
dir
name which is either clockwise or counterclockwise
k
number which is the ratio of the homology
Let O be a fixed point in the plane, k a given nonzero real number, theta and dir denote a given sensed angle. By the homology (or stretch-rotation, or spiral-rotation) HO,k,θ we mean the product RO,thetaHO,k where RO,θ,dir is the rotation with respect to O an angle theta in direction dir and HO,k is the dilatation with respect to the center O and ratio k.
Point O is called the center of the homology, k the ratio of the homology, theta and dir the angle of the homology.
For a detailed description of Q (the object created), use the routine detail (i.e., detail(Q))
The command with(geometry,StretchRotation) allows the use of the abbreviated form of this command.
withgeometry:
pointOO,0,0:
define the parabola with vertex at (0,0) and focus at (0,1/2)
parabolap1,vertex=pointver,0,0,focus=pointfo,0,12:
Equationp1,x,y
x24−y2=0
homologyp2,p1,OO,π2,counterclockwise,2:
Equationp2
y216+x4=0
homologyp3,p1,OO,π,counterclockwise,2:
Equationp3
x216+y4=0
homologyp4,p1,OO,π2,clockwise,2:
Equationp4
y216−x4=0
homologyp5,p1,OO,0,clockwise,2:
Equationp5
x216−y4=0
drawp2,p3,p4,p5,p1color=green,style=LINE,thickness=2,numpoints=50,style=POINT,numpoints=200,color=brown,title=`homology of a parabola`
See Also
geometry/objects
geometry/transformation
geometry[dilatation]
geometry[draw]
geometry[reflection]
Download Help Document