All Frameworks  Class Hierarchy  This Framework  Indexes

SPAcstr Global Function api_make_frustum


outcome api_make_frustum(double height,
double radius1,
double radius2,
double top,
BODY*& body,
AcisOptions* ao= NULL )
Creates an elliptical cone or cylinder of given height and radii.

Role: Centers the frustum at the origin, with main axis along the z-axis and one axis (major or minor) of its cross-section in the z = 0 plane along the x-axis.

All arguments must be greater than SPAresabs.

Errors: Either height, radius1, or radius2 is not greater than SPAresabs or top is not greater than or equal to 0.

Effect: Changes model

Journal: Not Available

Parameters:
height
height.
radius1
radius in x-direction at base.
radius2
radius in y-direction at base.
top
radius in x-direction at top.
body
created frustum returned.
ao
acis options.

This object is included in the file: cstrapi.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.