formZ SDK | 5.0 API Reference | System | Nurbs Surface

# fz_nsrf_insert_control_line

Description

Adds a control line to a NURBS surface in the U or V direction after the nth control line. The new control line is added in between the (n)th and (n+1)th lines at a distance interpolated by the specified ratio. For instance, a ratio of 0.5 would add a control line exactly in between the (n)th and (n+1)th lines. A ratio < 0.5 would make a new control line closer to the (n)th line than the (n+1)th line while a ratio > 0.5 would make it closer to the (n+1)th line.

Plugin Prototype

fzrt_error_td fz_nsrf_insert_control_line(

fz_nurbs_srf_ptr | srf,
fzrt_int | nline,
double | ratio,
fzrt_boolean | is_u )

Parameters

srf [Input]

NURBS surface

nline [Input]

nth control line

ratio [Input]

ratio

is_u [Input]

Direction- TRUE=U, FALSE=V

Returns

Error codes

Availability

5.0.0.0

Example Files

util_nsrf.fsl

See Also

fz_nsrf_delete_control_line,, fz_nsrf_insert_knot

Function Set

fz_nsrf_fset

Defined in

fz_nsrf_api.h