UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Spl_U3dSimpleBspl3Surf3d Class Reference

#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_U3dBspl3AbstractMatrixm_bm
 

Detailed Description

Simple 3D base spline S(p,q,r) defined from 3D hypercube of control points on regular grid.

Constructor & Destructor Documentation

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.

virtual Spl_U3dSimpleBspl3Surf3d::~Spl_U3dSimpleBspl3Surf3d ( )
inlinevirtual

Destruct object

Member Function Documentation

double Spl_U3dSimpleBspl3Surf3d::calc ( double *  pp,
double *  qq,
double *  rr 
) const
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

void Spl_U3dSimpleBspl3Surf3d::make_tensor ( const Spl_U3dBspl3AbstractMatrix bm,
const double(&)  cp[4][4][4] 
)
protected

Construct base spline tensor T(3,1)

Member Data Documentation

const Spl_U3dBspl3AbstractMatrix* Spl_U3dSimpleBspl3Surf3d::m_bm
protected

Base spline matrix pointer.

double Spl_U3dSimpleBspl3Surf3d::m_rt[4][4][4]
protected

Result base spline 3d surface tensor


The documentation for this class was generated from the following file: