UNIVERS
15.3
UNIVERS base processing software API
|
#include <base_splines.hpp>
Public Member Functions | |
Spl_U3dSimpleBspl3Surf3d (const Spl_U3dBspl3AbstractMatrix *bm, const double(&cp)[4][4][4]) | |
virtual | ~Spl_U3dSimpleBspl3Surf3d () |
double | get (double p, double q, double r) const |
Protected Member Functions | |
void | make_tensor (const Spl_U3dBspl3AbstractMatrix *bm, const double(&cp)[4][4][4]) |
double | calc (double *pp, double *qq, double *rr) const |
Protected Attributes | |
double | m_rt [4][4][4] |
const Spl_U3dBspl3AbstractMatrix * | m_bm |
Simple 3D base spline S(p,q,r) defined from 3D hypercube of control points on regular grid.
Spl_U3dSimpleBspl3Surf3d::Spl_U3dSimpleBspl3Surf3d | ( | const Spl_U3dBspl3AbstractMatrix * | bm, |
const double(&) | cp[4][4][4] | ||
) |
Default constructor with base spline matrix pointer and control points provided. Just copy base matrix pointer, not object.
|
inlinevirtual |
Destruct object
|
protected |
Calculate spline value
double Spl_U3dSimpleBspl3Surf3d::get | ( | double | p, |
double | q, | ||
double | r | ||
) | const |
Return spline value for provided parameters S=S(p,q,r), pqr=[0,1]^3
|
protected |
Construct base spline tensor T(3,1)
|
protected |
Base spline matrix pointer.
|
protected |
Result base spline 3d surface tensor