Panda3D
|
This abstract class defines the interface only for a Nurbs-style curve, with knots and coordinates in homogeneous space. More...
#include <pandadoc.hpp>
Public Member Functions | |
int | appendCv (const LVecBase3 v) |
int | appendCv (const LVecBase4 v) |
int | appendCv (float x, float y, float z) |
LVecBase4 | getCv (int n) |
LVecBase3 | getCvPoint (int n) |
Returns the position of the indicated CV. | |
list | getCvs () |
float | getCvWeight (int n) |
Returns the weight of the indicated CV. | |
float | getKnot (int n) |
list | getKnots () |
int | getNumCvs () |
int | getNumKnots () |
int | getOrder () |
bool | insertCv (float t) |
removeAllCvs () | |
bool | removeCv (int n) |
bool | setCv (int n, const LVecBase4 v) |
bool | setCvPoint (int n, const LVecBase3 v) |
Repositions the indicated CV. | |
bool | setCvPoint (int n, float x, float y, float z) |
Repositions the indicated CV. | |
bool | setCvWeight (int n, float w) |
Sets the weight of the indicated CV without affecting its position in 3-d space. | |
bool | setKnot (int n, float t) |
setOrder (int order) | |
writeCv (Ostream out, int n) | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
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.
int appendCv | ( | const LVecBase3 | v | ) |
int appendCv | ( | const LVecBase4 | v | ) |
int appendCv | ( | float | x, |
float | y, | ||
float | z ) |
|
static |
LVecBase4 getCv | ( | int | n | ) |
LVecBase3 getCvPoint | ( | int | n | ) |
Returns the position of the indicated CV.
list getCvs | ( | ) |
float getCvWeight | ( | int | n | ) |
Returns the weight of the indicated CV.
float getKnot | ( | int | n | ) |
list getKnots | ( | ) |
int getNumCvs | ( | ) |
int getNumKnots | ( | ) |
int getOrder | ( | ) |
bool insertCv | ( | float | t | ) |
removeAllCvs | ( | ) |
bool removeCv | ( | int | n | ) |
bool setCv | ( | int | n, |
const LVecBase4 | v ) |
bool setCvPoint | ( | int | n, |
const LVecBase3 | v ) |
Repositions the indicated CV.
Returns true if successful, false otherwise.
bool setCvPoint | ( | int | n, |
float | x, | ||
float | y, | ||
float | z ) |
Repositions the indicated CV.
Returns true if successful, false otherwise.
bool setCvWeight | ( | int | n, |
float | w ) |
Sets the weight of the indicated CV without affecting its position in 3-d space.
bool setKnot | ( | int | n, |
float | t ) |
setOrder | ( | int | order | ) |
writeCv | ( | Ostream | out, |
int | n ) |