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

# fz_objt_edit_nrbz_curve_extend_by_distance

Description

Extends a nurbz curve object by a specified distance. If is_merge is TRUE, the newly created arc or nurbz curve is joined with the original object.

Plugin Prototype

fzrt_error_td fz_objt_edit_nrbz_curve_extend_by_distance(

fzrt_int | windex,
fz_objt_ptr | crv_obj,
double | distance,
fzrt_boolean | is_merge,
fz_objt_ptr * | new_obj )

Parameters

windex [Input]

project window index

crv_obj [Input]

nurbz curve

distance [Input]

extension distance

is_merge [Input]

if TRUE, the two curves are merged into one

new_obj [Result]

nurbz curve object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_edit_nrbz_curv.fsl

See Also

fz_objt_edit_nrbz_curve_extend_to_point,

Function Set

fz_model_fset

Defined in

fz_objt_ncrv_api.h