This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Cylinder

Cylinder[{{x1, y1, z1}, {x2, y2, z2}}, r]
represents a cylinder of radius r around the line from (x1, y1, z1) to (x2, y2, z2).
Cylinder[{{x1, y1, z1}, {x2, y2, z2}}]
represents a cylinder of radius 1.
  • Cylinder represents the whole filled cylinder, not just the surface.
  • The ends of the cylinder are disks of radius r.
  • 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.  »
New in 6