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

fz_objt_cnstr_spid

Description

Creates a spheroid

Plugin Prototype

fzrt_error_td fz_objt_cnstr_spid(

fzrt_int

windex,

fz_xyz_td *

rx_ry_rz,

fz_objt_spid_type_enum

type,

fz_xyz_td *

origin,

fz_xyz_td *

rotation,

fz_objt_spid_cnstr_opts_ptr

opts,

fz_objt_ptr *

obj )

Parameters

windex [Input]

project window index

rx_ry_rz [Input]

radius x, radius y, radius z

Range: rx_ry_rz > (0,0,0)

type [Input]

spheroid type

origin [Input, Optional]

origin

Default Value: {0,0,0}

rotation [Input, Optional]

rotation angles, applied in z,y,x order

Default Value: {0,0,0}

opts [Input, Optional]

construction options

Default Value: see fz_objt_spid_parm_enum

obj [Result]

new object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_spid.fsl

See Also

,

Function Set

fz_model_fset


Defined in

fz_objt_spid_api.h