plottools - Maple Programming Help

Home : Support : Online Help : Graphics : Packages : Plot Tools : plottools/dodecahedron

plottools

 dodecahedron
 generate 3-D plot object for a dodecahedron

 Calling Sequence dodecahedron([x, y, z], s, options)

Parameters

 [x, y, z] - location of the dodecahedron s - (optional) scale of the dodecahedron; default is 1 options - (optional) equations of the form option=value. For a complete list, see plot3d/options.

Description

 • The dodecahedron command creates a three-dimensional plot data object, which when displayed is a scaled dodecahedron located at point [x, y, z]. Note that the scale factor is applied in each dimension. This command is an interface to the plots[polyhedraplot] routine.
 • The plot data object produced by the dodecahedron command can be used in a PLOT3D data structure, or displayed using the plots[display] command.
 • Remaining arguments are interpreted as options, which are specified as equations of the form option = value. For more information, see plottools and plot3d/options.

Examples

 > $\mathrm{with}\left(\mathrm{plottools}\right):$
 > $\mathrm{with}\left(\mathrm{plots}\right):$
 > $\mathrm{display}\left(\mathrm{dodecahedron}\left(\left[0,0,0\right],0.8\right),\mathrm{lightmodel}=\mathrm{light2},\mathrm{shading}=\mathrm{xy}\right)$
 > $\mathrm{display}\left(\mathrm{dodecahedron}\left(\left[0,0,0\right],0.8\right),\mathrm{dodecahedron}\left(\left[1,1,1\right],0.5\right),\mathrm{orientation}=\left[45,0\right]\right)$