TExtrusion3D( const TGCurve& extrusionCurve, GCoordinate height, TGrafBundle3D adoptBundle = NIL );
height: A distance in world-coordinate units that is applied in the z direction to define the height of the extrusion.
As shown in Figure 182
the extrusion curve (contour) provides the shape in the x-y plane, and the height (trajectory) provides the height in the z direction.
The following code fragment creates the extrusion shown above. The camera has been repositioned to show the side view.
TExtrisopm3D extrusion( TGCurve( TGPoint( 25, 75 ), TGPoint( 45, 150 ), TGPoint( 95, 125 ), TGPoint( 70, 100 ) ), 150 ); extrusion.Draw( thePort );