DOCUMENTATION CENTER SEARCH
Mathematica
>
Graphics Objects
>
Built-in
Mathematica
Symbol
Three-Dimensional Graphics Primitives
Tutorials »
|
Circle
Sphere
GraphicsComplex
RevolutionPlot3D
See Also »
|
Graphics Objects
Symbolic Graphics Language
New in 6.0: Graphics Primitives & Directives
New in 6.0: Visualization & Graphics
More About »
Cylinder
Cylinder
[{{
x
1
,
y
1
,
z
1
}, {
x
2
,
y
2
,
z
2
}},
r
]
represents a cylinder of radius
r
around the line from
(
x
1
,
y
1
,
z
1
)
to
(
x
2
,
y
2
,
z
2
)
.
Cylinder
[{{
x
1
,
y
1
,
z
1
}, {
x
2
,
y
2
,
z
2
}}]
represents a cylinder of radius 1.
MORE INFORMATION
Cylinder
renders as a cylinder in
Graphics3D
.
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.
»
Cylinder
[]
is equivalent to
Cylinder
[{{0, 0, -1}, {0, 0, 1}}]
.
»
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Cylinder with unit radius:
In[1]:=
Out[1]=
Differently styled cylinders:
In[1]:=
Out[1]=
Scope
(10)
Applications
(3)
Properties & Relations
(4)
Neat Examples
(2)
SEE ALSO
Circle
Sphere
GraphicsComplex
RevolutionPlot3D
TUTORIALS
Three-Dimensional Graphics Primitives
MORE ABOUT
Graphics Objects
Symbolic Graphics Language
New in 6.0: Graphics Primitives & Directives
New in 6.0: Visualization & Graphics
New in 6
© 2008 Wolfram Research, Inc.