torus - Maple Help

plottools

 torus
 generate 3-D plot object for a torus

 Calling Sequence torus([x, y, z], r, R, options)

Parameters

 [x, y, z] - (optional) center of the torus; default=[0,0,0] r - (optional) radius of the meridian; default=1 R - (optional) distance from center of meridian to center of the torus; default=2 options - (optional) equations of the form option=value. For a complete list, see plot3d/options.

Description

 • The torus command creates a three-dimensional plot data object, which when displayed is a torus centered at [x,y,z], whose meridian has radius r and distance from the center of a meridian to the center of the torus is R.
 • The plot data object produced by the torus 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{torus}\left(\left[1,1,1\right],1,2\right),\mathrm{scaling}=\mathrm{constrained},\mathrm{lightmodel}=\mathrm{light1},\mathrm{shading}=\mathrm{zgrayscale}\right)$