 homothety - Maple Help

plottools

 homothety
 scale PLOT and PLOT3D data structures with the same ratio Calling Sequence homothety(p, a, pt_2d) homothety(q, a, pt_3d) Parameters

 p - plot data structure q - plot3d data structure a - real number pt_2d - (optional) list of two real numbers specifying the center of the homothety (for the 2-D case) pt_3d - (optional) list of three real numbers specifying the center of the homothety (for the 3-D case) Description

 • The homothety command is a special case of the plottools[scale] command where the ratios of the scaling with respect to the axis are the same.
 • There are several other commands in the plottools package that transform plots, and these are listed in the plottools help page. The plots[changecoords] and plots[display] commands can also be used to transform plots. Examples

Homothety of a stellated icosahedron

 > $\mathrm{with}\left(\mathrm{geom3d}\right):$
 > $\mathrm{icosahedron}\left(\mathrm{p1},\mathrm{point}\left(o,0,0,0\right),1\right):$
 > $\mathrm{stellate}\left(\mathrm{p2},\mathrm{p1},10\right):$
 > $p≔\mathrm{draw}\left(\mathrm{p2}\right):$
 > $q≔\mathrm{plottools}\left[\mathrm{homothety}\right]\left(p,3\right):$
 > $\mathrm{plots}\left[\mathrm{display}\right]\left(\left[p,q\right],\mathrm{scaling}=\mathrm{constrained},\mathrm{lightmodel}=\mathrm{light4},\mathrm{orientation}=\left[0,32\right]\right)$ 