formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Editing Operations

fz_objt_edit_transform_curves_options

Description

Transforms one or more curves of an object with a matrix. The curves are identified by their indices in the curv_indx array.
Note that for Smooth objects, the indices are not guaranteed to remain constant. The new indices are returned optionally in the user allocated array curv_indx_out if not NULL.

Plugin Prototype

fzrt_error_td fz_objt_edit_transform_curves_options(

fzrt_int

windex,

fz_objt_ptr

obj,

fzrt_int

curv_indx[],

fzrt_int

ncurvs,

fz_mat4x4_td *

mat,

fz_objt_tform_opts_ptr

tform_opts,

fzrt_int

curv_indx_out[] )

Parameters

windex [Input]

project window index

obj [Input, Result]

object

curv_indx[] [Input]

array of curve indices to transform

ncurvs [Input]

number of curves in the array

Range: ncurvs >= 1

mat [Input]

matrix to transform curves by

tform_opts [Input, Optional]

Transform options

curv_indx_out[] [Result, Optional]

array of new curve indices

Returns

Error codes

Availability

6.0.0.0

Example Files

util_objt_tform.fsl

See Also

,, fz_objt_edit_transform_faces_options, fz_objt_edit_transform_multi_options, fz_objt_edit_transform_points, fz_objt_edit_transform_segments, fz_objt_edit_transform_faces, fz_objt_edit_transform_multi

Function Set

fz_model_fset


Defined in

fz_objt_api.h