Previous Up Next

12.15.3  Cylinders: cylinder

The cylinder command takes as arguments a point A, a direction vector v and a real number r.

cylinder returns and draws the cylinder with axis through A in the direction v with a radius of r.
Input:

cylinder([0,1,0],[0,0,1],3)

Output:


Previous Up Next