cone - Maple Help

plottools

 cone
 generate 3-D plot object for a cone

 Calling Sequence cone(c, r, h, options)

Parameters

 c - vertex of the cone r - (optional) radius of base circle of the cone; default is 1 h - (optional) height of the cone; default is 1 options - (optional) equations of the form option=value. For a complete list, see plot3d/option.

Description

 • The cone command creates a three-dimensional plot data object, which when displayed is a cone of height h.  The vertex of the cone is located at c.  The base circle of the cone is centered at c + [0,0,h] and of radius r.
 • The plot data object produced by the cone 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/option.

Examples

 > $\mathrm{with}\left(\mathrm{plottools}\right):$
 > $\mathrm{with}\left(\mathrm{plots}\right):$

An artificial ice-cream cone.

 > $\mathrm{icecream}≔\mathrm{cone}\left(\left[0,0,-2\right],0.7,2,\mathrm{color}="Tan"\right),\mathrm{sphere}\left(\left[0,0,0.2\right],0.75,\mathrm{color}="Pink",\mathrm{style}=\mathrm{patchnogrid}\right):$
 > $\mathrm{display}\left(\mathrm{icecream},\mathrm{scaling}=\mathrm{constrained},\mathrm{orientation}=\left[45,70\right]\right)$