api_make_prism
List of: Functions
Subjects: Construction Geometry, Model Geometry, Model Object
Contents: Constructors

Action: Creates an elliptical prism of given height, radii, and number of sides.

Prototype: outcome api_make_prism (


double height, // height of prism


double rad1, // first radius


double rad2, // second radius


int nsides, // number of sides


BODY*& body, // prism body returned


AcisOptions* ao = NULL // acis options


);

Includes: #include "kernel/acis.hxx"

#include "constrct/kernapi/api/cstrapi.hxx"

#include "kernel/kernapi/api/api.hxx"

#include "kernel/kerndata/top/body.hxx"

#include "kernel/kernapi/api/acis_options.hxx"

Description: This API creates an elliptical prism of given height, radii, and number of sides. Center it at the origin, aligned the z-axis with one face perpendicular to the positive x-axis.

Errors: Either height, rad1, or rad2 is less than SPAresabs ornsides is less than 3.

Library: constrct

Filename: cstr/constrct/kernapi/api/cstrapi.hxx

Effect: Changes model
PDF/CSTR/04FN.PDF
HTM/DATA/CSTR/CSTR/04FN/0061.HTM