<HTML> <HEAD> <TITLE>GLUCylinder</TITLE> <STYLE> BODY, TD, TABLE, TR { font-size:13; font-weight:normal; font-family:"helvetica, arial, sans"; } PRE { font-size:13; font-weight:normal; font-family:"courier"; } A {text-decoration: none} </STYLE> </HEAD> <BODY BGCOLOR="white"> <H1>GLUCylinder</H1> <SMALL> Copyright 2002, Steve Dekorte. All rights reserved.<BR> </SMALL> <BR> <A NAME="Summary"></A> <h2>Summary</h2> <ul> 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>. </UL> <A NAME="Methods"></A> <h2>Methods</h2> <UL> <BR> </UL> <h3>Dimensions</h3> <UL> <br> <b>setBaseWidth(aNumber)</b> <p> Sets the width of the base of the cylinder to aNumber. Returns self. <br><br><br> <b>baseWidth</b> <p> Returns the width of the base of the cylinder as a Number. <br><br><br> <b>setTopWidth(aNumber)</b> <p> Sets the width of the top of the cylinder to aNumber. Returns self. <br><br><br> <b>topWidth</b> <p> Returns the width of the top of the cylinder as a Number. <br><br><br> <b>setHeight(aNumber)</b> <p> Sets the height of the cylinder to aNumber. Returns self. <br><br><br> <b>height</b> <p> Returns the height of the cylinder as a Number. <br><br><br> </UL> <h3>Model</h3> <UL> <br> <b>setSlices(aNumber)</b> <p> Sets the number of slices(like pie cuts) for the cylinder's model. Returns self. <br><br><br> <b>slices</b> <p> Returns the number of slices in the cylinder's model. <br><br><br> <b>setStack(aNumber)</b> <p> Sets the number of horizontal stacks for the cylinder's model. Returns self. <br><br><br> <b>slices</b> <p> Returns the number of horizontal stacks in the cylinder's model. <br><br><br> </UL> <h3>Drawing</h3> <UL> <br> <b>draw</b> <p> Draw the cylinder. <br><br><br> </UL> <BR> <BR> <BR> <BR> </html>