geom3d[draw] - create a three-dimensional plot of objects supported in the geom3d package
|
Calling Sequence
|
|
draw(obj,...)
draw([obj_1,...,obj_n],...)
|
|
Parameters
|
|
obj
|
-
|
object to be plotted
|
[obj_1, ..., obj_n]
|
-
|
list of object(s) to be plotted
|
|
|
|
|
Description
|
|
•
|
The routine draw provides the graphical visualization of all objects supported in the geom3d package.
|
•
|
A typical call to the draw function is draw([ obj_1(localopts_1),...,obj_n(localopts_n) ], globalopts) where obj_1, ..., obj_n are geometric objects, localopts_1, ..., localopts_n are local options for a particular object, and globalopts are options which apply to all of the objects.
|
•
|
localopts_i is a sequence of type equation. The set of options allowed for localopts_i is color, contours, grid, gridstyle, linestyle, numpoints, style, symbol, symbolsize, thickness, cutout, cutin, transparency. The contours, grid, numpoints, cutout and cutin options can only be provided as local options.
|
•
|
globalopts: the set of options allowed for globalopts is the same as that for plot3d. Besides these options, two options cutin, cutout are added. See plottools[cutin] and plottools[cutout]. Also see plot/options for detailed descriptions of other options.
|
•
|
Note that the localopts_i that are defined for an object have precedence over globalopts when obj_i is drawn.
|
•
|
The command with(geom3d) allows the use of the short form of this command.
|
|
|
Examples
|
|
>
|
|
>
|
|
Define small stellated dodecahedron p with center o, radius r:
>
|
|
Find the reciprocal polyhedron dp of p with respect to the sphere s
>
|
|
>
|
|
The commands to create the plot from the Plotting Guide are
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
>
|
|
>
|
|
|
|