formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Facetted Rounded

fz_objt_edit_frnd_parm_edge_opts_get

Description

Gets edge options for a Facetted Rounded object. This function retrieves the number of edges rounded, an array of edge indices. an array of radii and an array of number of sides for each edge optionally. Typically this function would be called twice successively, the first time to get the number of edges and the second time to get the arrays which are allocated by the user.

Plugin Prototype

fzrt_error_td fz_objt_edit_frnd_parm_edge_opts_get(

fzrt_int

windex,

fz_objt_ptr

obj,

fzrt_int *

num,

fzrt_int *

index,

double *

radii,

fzrt_int *

nsids )

Parameters

windex [Input]

project window index

obj [Input]

Source object

num [Result, Optional]

Number of edges rounded

index [Result, Optional]

Array of edge indices

radii [Result, Optional]

Array of edge radii

nsids [Result, Optional]

Array of edge nsides

Returns

Error codes
MODEL_ERR_WRONG_OBJT_TYPE - object passed in is not a Facetted Rounded object

Availability

5.0.0.0

Example Files

util_objt_frnd.fsl

See Also

fz_objt_frnd_opts_init,, fz_objt_frnd_opts_get, fz_objt_frnd_opts_set,

Function Set

fz_model_fset


Defined in

fz_objt_frnd_api.h