UF_BREP_spline_s (查看源代码)
定义在: uf_brep_types.h
也被称为:
- UF_BREP_spline_t
- UF_BREP_spline_p_t
概述
Contains data defining a non-uniform rational b-spline (NURBS) curve.
There are 4 values for each control point or pole: x, y, z and w. The
coordinates are weighted. The parameter values specify how much of
the spline is to be active, i.e. visible and used. They cannot be outside
the interval defined by the knot vector. The lowest allowed value is
knots[order-1]. The largest is knots[num_poles]. NURBS curves need not have
Bezier end conditions (be clamped).
The number of knots and poles, and the order are related as follows:
nknots = num_poles + order.
Data Members
num_poles
int
order
int
is_rational
knots
double *
poles) [ 4 ]
double (*
start_param
double
end_param
double
poles[num_poles][4]