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

fz_objt_edit_nrbz_curve_extend_to_point

Description

Extends a nurbz curve object to a specified point. If is_arc is TRUE, an arc is created between the last point of the curve and the point. If is_arc is FALSE, a nurbz curve is created between the last point of the curve and the point. 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_to_point(

fzrt_int

windex,

fz_objt_ptr

crv_obj,

fz_xyz_td *

point,

fzrt_boolean

is_arc,

fzrt_boolean

is_merge,

fz_objt_ptr *

new_obj )

Parameters

windex [Input]

project window index

crv_obj [Input]

nurbz curve

point [Input]

point to which the curve should be extended

is_arc [Input]

TRUE, if arc is desired
FALSE, if spline is desired

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

,

Function Set

fz_model_fset


Defined in

fz_objt_ncrv_api.h