formZ SDK | 5.0 API Reference | System | Nurbs Curve

# fz_ncrv_offset_planar_crv

Description

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

Plugin Prototype

fzrt_error_td fz_ncrv_offset_planar_crv(

fz_nurbs_cur_ptr | crv,
double | distance,
fzrt_boolean | use_tol,
double | angtol,
fz_nurbs_cur_ptr * | offset_crv )

Parameters

crv [Input]

NURBS curve

distance [Input]

Offset distance

use_tol [Input]

Use angular tolerance

angtol [Input]

Angular tolerance

offset_crv [Result]

Offset NURBS curve

Returns

Error codes

Availability

5.0.0.0

Example Files

util_ncrv.fsl

Function Set

fz_ncrv_fset

Defined in

fz_ncrv_api.h