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

fz_objt_edit_nrbz_curve_attach

Description

Attaches 2 nurbz curve objects. The attachment takes place from an end of the first curve to an end of the second curve, either by moving the first curve or by stretching it. The objects passed in must be nurbz objects. Returns the updated first curve object.

Plugin Prototype

fzrt_error_td fz_objt_edit_nrbz_curve_attach(

fzrt_int

windex,

fz_objt_ptr

crv_obj1,

fz_objt_ptr

crv_obj2,

fz_ncrv_which_end_enum

which_end1,

fz_ncrv_which_end_enum

which_end2,

fz_objt_nrbz_algn_type_enum

align_type,

fzrt_boolean

do_move )

Parameters

windex [Input]

project window index

crv_obj1 [Input]

nurbz object

crv_obj2 [Input]

nurbz object

which_end1 [Input]

end of first curve to attach

which_end2 [Input]

end of second curve to attach

align_type [Input]

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

do_move [Input]

attachment type (move = TRUE, stretch = FALSE)

Returns

Error codes
MODEL_ERR_WRONG_OBJT_TYPE - source objects passed in are not nurbz objects.

Availability

5.0.0.0

Example Files

util_objt_edit_nrbz_curv_attach.fsl

See Also

Function Set

fz_model_fset


Defined in

fz_objt_ncrv_api.h