Cone

Cone[{{x1,y1,z1},{x2,y2,z2}},r]
represents a cone with a base of radius r centered at and a tip at .

Cone[{{x1,y1,z1},{x2,y2,z2}}]
represents a cone with a base of radius 1.

DetailsDetails

  • Cone can be used as a geometric region and a graphics primitive.
  • Cone[] is equivalent to Cone[{{0,0,-1},{0,0,1}}].
  • Cone represents a filled cone region where and the vectors are orthogonal with TemplateBox[{{v, _, 1}}, Norm]=TemplateBox[{{v, _, 2}}, Norm]=1, and and .
  • Cone can be used in Graphics3D.
  • In graphics, the points and radii r can be Scaled and Dynamic expressions.
  • Graphics rendering is affected by directives such as EdgeForm, FaceForm, Specularity, Opacity, and color.
  • Cone[{spec1,spec2,},{r1,r2,}] represents a collection of cones with specifications and base radii .

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

A unit radius and two units height cone:

In[1]:=
Click for copyable input
Out[1]=

A cone from the origin to with radius at its base:

In[1]:=
Click for copyable input
Out[1]=

Differently styled cones:

In[1]:=
Click for copyable input
Out[1]=

Volume and centroid:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2008
(7.0)
| Updated in 2014
(10.0)