BUILT-IN MATHEMATICA SYMBOL

# Cylinder

Cylinder[{{x1, y1, z1}, {x2, y2, z2}}, r]
represents a cylinder of radius r around the line from to .

Cylinder[{{x1, y1, z1}, {x2, y2, z2}}]
represents a cylinder of radius 1.

## DetailsDetails

• Cylinder renders as a cylinder in Graphics3D.
• Cylinder represents the whole filled cylinder, not just the surface.
• The ends of the cylinder are disks.
• The cylinder radius can be specified either in absolute coordinates or as Scaled[s].
• Colors and other material properties of cylinders can be specified using color directives, as well as Specularity and Glow. »
• Cylinders can be specified as transparent using Opacity directives. »
• Cylinder[] is equivalent to Cylinder[{{0, 0, -1}, {0, 0, 1}}]. »
• Cylinder[{spec1, spec2, ...}] represents a collection of cylinders of radius 1.
• Cylinder[{spec1, spec2, ...}, r] represents a collection of cylinders of radius r.
• Cylinder[{spec1, spec2, ...}, {r1, r2, ...}] represents a collection of cylinders with specifications and radii .

## ExamplesExamplesopen allclose all

### Basic Examples (3)Basic Examples (3)

A unit radius and two units height cylinder:

 Out[1]=

A cylinder from the origin to with radius :

 Out[1]=

Differently styled cylinders:

 Out[1]=