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

fz_objt_edit_transform_multi

Description

Transforms one or more faces, curves, segment and points of an object with a matrix. The faces are identified by their indices in the face_indx array.
Note : This function operated only on facetted objects, in versions prior to 6.0

Plugin Prototype

fzrt_error_td fz_objt_edit_transform_multi(

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 )

Parameters

windex [Input]

project window index

obj [Input, Result]

object (must be facetted)

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 (curves must be holes)

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

Returns

Error codes

Availability

5.0.0.0

See Also

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