formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Patch Object

# fz_objt_edit_patch_merge

Description

This function merges two patches into one patch, the second patch is merged to the first patch.

Plugin Prototype

fzrt_error_td fz_objt_edit_patch_merge(

fzrt_int | windex,
fz_objt_ptr | fst_obj,
fz_objt_ptr | scnd_obj,
fzrt_int | sindx1,
fzrt_int | sindx2,
fzrt_boolean | do_smooth,
fzrt_boolean | by_angl,
double | angl,
fzrt_boolean | smth_int )

Parameters

windex [Input]

project window index

fst_obj [Input]

first source object

scnd_obj [Input]

second source object

sindx1 [Input]

segment index of the first object

sindx2 [Input]

segment index of the second object

do_smooth [Input]

smooth stitch

by_angl [Input]

smooth stitch by angle

angl [Input]

angle value

smth_int [Input]

type of smoothing

Returns

MODEL_ERR_WRONG_OBJT_TYPE - object passed in are not patches

Availability

5.0.0.0

See Also

fz_objt_cnstr_patch_opts_init, fz_objt_cnstr_patch_opts_finit, fz_objt_cnstr_patch_opts_finit, fz_objt_cnstr_patch_opts_get

Function Set

fz_model_fset

Defined in

fz_objt_ptch_api.h