UNIVERS
15.3
UNIVERS base processing software API
|
#include <base_splines.hpp>
Public Member Functions | |
Spl_U3dSimpleBspl3Surface (const Spl_U3dBspl3AbstractMatrix *bm, const double(&cp)[4][4]) | |
virtual | ~Spl_U3dSimpleBspl3Surface () |
double | get (double p, double q) const |
double | getSp (double p, double q) const |
double | getSq (double p, double q) const |
double | getSpp (double p, double q) const |
double | getSqq (double p, double q) const |
double | getSpq (double p, double q) const |
Protected Member Functions | |
double | calc (double *pp, double *qq) const |
Protected Attributes | |
const Spl_U3dBspl3AbstractMatrix * | m_bm |
double | m_rm [4][4] |
Simple base spline surface object constructed from 16 control points
Spl_U3dSimpleBspl3Surface::Spl_U3dSimpleBspl3Surface | ( | const Spl_U3dBspl3AbstractMatrix * | bm, |
const double(&) | cp[4][4] | ||
) |
Default constructor with base spline matrix pointer and control points provided. Base matrix is not being copied while construction, just pointer.
|
inlinevirtual |
Destruct object
|
protected |
Calculate final spline result using provided p and q vectors
double Spl_U3dSimpleBspl3Surface::get | ( | double | p, |
double | q | ||
) | const |
Return spline value for provided parameters S=S(p,q), p=0..1, q=0..1
double Spl_U3dSimpleBspl3Surface::getSp | ( | double | p, |
double | q | ||
) | const |
Return partial derivative of spline by p
double Spl_U3dSimpleBspl3Surface::getSpp | ( | double | p, |
double | q | ||
) | const |
Return second order partial derivative by p and p
double Spl_U3dSimpleBspl3Surface::getSpq | ( | double | p, |
double | q | ||
) | const |
Return second order partial derivative by p and q
double Spl_U3dSimpleBspl3Surface::getSq | ( | double | p, |
double | q | ||
) | const |
Return partial derivative of spline by q
double Spl_U3dSimpleBspl3Surface::getSqq | ( | double | p, |
double | q | ||
) | const |
Return second order partial derivative by q and q
|
protected |
Base spline matrix pointer.
|
protected |
Result simple matrix (m_rm = transpose(m_bm)*(control_points)*(m_bm))