SOLIDS OF REVOLUTION

WRITTEN BY: Donald Kiel, Department of Math and Computer Science, Cal State, Los Angeles (dkiel@neptune.calstatela.edu)

CATEGORY: Computer Graphics

APPLICATION:
This application demonstrates the drawing of a sold of rotation.  First the user draws points in the cross-section of the desired object in the upper right quadrant of the graph shown.  Then the draw button is pressed and the solid of revolution is shown at the default angles.  Changing these angles will change the viewpoint of the object.  (Drastic changes in these angles may affect the drawing adversely, since no attempt is made to change the order in which segments are drawn.

USES:  Graphics classes.

DEVELOPMENT :NeXTSTEP 2.0