Mathematica > Visualization and Graphics > Symbolic Graphics Language > Graphics Objects >

Cone

Cone[{{x1, y1, z1}, {x2, y2, z2}}, r]
represents a cone with a base of radius r centered at (x1, y1, z1) and a tip at (x2, y2, z2).
Cone[{{x1, y1, z1}, {x2, y2, z2}}]
represents a cone with a base of radius 1.
  • Cone represents the whole filled cone, not just the surface.
  • The base of the cone is a disk.
  • The base radius of the cone can be specified either in absolute coordinates, or as Scaled[s].
  • Colors and other material properties of cones can be specified using color directives as well as Specularity and Glow.
  • Cones can be specified as transparent using Opacity directives.
  • Cone[] is equivalent to Cone[{{0, 0, -1}, {0, 0, 1}}].
  • Cone[{spec1, spec2, ...}] represents a collection of cones with base radius 1.
  • Cone[{spec1, spec2, ...}, r] represents a collection of cones with base radius r.
  • Cone[{spec1, spec2, ...}, {r1, r2, ...}] represents a collection of cones with specifications speci and base radii ri.
A unit radius and unit height cone:
In[1]:=
Click for copyable input
Out[1]=
A cone from the origin to {1, 1, 1} with radius 1/2 at its base:
In[2]:=
Click for copyable input
Out[2]=
 
Differently styled cones:
In[1]:=
Click for copyable input
Out[1]=
New in 7
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team