20 INLINE EggNurbsCurve::
21 EggNurbsCurve(
const string &name) :
EggCurve(name) {
30 INLINE EggNurbsCurve::
45 EggCurve::operator = (copy);
62 nassertv(order >= 1 && order <= 4);
76 nassertv(k >= 0 && k < (
int)_knots.size());
111 return _knots.size();
137 nassertr(k >= 0 && k < (
int)_knots.size(), 0.0);
int get_order() const
Returns the order of the curve.
void set_knot(int k, double value)
Resets the value of the indicated knot as indicated.
double get_knot(int k) const
Returns the nth knot value defined.
int get_num_knots() const
Returns the number of knots.
int get_degree() const
Returns the degree of the curve.
A parametric NURBS curve.
void set_order(int order)
Directly changes the order to the indicated value (which must be an integer in the range 1 <= order <...
A parametric curve of some kind.
int get_num_cvs() const
Returns the total number of control vertices that should* be defined for the curve.