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

# fz_objt_edit_transform_multi_options

Description

Transforms one or more faces, curves, segment and points of an object with a matrix. The topological entities are identified by their indices in the corresponding arrays.
Note that for Smooth objects, the indices are not guaranteed to remain constant. The new indices are returned optionally in the user allocated arrays if not NULL.

Plugin Prototype

fzrt_error_td fz_objt_edit_transform_multi_options(

fzrt_int | windex,
fz_objt_ptr | obj,
fzrt_int | face_indx[],
fzrt_int | nfaces,
fzrt_int | curv_indx[],
fzrt_int | ncurvs,
fzrt_int | segt_indx[],
fzrt_int | nsegts,
fzrt_int | pnt_indx[],
fzrt_int | npnts,
fz_mat4x4_td * | mat,
fz_objt_tform_opts_ptr | tform_opts,
fzrt_int | face_indx_out[],
fzrt_int | curv_indx_out[],
fzrt_int | segt_indx_out[],
fzrt_int | pnt_indx_out[] )

Parameters

windex [Input]

project window index

obj [Input, Result]

object

face_indx[] [Input, Optional]

array of face indices to transform

nfaces [Input, Optional]

number of faces in the array

curv_indx[] [Input, Optional]

array of curve indices to transform

ncurvs [Input, Optional]

number of curves in the array

segt_indx[] [Input, Optional]

array of segment indices to transform

nsegts [Input, Optional]

number of segments in the array

pnt_indx[] [Input, Optional]

array of point indices to transform

npnts [Input, Optional]

number of points in the array

mat [Input]

matrix to transform by

tform_opts [Input, Optional]

Transform options

face_indx_out[] [Result, Optional]

array of new face indices

curv_indx_out[] [Result, Optional]

array of new curve indices

segt_indx_out[] [Result, Optional]

array of new segment indices

pnt_indx_out[] [Result, Optional]

array of new point indices

Returns

Error codes

Availability

6.0.0.0

See Also

,,, fz_objt_edit_transform_faces_options, fz_objt_edit_transform_points, fz_objt_edit_transform_segments, fz_objt_edit_transform_curves, fz_objt_edit_transform_faces

Function Set

fz_model_fset

Defined in

fz_objt_api.h