formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Cylinder

fz_objt_cyln_parm_enum

Description

Parameter identifiers for a parametric cylinder object. Used for the "which" argument of , fz_objt_cnstr_cyln_opts_set, ,

enum fz_objt_cyln_parm_enum {

FZ_OBJT_CYLN_PARM_PARTIAL,

FZ_OBJT_CYLN_PARM_CAP_TYPE,

FZ_OBJT_CYLN_PARM_U_MINMAX,

FZ_OBJT_CYLN_PARM_RADII,

FZ_OBJT_CYLN_PARM_HEIGHT,

FZ_OBJT_CYLN_PARM_ORIGIN,

FZ_OBJT_CYLN_PARM_ROTATION };

Members

FZ_OBJT_CYLN_PARM_PARTIAL

Construction and Editing - Cylinder artial on (TRUE) or off (FALSE).

Type: fzrt_boolean

Default Value: FALSE

FZ_OBJT_CYLN_PARM_CAP_TYPE

Construction and Editing - Cylinder closure type. ptype fz_objt_prim_cap_type_enum

Default Value: FZ_OBJT_PRIM_CAP_TYPE_AXIAL

FZ_OBJT_CYLN_PARM_U_MINMAX

Construction and Editing - Cylinder horizontal min max. The x value indicates the start of the cylinder surface in the horizontal direction (around the cylinder's axis). The y value indicates the end. x must be less than y. For example, x = 0.0, y = 0.5 defines a half cylinder, starting at the cylinder's local positive x axis, going counterclockwise, ending at the negative x axis.

Type: fz_xy_td

Range: 0.0 <= value <= 1.0

Default Value: {0.0,1.0}

FZ_OBJT_CYLN_PARM_RADII

Editing - Cylinder radii.

Type: fz_xy_td

Range: value > 0.0

FZ_OBJT_CYLN_PARM_HEIGHT

Editing - Cylinder height.

Type: double

Range: value > 0.0

FZ_OBJT_CYLN_PARM_ORIGIN

Editing - Cylinder origin.

Type: fz_xyz_td

FZ_OBJT_CYLN_PARM_ROTATION

Editing - Cylinder rotation. Rotation angles are applied in z y x order to transform the cylinder from alignment with the world axes to its 3d orientation.

Type: fz_xyz_td

Availability

5.0.0.0

See Also

, fz_objt_cnstr_cyln_opts_set, ,

Defined in

fz_objt_prim_api.h