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

fz_objt_edit_frnd_parm_vrtx_opts_get

Description

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

Plugin Prototype

fzrt_error_td fz_objt_edit_frnd_parm_vrtx_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 vertices rounded

index [Result, Optional]

Array of vertex indices

radii [Result, Optional]

Array of vertex radii

nsids [Result, Optional]

Array of vertex 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