formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Spherical Object

# fz_objt_spid_parm_enum

Description

Parameter identifiers for a parametric spheroid object. Used for the "which" argument of and .

enum fz_objt_spid_parm_enum {

FZ_OBJT_SPID_PARM_GEO_BY_LEVEL,

FZ_OBJT_SPID_PARM_GEO_LEVEL,

FZ_OBJT_SPID_PARM_GEO_ESIZE,

FZ_OBJT_SPID_PARM_REVL_U_RES,

FZ_OBJT_SPID_PARM_REVL_V_RES,

FZ_OBJT_SPID_PARM_GEO_NUM_SUBDIV,

FZ_OBJT_SPID_PARM_TYPE,

FZ_OBJT_SPID_PARM_RADII,

FZ_OBJT_SPID_PARM_ORIGIN,

FZ_OBJT_SPID_PARM_ROTATION };

Members

FZ_OBJT_SPID_PARM_GEO_BY_LEVEL

Construction and Editing - Geodesic sphere construct by level on/off.

Type: fzrt_boolean

FZ_OBJT_SPID_PARM_GEO_LEVEL

Editing - This is the old geodesic sphere level of subdivision and should not be used anymore. FZ_OBJT_SPID_PARM_GEO_NUM_SUBDIV should be used instead.

Type: fzrt_int

Range: 1 <= value <= 4

FZ_OBJT_SPID_PARM_GEO_ESIZE

Construction and Editing - Geodesic sphere max edge size.

Type: double

Range: value > 0.0

FZ_OBJT_SPID_PARM_REVL_U_RES

Construction and Editing - Revolved sphere horizontal resolution.

Type: fzrt_int

Range: value >= 4

FZ_OBJT_SPID_PARM_REVL_V_RES

Construction and Editing - Revolved sphere vertical resolution.

Type: fzrt_int

Range: value >= 2

FZ_OBJT_SPID_PARM_GEO_NUM_SUBDIV

Construction and Editing - Geodesic sphere number of subdivisions. It indicates how many times a triangle of an icosahedron is subdivided to create the geodesic sphere. This parameter supersedes the old FZ_OBJT_SPID_PARM_GEO_LEVEL paramter, which only gave 2, 4, 8 and 16 subdivisions (called level 1, 2, 3 and 4).

Type: fzrt_int

Range: 2 <= value <= 50

FZ_OBJT_SPID_PARM_TYPE

Editing - Spheroid type.

Type: fz_objt_spid_type_enum

FZ_OBJT_SPID_PARM_RADII

Editing - Spheroid radii.

Type: fz_xyz_td

Range: value > 0

FZ_OBJT_SPID_PARM_ORIGIN

Editing - Spheroid origin.

Type: fz_xyz_td

FZ_OBJT_SPID_PARM_ROTATION

Editing - Spheroid rotation.

Type: fz_xyz_td

Range: -2PI <= value <= 2PI
Rotation angles are applied in z y x order to transform the spheroid from alignment with the world axes to it's 3d orientation

Availability

5.0.0.0

See Also

,

Defined in

fz_objt_spid_api.h