geom3d
homothety
Find the homothety of a geometric object
Calling Sequence
Parameters
Description
Examples
homothety(Q, P, k, O)
Q
-
the name of the object to be created
P
geometric object
k
number which is the ratio of the homothety
O
point which is the center of the homothety
In homothety, each point P of the set S of all points of unextended space is carried into the point P1 of S collinear with P and a fixed point O of space, and such that OP1OP=k, where k is a nonzero real number. Note that OP1, OP denote the sensed magnitudes of OP1 and OP.
For a detailed description of the object created Q, use the routine detail (i.e., detail(Q))
The command with(geom3d,homothety) allows the use of the abbreviated form of this command.
with⁡geom3d:
Define an icosahedron with center (0,0,0), radius of the circum-sphere 1
icosahedron⁡p1,point⁡o,0,0,0,1
p1
Construct a stellate (#10 in this example) of the given icosahedron
stellate⁡p2,p1,10
p2
Apply homothety transformation to p2 with ratio 3, and o being the center of the homothety
homothety⁡p3,p2,3,o
p3
Plotting:
draw⁡p2,p3,scaling=constrained,style=patch,lightmodel=light4,orientation=0,32,title=`homothety of a stellated icosahedron`
See Also
geom3d/objects
geom3d/transformation
geom3d[draw]
Download Help Document