Documentation 6b54b78464
Loading...
Searching...
No Matches
CBezierBlending Class Reference

Class that defines the blending using Bernsteinpolynomials (Bezier Curves). More...

#include <CBezierBlending.hpp>

Inheritance diagram for CBezierBlending:
[legend]

Public Member Functions

 CBezierBlending (short val_order, short n_controlpoints)
 Constructor of the class.
 
 ~CBezierBlending () override
 Destructor of the class.
 
su2double GetBasis (short val_i, su2double val_t) override
 Returns the value of the i-th basis function and stores the values of the i+p basis functions in the matrix N.
 
su2double GetDerivative (short val_i, su2double val_t, short val_order_der) override
 Returns the value of the derivative of the i-th basis function.
 
void SetOrder (short val_order, short n_controlpoints) override
 Set the order and number of control points.
 
- Public Member Functions inherited from CFreeFormBlending
 CFreeFormBlending ()
 Constructor of the class.
 
virtual ~CFreeFormBlending ()
 Destructor of the class.
 
su2double GetOrder () const
 Returns the current order of the function.
 
su2double GetDegree () const
 Returns the current degree of the function.
 

Additional Inherited Members

- Protected Attributes inherited from CFreeFormBlending
unsigned short Order
 Order of the polynomial basis.
 
unsigned short Degree
 Degree (Order - 1) of the polynomial basis.
 
unsigned short nControl
 Number of control points.
 

Detailed Description

Class that defines the blending using Bernsteinpolynomials (Bezier Curves).

Author
F. Palacios, T. Albring

Constructor & Destructor Documentation

◆ CBezierBlending()

CBezierBlending::CBezierBlending ( short  val_order,
short  n_controlpoints 
)

Constructor of the class.

Parameters
[in]val_order- Max. order of the basis functions.
[in]n_controlpoints- Not used here.

◆ ~CBezierBlending()

CBezierBlending::~CBezierBlending ( )
overridedefault

Destructor of the class.

Member Function Documentation

◆ GetBasis()

su2double CBezierBlending::GetBasis ( short  val_i,
su2double  val_t 
)
overridevirtual

Returns the value of the i-th basis function and stores the values of the i+p basis functions in the matrix N.

Parameters
[in]val_i- index of the basis function.
[in]val_t- Point at which we want to evaluate the i-th basis.

Reimplemented from CFreeFormBlending.

◆ GetDerivative()

su2double CBezierBlending::GetDerivative ( short  val_i,
su2double  val_t,
short  val_order_der 
)
overridevirtual

Returns the value of the derivative of the i-th basis function.

Parameters
[in]val_i- index of the basis function.
[in]val_t- Point at which we want to evaluate the derivative of the i-th basis.
[in]val_order- Order of the derivative.

Reimplemented from CFreeFormBlending.

◆ SetOrder()

void CBezierBlending::SetOrder ( short  val_order,
short  n_controlpoints 
)
overridevirtual

Set the order and number of control points.

Parameters
[in]val_order- The new order of the function.
[in]n_controlpoints- the new number of control points.

Reimplemented from CFreeFormBlending.


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