NurbsCurveInterface

from panda3d.core import NurbsCurveInterface
class NurbsCurveInterface

Bases: DTOOL_SUPER_BASE

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 diagram

Inheritance diagram of NurbsCurveInterface

__init__(*args, **kwargs)
appendCv()

C++ Interface: append_cv(const NurbsCurveInterface self, const LVecBase4f v) append_cv(const NurbsCurveInterface self, const LVecBase3f v) append_cv(const NurbsCurveInterface self, float x, float y, float z)

/**

*/

/**

*/

/**

*/

append_cv()

C++ Interface: append_cv(const NurbsCurveInterface self, const LVecBase4f v) append_cv(const NurbsCurveInterface self, const LVecBase3f v) append_cv(const NurbsCurveInterface self, float x, float y, float z)

/**

*/

/**

*/

/**

*/

getClassType()

C++ Interface: get_class_type()

getCv()

C++ Interface: get_cv(NurbsCurveInterface self, int n)

getCvPoint()

C++ Interface: get_cv_point(NurbsCurveInterface self, int n)

/**
  • Returns the position of the indicated CV.

*/

getCvWeight()

C++ Interface: get_cv_weight(NurbsCurveInterface self, int n)

/**
  • Returns the weight of the indicated CV.

*/

getCvs()
getKnot()

C++ Interface: get_knot(NurbsCurveInterface self, int n)

getKnots()
getNumCvs()

C++ Interface: get_num_cvs(NurbsCurveInterface self)

getNumKnots()

C++ Interface: get_num_knots(NurbsCurveInterface self)

getOrder()

C++ Interface: get_order(NurbsCurveInterface self)

get_class_type()

C++ Interface: get_class_type()

get_cv()

C++ Interface: get_cv(NurbsCurveInterface self, int n)

get_cv_point()

C++ Interface: get_cv_point(NurbsCurveInterface self, int n)

/**
  • Returns the position of the indicated CV.

*/

get_cv_weight()

C++ Interface: get_cv_weight(NurbsCurveInterface self, int n)

/**
  • Returns the weight of the indicated CV.

*/

get_cvs()
get_knot()

C++ Interface: get_knot(NurbsCurveInterface self, int n)

get_knots()
get_num_cvs()

C++ Interface: get_num_cvs(NurbsCurveInterface self)

get_num_knots()

C++ Interface: get_num_knots(NurbsCurveInterface self)

get_order()

C++ Interface: get_order(NurbsCurveInterface self)

insertCv()

C++ Interface: insert_cv(const NurbsCurveInterface self, float t)

insert_cv()

C++ Interface: insert_cv(const NurbsCurveInterface self, float t)

removeAllCvs()

C++ Interface: remove_all_cvs(const NurbsCurveInterface self)

removeCv()

C++ Interface: remove_cv(const NurbsCurveInterface self, int n)

remove_all_cvs()

C++ Interface: remove_all_cvs(const NurbsCurveInterface self)

remove_cv()

C++ Interface: remove_cv(const NurbsCurveInterface self, int n)

setCv()

C++ Interface: set_cv(const NurbsCurveInterface self, int n, const LVecBase4f v)

setCvPoint()

C++ Interface: set_cv_point(const NurbsCurveInterface self, int n, const LVecBase3f v) set_cv_point(const NurbsCurveInterface self, int n, float x, float y, float z)

/**
  • Repositions the indicated CV. Returns true if successful, false otherwise.

*/

/**
  • Repositions the indicated CV. Returns true if successful, false otherwise.

*/

setCvWeight()

C++ Interface: set_cv_weight(const NurbsCurveInterface self, int n, float w)

/**
  • Sets the weight of the indicated CV without affecting its position in 3-d

  • space.

*/

setKnot()

C++ Interface: set_knot(const NurbsCurveInterface self, int n, float t)

setOrder()

C++ Interface: set_order(const NurbsCurveInterface self, int order)

set_cv()

C++ Interface: set_cv(const NurbsCurveInterface self, int n, const LVecBase4f v)

set_cv_point()

C++ Interface: set_cv_point(const NurbsCurveInterface self, int n, const LVecBase3f v) set_cv_point(const NurbsCurveInterface self, int n, float x, float y, float z)

/**
  • Repositions the indicated CV. Returns true if successful, false otherwise.

*/

/**
  • Repositions the indicated CV. Returns true if successful, false otherwise.

*/

set_cv_weight()

C++ Interface: set_cv_weight(const NurbsCurveInterface self, int n, float w)

/**
  • Sets the weight of the indicated CV without affecting its position in 3-d

  • space.

*/

set_knot()

C++ Interface: set_knot(const NurbsCurveInterface self, int n, float t)

set_order()

C++ Interface: set_order(const NurbsCurveInterface self, int order)

writeCv()

C++ Interface: write_cv(NurbsCurveInterface self, ostream out, int n)

/**

*/

write_cv()

C++ Interface: write_cv(NurbsCurveInterface self, ostream out, int n)

/**

*/