The cylinder sweep is swept in a circular trajectory around the axis of the cylinder. It is constructed from a radius and a height. To make the cylinder bend, create the surface and modify its u parameter.
TCylinder3D( GCoordinate radius,
GCoordinate height,
TGrafBUndle3D* adoptBundle = NIL );
height: The distance in world-coordinate units from the center of the base to the top of the cylinder.
The following code fragment creates the cylinder shown above. The camera has been repositioned to show the side view.
TCylinder3D cylinder( 100, 150 ); cylinder.Draw( thePort );