formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Editing Operations
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 that for Smooth objects, the indices are not guaranteed to remain constant.
The new indices are returned optionally in the user allocated array segt_indx_out if not NULL.
Plugin Prototype
fzrt_error_td fz_objt_edit_transform_segments_options(
fzrt_int | windex, |
obj, | |
fzrt_int | segt_indx[], |
fzrt_int | nsegts, |
mat, | |
tform_opts, | |
fzrt_int | segt_indx_out[] ) |
Parameters
windex [Input]
project window index
obj [Input, Result]
object
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
tform_opts [Input, Optional]
Transform options
segt_indx_out[] [Result, Optional]
array of new segment indices
Returns
Error codes
Availability
6.0.0.0
Example Files
See Also
,, fz_objt_edit_transform_faces_options, fz_objt_edit_transform_multi_options, fz_objt_edit_transform_points, fz_objt_edit_transform_curves, fz_objt_edit_transform_faces, fz_objt_edit_transform_multi
Function Set
Defined in