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 | List of all members
BaseSpline2D Class Reference

#include <base_splines.hpp>

Inheritance diagram for BaseSpline2D:
ParSpline

Public Member Functions

 BaseSpline2D ()
 
 BaseSpline2D (double *xx, double *zz, double *ddx, double *ddz, double *ccurv, bool *flag, int nn)
 
virtual ~BaseSpline2D ()
 
- Public Member Functions inherited from ParSpline
 ParSpline (double *xx, double *zz, double *ddx, double *ddz, double *ccurv, bool *flag, int nn)
 
void Interpolate (double *xx, double *zz, int nn, bool *flag, double rc, double sp, double *xx1=NULL, double *zz1=NULL, int nn1=0, bool noInter=false)
 
void GetXZ (double *xx, double *zz)
 
void GetSPXZ (double_ar *sx, double_ar *sz)
 
bool GetKnot (int kn, double &x, double &z)
 
void GetDXDZ (double *ddx, double *ddz)
 
void GetCurv (double *ccurv)
 
void GetSPFlags (bool *flag)
 
int GetN ()
 
bool GetPFlag (int index)
 
bool GetPSpX (double z, double &x)
 
bool GetPSpXs (double z, double *&xs, int &nx)
 
bool GetPSpXs (double z, double *&xs, int &nx, double_ar *xx1, double_ar *zz1)
 
bool GetPSpZ (double x, double &z)
 
bool GetPSpZs (double x, double *&zs, int &nz)
 
bool GetPSpZs (double x, double *&zs, int &nz, double_ar *xx1, double_ar *zz1)
 
bool PSpInt (double x1, double z1, double x2, double z2, double &ix, double &iz, int *nn=NULL)
 
bool PSpInt1 (double x1, double z1, double x2, double z2, double &ix, double &iz, int *nn=NULL)
 
bool PSpInts (double x1, double z1, double x2, double z2, double *ixs, double *izs, int &in, int *inns=NULL)
 
bool PSpI (double x1, double z1, double x2, double z2, int nn, double &ix, double &iz, double &angle, double &curvity)
 
bool PSpI1 (double x1, double z1, double x2, double z2, int nn, double &ix, double &iz, double &angle)
 
bool PSpIs (double x1, double z1, double x2, double z2, int nn, double *ixs, double *izs, int &in, double &angle)
 
bool PSpCutMiddle (double x1, double z1, double x2, double z2, double &ix, double &iz)
 
bool isPSpClean ()
 
void SetXZMinMax (double xmn, double xmx, double zmn, double zmx)
 
void GetXZMinMax (double &xmn, double &xmx, double &zmn, double &zmx)
 
bool CheckSplineStatus ()
 

Protected Member Functions

virtual int IntervalSmoothParSpline (int N1, double *x1, double *z1, bool *flag, int N2, double *xf, double *zf, double rc, double sp, double_ar *xx1, double_ar *zz1, double_ar *dx, double_ar *dz, double_ar *curvity, int_ar *NumNodeBreak)
 

Detailed Description

Provides 2D base spline approximation

Constructor & Destructor Documentation

BaseSpline2D::BaseSpline2D ( )

Construct spline object from knots

BaseSpline2D::BaseSpline2D ( double *  xx,
double *  zz,
double *  ddx,
double *  ddz,
double *  ccurv,
bool *  flag,
int  nn 
)

Constructor for object initialization with previously interpolated points

virtual BaseSpline2D::~BaseSpline2D ( )
virtual

Destruct object

Member Function Documentation

virtual int BaseSpline2D::IntervalSmoothParSpline ( int  N1,
double *  x1,
double *  z1,
bool *  flag,
int  N2,
double *  xf,
double *  zf,
double  rc,
double  sp,
double_ar xx1,
double_ar zz1,
double_ar dx,
double_ar dz,
double_ar curvity,
int_ar NumNodeBreak 
)
protectedvirtual

Main interpolation method. Might be reimplemented.

Reimplemented from ParSpline.


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