#include <ParametricTPSurface.h>
Public Methods | |
| ParametricTPSurface () | |
| ~ParametricTPSurface () | |
| bool | redim (const SplineSpace &space1_, const SplineSpace &space2_) |
| bool | ok () const |
| Ptv(NUMT) | operator() (real t1, real t2) |
| Ptv(NUMT) | derivative (int order1, int order2, real t1, real t2) |
| void | makeTable (int num1, int num2, MatSimple(NUMT) &xtable, MatSimple(NUMT) &ytable, MatSimple(NUMT) &ztable) |
| void | interpolation (const MatSimple(NUMT) &xm, const MatSimple(NUMT) &ym, const MatSimple(NUMT) &zm, int k1=4, int k2=4, const char *method1="Uniform", const char *method2="Uniform", bool repeat=false) |
| void | scan (Is is) |
| void | setCoef (const MatSimple(NUMT) &xc, const MatSimple(NUMT) &yc, const MatSimple(NUMT) &zc) |
| void | getCoef (MatSimple(NUMT) &xc, MatSimple(NUMT) &yc, MatSimple(NUMT) &zc) |
NAME: ParametricTPSurface - parametric tensor product B-spline surface
DESCRIPTION:
A class for representation of the parametric tensor product surface. It is built on the basis of class TPSurface
|
|
No special initialization is needed. |
|
|
|
|
|
returns also a "Ptv(NUMT)" as result which contains the corresponding derivatives to the two parameters. |
|
|
gets the coefficients. |
|
|
carries out interpolation according to input data. This is the only interpolation function in the class. The orders for the two spline spaces can be specified as input. The function operates in two modes: (i) If both of the Spline spaces are already built up and the input data are suitable, an interpolation is taken out using the original spline spaces. (ii) Otherwise, new spline spaces will be created and used in the inpolation process. |
|
|
fills three "MatSimple(NUMT)" objects with x,y and z values. |
|
|
checks whether the surface is ready for usage. |
|
|
|
|
|
attaches new spline spaces. |
|
|
reads interpolating data directly from an ASCII file and carries out cubic interpolation. |
|
|
assigns the three coefficient matrices. |