3 <TITLE>GLUCylinder
</TITLE>
5 BODY, TD, TABLE, TR { font-size:
13; font-weight:normal; font-family:
"helvetica, arial, sans"; }
6 PRE { font-size:
13; font-weight:normal; font-family:
"courier"; }
7 A {text-decoration: none}
10 <BODY BGCOLOR=
"white">
14 Copyright
2002, Steve Dekorte. All rights reserved.
<BR>
18 <A NAME=
"Summary"></A>
21 GLUCylinder is a wrapper for the GLU quadric functions for rendering cylinders.
<BR>GLUCylinder also responds to the methods of
<a href=
"GLUQuadric.html">GLUQuadric
</a>.
24 <A NAME=
"Methods"></A>
35 <b>setBaseWidth(aNumber)
</b>
37 Sets the width of the base of the cylinder to aNumber. Returns self.
42 Returns the width of the base of the cylinder as a Number.
45 <b>setTopWidth(aNumber)
</b>
47 Sets the width of the top of the cylinder to aNumber. Returns self.
52 Returns the width of the top of the cylinder as a Number.
55 <b>setHeight(aNumber)
</b>
57 Sets the height of the cylinder to aNumber. Returns self.
62 Returns the height of the cylinder as a Number.
72 <b>setSlices(aNumber)
</b>
74 Sets the number of slices(like pie cuts) for the cylinder's model. Returns self.
79 Returns the number of slices in the cylinder's model.
82 <b>setStack(aNumber)
</b>
84 Sets the number of horizontal stacks for the cylinder's model. Returns self.
89 Returns the number of horizontal stacks in the cylinder's model.