formZ SDK | 5.0 API Reference | Project | Modeling | Objects | Control Objects | Spline

fz_objt_cnstr_spline_through_pts

Description

Creates degree 3 b-spline, which goes through the specified points.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_spline_through_pts(

fzrt_int

windex,

fz_xyz_td *

pts,

fzrt_int

npts,

fzrt_boolean

closed,

fz_objt_model_type_enum

model_type,

fz_attr_refn_ptr

refn_opts,

fz_objt_ptr *

obj )

Parameters

windex [Input]

project window index

pts [Input]

points through which the spline curve goes

npts [Input]

number of points

Range: npts >= 3

closed [Input]

open or closed spline. If TRUE, the spline is closed.

model_type [Input]

model type

refn_opts [Input, Optional]

display resolution options. For defaults see fz_attr_refn_parm_enum

obj [Result]

new object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_plin.fsl

See Also

,

Function Set

fz_model_fset


Defined in

fz_objt_plin_api.h