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

# fz_objt_edit_nrbz_merge_align

Description

Merges two nurbz surface objects that have a matched edge into a single new nurbz object. The object passed in must be a nurbz object without any trimming. Returns a new nurbz surface object. The first surface is aligned to the second along the merged edge according with the alignment indicated. If is_symmetric is TRUE, then the control points along the edge will be symmetric. When use_edge is TRUE, then the symmetric plane is defined by the edge, otherwise a normal to a plane is expected. This normal is NULL for the other options.

Plugin Prototype

fzrt_error_td fz_objt_edit_nrbz_merge_align(

fzrt_int | windex,
fz_objt_ptr | srf_obj1,
fz_objt_ptr | srf_obj2,
fz_objt_nrbz_algn_type_enum | align_type,
fzrt_boolean | is_symmetric,
fzrt_boolean | use_edge,
fz_xyz_td * | norm_2_plane,
fz_objt_ptr * | new_obj )

Parameters

windex [Input]

project window index

srf_obj1 [Input]

nurbz object #1

srf_obj2 [Input]

nurbz object #2

align_type [Input]

alignment type when smooth surfaces is FALSE (C0, G1, C1, C2)

is_symmetric [Input]

alignment of the surfaces is symmetric (TRUE) or not (FALSE)

use_edge [Input]

for the symmetric alignment use edge (TRUE) or normal to a plane (FALSE) as reference

norm_2_plane [Input]

normal to plane

new_obj [Result]

new object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_edit_nrbz_merge.fsl

See Also

Function Set

fz_model_fset

Defined in

fz_objt_nrbz_api.h