GCS::BSpline Class Reference

#include <Geo.h>

Public Member Functions

 BSpline ()
 
DeriVector2 CalculateNormal (const Point &p, const double *derivparam=nullptr) const override
 
virtual BSplineCopy () override
 
virtual int PushOwnParams (VEC_pD &pvec) override
 
virtual void ReconstructOnNewPvec (VEC_pD &pvec, int &cnt) override
 
virtual DeriVector2 Value (double u, double du, const double *derivparam=nullptr) const override
 Value: returns point (vector) given the value of parameter. More...
 
virtual ~BSpline ()
 
- Public Member Functions inherited from GCS::Curve
virtual DeriVector2 CalculateNormal (const Point &p, const double *derivparam=nullptr) const =0
 
virtual CurveCopy ()=0
 
virtual int PushOwnParams (VEC_pD &pvec)=0
 
virtual void ReconstructOnNewPvec (VEC_pD &pvec, int &cnt)=0
 
virtual DeriVector2 Value (double u, double du, const double *derivparam=nullptr) const
 Value: returns point (vector) given the value of parameter. More...
 
virtual ~Curve ()
 

Public Attributes

int degree
 
Point end
 
VEC_I knotpointGeoids
 
VEC_pD knots
 
VEC_I mult
 
bool periodic
 
VEC_P poles
 
Point start
 
VEC_pD weights
 

Constructor & Destructor Documentation

◆ BSpline()

GCS::BSpline::BSpline ( )

References degree, and periodic.

Referenced by Copy().

◆ ~BSpline()

virtual GCS::BSpline::~BSpline ( )
virtual

Member Function Documentation

◆ CalculateNormal()

DeriVector2 GCS::BSpline::CalculateNormal ( const Point p,
const double *  derivparam = nullptr 
) const
overridevirtual

◆ Copy()

BSpline * GCS::BSpline::Copy ( void  )
overridevirtual

Implements GCS::Curve.

References BSpline().

◆ PushOwnParams()

int GCS::BSpline::PushOwnParams ( VEC_pD pvec)
overridevirtual

Implements GCS::Curve.

References knots, and poles.

◆ ReconstructOnNewPvec()

void GCS::BSpline::ReconstructOnNewPvec ( VEC_pD pvec,
int cnt 
)
overridevirtual

Implements GCS::Curve.

References knots, and poles.

◆ Value()

DeriVector2 GCS::BSpline::Value ( double  u,
double  du,
const double *  derivparam = nullptr 
) const
overridevirtual

Value: returns point (vector) given the value of parameter.

Parameters
uvalue of parameter
duderivative of parameter by derivparam
derivparampointer to sketch parameter to calculate the derivative for
Returns

Reimplemented from GCS::Curve.

Member Data Documentation

◆ degree

◆ end

◆ knotpointGeoids

VEC_I GCS::BSpline::knotpointGeoids

◆ knots

◆ mult

VEC_I GCS::BSpline::mult

◆ periodic

bool GCS::BSpline::periodic

Referenced by BSpline().

◆ poles

◆ start

◆ weights

VEC_pD GCS::BSpline::weights

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