Cone sweep

The cone sweep is swept in a circular trajectory around the axis of the cone. It is constructed from a radius and a height

      TCone3D(    GCoordinate baseRadius, 
                  GCoordinate height, 
                  TGrafBundle3D* adoptBundle = NIL );
baseRadius: The distance in world-coordinate units from the center of the circular base to the rim of the base. The circular base is centered at the origin.

height: The distance in world-coordinate units from the center of the base to the top of the cone.

The following code fragment creates the cone shown above. The camera has been repositioned to show the side view.

      TCone3D cone( 100, 150 );
      cone.Draw( thePort );

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker