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

fz_objt_edit_nrbz_curve_change_degree

Description

Changes the degree of a nurbz curve object. If keep_shape is TRUE, the shape of curve is preserved by changing the number of control points, if necessary.

Plugin Prototype

fzrt_error_td fz_objt_edit_nrbz_curve_change_degree(

fzrt_int

windex,

fz_objt_ptr

crv_obj,

fzrt_int

new_degree,

fzrt_boolean

keep_shape )

Parameters

windex [Input]

project window index

crv_obj [Input]

nurbz curve

new_degree [Input]

new degree

keep_shape [Input]

if TRUE, the shape of curve is preserved

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_edit_nrbz_curv.fsl

See Also

fz_objt_edit_nrbz_curve_change_ctrlpts_by_number,

Function Set

fz_model_fset


Defined in

fz_objt_ncrv_api.h