Blueprint factory for cubic polynomials. More...
#include <polynomial.hpp>
Public Member Functions | |
virtual | ~BluePrintFactory () |
Static Public Member Functions | |
static CubicDerivativeInterpolation | DerivativeInterpolation (const double x_i, const double y_i, const double ydot_i, const double x_f, const double y_f, const double ydot_f) |
Blueprint for an interpolating cubic between two end points using derivatives. | |
static CubicSecondDerivativeInterpolation | SecondDerivativeInterpolation (const double x_i, const double y_i, const double yddot_i, const double x_f, const double y_f, const double yddot_f) |
Blueprint for an interpolating cubic between two end points using second derivatives. |
Blueprint factory for cubic polynomials.
Generates various blueprints that instantiate or configure cubic polynomials with commonly used configurations. This class is inherited by the CubicPolynomial class, consequently it is simpler to access these blueprints via the inheritance mechanisms than to use this class directly. For example,
CubicPolynomial cubic = CubicPolynomial::DerivativeInterpolation(0.0,0.0,0.0,1.0,2.0,0.0); CubicPolynomial cubic = CubicPolynomial::SecondDerivativeInterpolation(0.0,0.0,0.0,1.0,2.0,0.0);
Definition at line 879 of file polynomial.hpp.
virtual ecl::BluePrintFactory< CubicPolynomial >::~BluePrintFactory | ( | ) | [inline, virtual] |
Definition at line 921 of file polynomial.hpp.
CubicDerivativeInterpolation ecl::BluePrintFactory< CubicPolynomial >::DerivativeInterpolation | ( | const double | x_i, |
const double | y_i, | ||
const double | ydot_i, | ||
const double | x_f, | ||
const double | y_f, | ||
const double | ydot_f | ||
) | [static] |
Blueprint for an interpolating cubic between two end points using derivatives.
Generates a blueprint for creating cubic polynomials generated from value and derivative constraints on the endpoints.
x_i | : initial domain value. |
y_i | : initial polynomial value. |
ydot_i | : initial polynomial slope. |
x_f | : final domain value. |
y_f | : final polynomial value. |
ydot_f | : final polynomial slope. |
Definition at line 213 of file polynomial_blueprints.cpp.
CubicSecondDerivativeInterpolation ecl::BluePrintFactory< CubicPolynomial >::SecondDerivativeInterpolation | ( | const double | x_i, |
const double | y_i, | ||
const double | yddot_i, | ||
const double | x_f, | ||
const double | y_f, | ||
const double | yddot_f | ||
) | [static] |
Blueprint for an interpolating cubic between two end points using second derivatives.
Generates a blueprint for creating cubic polynomials generated from value and second derivative constraints on the endpoints.
x_i | : initial domain value. |
y_i | : initial polynomial value. |
yddot_i | : initial polynomial curvature. |
x_f | : final domain value. |
y_f | : final polynomial value. |
yddot_f | : final polynomial curvature. |
Definition at line 217 of file polynomial_blueprints.cpp.