Public Member Functions | Static Public Member Functions
ecl::BluePrintFactory< CubicPolynomial > Class Template Reference

Blueprint factory for cubic polynomials. More...

#include <polynomial.hpp>

List of all members.

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.

Detailed Description

template<>
class ecl::BluePrintFactory< CubicPolynomial >

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);
See also:
CubicPolynomial.

Definition at line 890 of file polynomial.hpp.


Constructor & Destructor Documentation

virtual ecl::BluePrintFactory< CubicPolynomial >::~BluePrintFactory ( ) [inline, virtual]

Definition at line 932 of file polynomial.hpp.


Member Function Documentation

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.

Parameters:
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.
Returns:
CubicDerivativeInterpolation : the resulting blueprint.
See also:
ecl::blueprints::CubicDerivativeInterpolation

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.

Parameters:
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.
Returns:
CubicSecondDerivativeInterpolation : the resulting blueprint.
See also:
ecl::blueprints::CubicSecondDerivativeInterpolation

Definition at line 217 of file polynomial_blueprints.cpp.


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


ecl_geometry
Author(s): Daniel Stonier
autogenerated on Mon Jul 3 2017 02:21:52