|
Action:
|
Creates a spherical face.
|
|
|
Prototype:
|
outcome api_face_sphere (
|
|
|
const SPAposition& center,
|
// center
|
|
|
double radius,
|
// radius
|
|
|
double lo_start,
|
// longitudinal start
|
|
|
|
|
// angle
|
|
|
double lo_end,
|
// longitudinal end angle
|
|
|
double la_start,
|
// latitudinal start
|
|
|
|
|
// angle
|
|
|
double la_end,
|
// latitudinal end angle
|
|
|
const SPAvector* normal,
|
// pole direction
|
|
|
FACE*& face,
|
// created face 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/face.hxx"
|
|
#include "baseutil/vector/position.hxx"
|
|
#include "baseutil/vector/vector.hxx"
|
|
#include "kernel/kernapi/api/acis_options.hxx"
|
|
|
Description:
|
This API creates a spherical face aligned with the axes of the working coordinate system. The North pole is parallel to the
y-axis. Longitude points toward the North pole and latitude points toward the zero meridian. All positions are relative to the active WCS or, if
normal is specified, a coordinate system derives from the
normal and the
x-axis.
|
|
|
Angle ranges:
|
|
Longitude
|
-90 to 90 degrees,
|
|
0 at the equator
|
|
Latitude
|
-360 to 360 degrees,
|
|
0 at the meridian
|
|
|
Library:
|
constrct
|
|
|
Filename:
|
cstr/constrct/kernapi/api/cstrapi.hxx
|
|
|
Effect:
|
Changes model
|