17 INLINE EggNurbsCurve::
18 EggNurbsCurve(
const std::string &name) :
EggCurve(name) {
25 INLINE EggNurbsCurve::
38 EggCurve::operator = (copy);
52 nassertv(order >= 1 && order <= 4);
63 nassertv(k >= 0 && k < (
int)_knots.size());
72 INLINE
int EggNurbsCurve::
80 INLINE
int EggNurbsCurve::
88 INLINE
int EggNurbsCurve::
89 get_num_knots()
const {
110 nassertr(k >= 0 && k < (
int)_knots.size(), 0.0);
get_order
Returns the order of the curve.
get_num_knots
Returns the number of knots.
A parametric NURBS curve.
get_knot
Returns the nth knot value defined.
set_knot
Resets the value of the indicated knot as indicated.
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.
set_order
Directly changes the order to the indicated value (which must be an integer in the range 1 <= order <...