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

# fz_objt_cnstr_nrbz_through_points

Description

Creates a nurbz object that passes through the given points that are arranged in a grid format.
The 3D points are contained in an array of fz_xyz_td. The v index varies first. That is, a row of v points for the first u value is found first. Then, the row of v points for the next u value.
U degree must be greater than zero and must be less than the number of U points. V degree must be greater than zero and must be less than the number of V points.

Plugin Prototype

fzrt_error_td fz_objt_cnstr_nrbz_through_points(

fzrt_int | windex,
fz_xyz_td * | points,
fzrt_int | u_npts,
fzrt_int | u_degree,
fzrt_boolean | u_closed,
fzrt_int | v_npts,
fzrt_int | v_degree,
fzrt_boolean | v_closed,
fz_objt_nrbz_cnstr_opts_ptr | nrbz_opts,
fz_attr_refn_ptr | refn_opts,
fz_objt_ptr * | obj )

Parameters

windex [Input]

project window index

points [Input]

array of 3D grid points

u_npts [Input]

number of points in the u direction

Range: u_npts >= 1

u_degree [Input]

degree in the u direction

Range: 1 <= u_degree <= u_degree-1

u_closed [Input]

is the surface closed in the u direction

v_npts [Input]

number of points in the v direction

Range: v_npts >= 1

v_degree [Input]

degree in the v direction

Range: 1 <= v_degree <= v_degree-1

v_closed [Input]

is the surface closed in the v direction

nrbz_opts [Input, Optional]

capping and rounding options

refn_opts [Input, Optional]

refinement options

obj [Result]

nurbz object

Returns

Error codes

Availability

5.0.0.0

Example Files

util_objt_cnstr_nrbz.fsl

See Also

, fz_objt_cnstr_nrbz_through_curves, fz_objt_cnstr_nrbz_from_uv_curves,

Function Set

fz_model_fset

Defined in

fz_objt_nrbz_api.h