27.13.3 Cylinders
The
cylinder
command creates cylinders.
cylinder
takes three arguments:
A
, a point.
v
, a direction vector.
r
, a real number.
cylinder(
A
,
v
,
r
)
returns and draws the cylinder with axis through
A
in the direction
v
with a radius of
r
. 2θ.
Example
cylinder
([0,1,0],[0,0,1],3)