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) H⁡O,k,θ we mean the product R⁡O,thetaH⁡O,k where R⁡O,θ,dir is the rotation with respect to O an angle theta in direction dir and H⁡O,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.
with⁡geometry:
point⁡OO,0,0:
define the parabola with vertex at (0,0) and focus at (0,1/2)
parabola⁡p1,vertex=point⁡ver,0,0,focus=point⁡fo,0,12:
Equation⁡p1,x,y
x24−y2=0
homology⁡p2,p1,OO,π2,counterclockwise,2:
Equation⁡p2
y216+x4=0
homology⁡p3,p1,OO,π,counterclockwise,2:
Equation⁡p3
x216+y4=0
homology⁡p4,p1,OO,π2,clockwise,2:
Equation⁡p4
y216−x4=0
homology⁡p5,p1,OO,0,clockwise,2:
Equation⁡p5
x216−y4=0
draw⁡p2,p3,p4,p5,p1⁡color=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