21 INLINE
int NurbsCurveInterface::
22 append_cv(PN_stdfloat x, PN_stdfloat y, PN_stdfloat z) {
31 INLINE
int NurbsCurveInterface::
33 return append_cv(
LVecBase4(v[0], v[1], v[2], 1.0f));
41 INLINE
int NurbsCurveInterface::
43 return append_cv_impl(v);
65 nassertr(n >= 0 && n < get_num_cvs(),
false);
79 return LVecBase3(p[0], p[1], p[2]) / p[3];
This is the base class for all three-component vectors and points.
PN_stdfloat get_cv_weight(int n) const
Returns the weight of the indicated CV.
static const LVecBase3f & zero()
Returns a zero-length vector.
bool set_cv_point(int n, PN_stdfloat x, PN_stdfloat y, PN_stdfloat z)
Repositions the indicated CV.
This is the base class for all three-component vectors and points.
LVecBase3 get_cv_point(int n) const
Returns the position of the indicated CV.