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

fz_objt_edit_nrbz_change_degree

Description

Changes the degree of a nurbz surface object. If keep_shape is TRUE, the shape of surface is preserved by changing the number of control points, if necessary. If -1 is passed for the new degree, then the degree in the corresponding direction is left unchanged.

Plugin Prototype

fzrt_error_td fz_objt_edit_nrbz_change_degree(

fzrt_int

windex,

fz_objt_ptr

srf_obj,

fzrt_int

new_degree_u,

fzrt_int

new_degree_v,

fzrt_boolean

keep_shape )

Parameters

windex [Input]

project window index

srf_obj [Input]

nurbz surface object

new_degree_u [Input]

new degree in U

new_degree_v [Input]

new degree in V

keep_shape [Input]

if TRUE, the shape of surface is preserved

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_edit_nrbz.fsl

See Also

fz_objt_edit_nrbz_change_ctrlpts_by_number,

Function Set

fz_model_fset


Defined in

fz_objt_nrbz_api.h