hpp-spline  4.10.0
template based classes for creating and manipulating spline and bezier curves. Comes with extra options specific to end-effector trajectories in robotics.
cubic_spline.h File Reference

Definition of a cubic spline. More...

#include "MathDefs.h"
#include "polynom.h"
#include <stdexcept>
Include dependency graph for cubic_spline.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 spline
 

Functions

template<typename Point , typename T_Point >
T_Point spline::make_cubic_vector (Point const &a, Point const &b, Point const &c, Point const &d)
 Creates coefficient vector of a cubic spline defined on the interval [tBegin, tEnd]. It follows the equation x(t) = a + b(t - t_min_) + c(t - t_min_)^2 + d(t - t_min_)^3. More...
 
template<typename Time , typename Numeric , std::size_t Dim, bool Safe, typename Point , typename T_Point >
polynom< Time, Numeric, Dim, Safe, Point, T_Point > spline::create_cubic (Point const &a, Point const &b, Point const &c, Point const &d, const Time min, const Time max)
 

Detailed Description

Definition of a cubic spline.

Author
Steve T.
Version
0.1
Date
06/17/2013

This file contains definitions for the CubicFunction struct. It allows the creation and evaluation of natural smooth cubic splines of arbitrary dimension