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

fz_objt_edit_transform_segments

Description

Transforms one or more segments of an object with a 4x4 matrix. The segments are identified by their indices in the segt_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_segments(

fzrt_int

windex,

fz_objt_ptr

obj,

fzrt_int

segt_indx[],

fzrt_int

nsegts,

fz_mat4x4_td *

mat )

Parameters

windex [Input]

project window index

obj [Input, Result]

object (must be facetted)

segt_indx[] [Input]

array of segment indices to transform

nsegts [Input]

number of segments in the array

Range: nsegts >= 1

mat [Input]

4x4 matrix to transform segments by

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_tform.fsl.fsl

See Also

fz_objt_edit_transform_points, fz_objt_edit_transform_curves, fz_objt_edit_transform_faces, fz_objt_edit_transform_multi

Function Set

fz_model_fset


Defined in

fz_objt_api.h