formZ SDK | 5.0 API Reference | System | Nurbs Curve
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(
crv, | |
double | distance, |
use_tol, | |
double | angtol, |
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
Function Set
Defined in