formZ SDK | 5.0 API Reference | System | Nurbs Surface
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(
srf, | |
double | distance, |
use_tol, | |
double | angtol, |
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
See Also
fz_nsrf_get_u_npts, fz_nsrf_get_control_points, fz_nsrf_get_u_knots,
Function Set
Defined in