# NurbsCurveInterface

from pandac.PandaModules import NurbsCurveInterface

Class : NurbsCurveInterface
Description : This abstract class defines the interface only for a Nurbs-style curve, with knots and coordinates in homogeneous space.
The NurbsCurve class inherits both from this and from ParametricCurve.

## Inheritance:

NurbsCurveInterface:

## Methods of NurbsCurveInterface:

appendCv
getClassType
getCv
getCvPoint
getCvWeight
getKnot
getNumCvs
getNumKnots
getOrder
insertCv
removeAllCvs
removeCv
setCv
setCvPoint
setCvWeight
setKnot
setOrder
writeCv

appendCv int NurbsCurveInterface::append_cv(float x, float y, float z); Description:

getClassType static TypeHandle NurbsCurveInterface::get_class_type(void); Undocumented function.

getCv virtual LVecBase4f NurbsCurveInterface::get_cv(int n) const = 0; Undocumented function.

getCvPoint LVecBase3f NurbsCurveInterface::get_cv_point(int n) const; Description: Returns the position of the indicated CV.

getCvWeight float NurbsCurveInterface::get_cv_weight(int n) const; Description: Returns the weight of the indicated CV.

getKnot virtual float NurbsCurveInterface::get_knot(int n) const = 0; Undocumented function.

getNumCvs virtual int NurbsCurveInterface::get_num_cvs(void) const = 0; Undocumented function.

getNumKnots virtual int NurbsCurveInterface::get_num_knots(void) const = 0; Undocumented function.

getOrder virtual int NurbsCurveInterface::get_order(void) const = 0; Undocumented function.

insertCv virtual bool NurbsCurveInterface::insert_cv(float t) = 0; Undocumented function.

removeAllCvs virtual void NurbsCurveInterface::remove_all_cvs(void) = 0; Undocumented function.

removeCv virtual bool NurbsCurveInterface::remove_cv(int n) = 0; Undocumented function.

setCv virtual bool NurbsCurveInterface::set_cv(int n, LVecBase4f const &v) = 0; Undocumented function.

setCvPoint bool NurbsCurveInterface::set_cv_point(int n, float x, float y, float z); Description: Repositions the indicated CV. Returns true if successful, false otherwise.

setCvWeight bool NurbsCurveInterface::set_cv_weight(int n, float w); Description: Sets the weight of the indicated CV without affecting its position in 3-d space.

setKnot virtual bool NurbsCurveInterface::set_knot(int n, float t) = 0; Undocumented function.

setOrder virtual void NurbsCurveInterface::set_order(int order) = 0; Undocumented function.

writeCv void NurbsCurveInterface::write_cv(ostream &out, int n) const; Description: