formZ SDK | 5.0 API Reference | System | Nurbs Surface

# fz_nsrf_offset_srf

Description

Offsets NURBS surface by the given distance. The surface is offset outwards i.e. in the direction of surface normal, if the distance is positive else inwards. The number of control points of the offset surface would be the same as that of the original surface, if use_tol is FALSE. If use_tol is TRUE, the number of control points of the offset surface would be calculated using angtol, the maximum normal deviation, specified in radians.

Plugin Prototype

fzrt_error_td fz_nsrf_offset_srf(

fz_nurbs_srf_ptr | srf,
double | distance,
fzrt_boolean | use_tol,
double | angtol,
fz_nurbs_srf_ptr * | offset_srf )

Parameters

srf [Input]

Source NURBS surface

distance [Input]

Offset distance

use_tol [Input]

Use angular tolerance

angtol [Input]

Angular tolerance

offset_srf [Result]

Offset NURBS surface

Returns

Error codes

Availability

5.0.0.0

Example Files

util_nsrf.fsl

See Also

fz_nsrf_get_u_npts, fz_nsrf_get_control_points, fz_nsrf_get_u_knots,

Function Set

fz_nsrf_fset

Defined in

fz_nsrf_api.h