HDK
|
#include <UT_Polynomial2.h>
Public Member Functions | |
UT_Polynomial2 () | |
UT_Polynomial2 (int udeg, int vdeg) | |
void | init (int udeg, int vdeg) |
void | resize (int udeg, int vdeg) |
void | makeIdentity () |
void | zero () |
void | transpose () |
void | makeBezBasisOp () |
void | makePowBasisOp () |
void | applyOpLeft (const UT_Polynomial2 &op) |
void | applyOpRight (const UT_Polynomial2 &op) |
void | add (const UT_Polynomial2 &poly) |
void | mult (const UT_Polynomial2 &poly) |
void | mult (fpreal scale) |
void | compose (const UT_Polynomial2 &polyu, const UT_Polynomial2 &polyv, fpreal tol=1e-5) |
void | setBasis (int newbasis) |
int | getBasis () const |
int | degreeU () const |
int | degreeV () const |
void | reduceDegree (fpreal tol=1e-5) |
UT_Polynomial2 * | convertToBezier () const |
UT_Polynomial2 * | convertToPower () const |
UT_Polynomial2 * | copy () const |
float & | operator() (int u, int v) |
fpreal | operator() (int u, int v) const |
Definition at line 27 of file UT_Polynomial2.h.
UT_Polynomial2::UT_Polynomial2 | ( | ) |
void UT_Polynomial2::add | ( | const UT_Polynomial2 & | poly | ) |
void UT_Polynomial2::applyOpLeft | ( | const UT_Polynomial2 & | op | ) |
void UT_Polynomial2::applyOpRight | ( | const UT_Polynomial2 & | op | ) |
void UT_Polynomial2::compose | ( | const UT_Polynomial2 & | polyu, |
const UT_Polynomial2 & | polyv, | ||
fpreal | tol = 1e-5 |
||
) |
UT_Polynomial2* UT_Polynomial2::convertToBezier | ( | ) | const |
UT_Polynomial2* UT_Polynomial2::convertToPower | ( | ) | const |
UT_Polynomial2* UT_Polynomial2::copy | ( | ) | const |
|
inline |
Definition at line 71 of file UT_Polynomial2.h.
|
inline |
Definition at line 72 of file UT_Polynomial2.h.
|
inline |
Definition at line 69 of file UT_Polynomial2.h.
void UT_Polynomial2::makeBezBasisOp | ( | ) |
void UT_Polynomial2::makeIdentity | ( | ) |
void UT_Polynomial2::makePowBasisOp | ( | ) |
void UT_Polynomial2::mult | ( | const UT_Polynomial2 & | poly | ) |
Definition at line 83 of file UT_Polynomial2.h.
Definition at line 84 of file UT_Polynomial2.h.
Definition at line 68 of file UT_Polynomial2.h.
void UT_Polynomial2::transpose | ( | ) |
void UT_Polynomial2::zero | ( | ) |