home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 16 / CD_ASCQ_16_0994.iso / news / 2555 / povhlp / cylinder.hlp < prev    next >
Encoding:
Text File  |  1994-07-04  |  831 b   |  17 lines

  1.     A finite length cylinder with parallel end caps may be defined by:
  2.        cylinder { <END1>, <END2>, RADIUS }
  3.  where <END1> and <END2> are vectors defining the x,y,z coordinates of the
  4.  center of each end of the cylinder and RADIUS is a float value for the ra-
  5.  dius.  For example:
  6.        cylinder { <0, 0, 0>, <3, 0, 0>, 2}
  7.  is a cylinder 3 units long lying along the x axis from the origin to x=3
  8.  with a radius of 2.
  9.  
  10.     Normally the ends of a cylinder are closed by flat planes which are pa-
  11.  rallel to each other and perpendicular to the length of the cylinder.  Add-
  12.  ing the optional keyword 'open' after the radius will remove the end caps
  13.  and results in a hollow tube.
  14.  
  15.     Because they are finite they respond to automatic bounding.  As with all
  16.  shapes, they can be translated, rotated and scaled.
  17.