Curves
A library for curves generation.
curves::spline_traits::spline_rep< double, 5 > Struct Template Reference

#include <polynomial_splines_traits.hpp>

Public Types

using TimeVectorType = std::array< double, numCoefficients >
 
using SplineCoefficients = std::array< double, numCoefficients >
 

Static Public Member Functions

static TimeVectorType tau (double tk) noexcept
 
static TimeVectorType dtau (double tk) noexcept
 
static TimeVectorType ddtau (double tk) noexcept
 
static bool compute (const SplineOptions &opts, SplineCoefficients &coefficients)
 Map initial pos/vel/accel and final pos/vel/accel to spline coefficients. More...
 

Static Public Attributes

static constexpr unsigned int splineOrder = 5
 
static constexpr unsigned int numCoefficients = splineOrder+1
 
static constexpr TimeVectorType tauZero {{ 0.0, 0.0, 0.0, 0.0, 0.0, 1.0 }}
 
static constexpr TimeVectorType dtauZero {{ 0.0, 0.0, 0.0, 0.0, 1.0, 0.0 }}
 
static constexpr TimeVectorType ddtauZero {{ 0.0, 0.0, 0.0, 2.0, 0.0, 0.0 }}
 

Detailed Description

template<>
struct curves::spline_traits::spline_rep< double, 5 >

Definition at line 252 of file polynomial_splines_traits.hpp.

Member Typedef Documentation

using curves::spline_traits::spline_rep< double, 5 >::SplineCoefficients = std::array<double, numCoefficients>

Definition at line 258 of file polynomial_splines_traits.hpp.

using curves::spline_traits::spline_rep< double, 5 >::TimeVectorType = std::array<double, numCoefficients>

Definition at line 257 of file polynomial_splines_traits.hpp.

Member Function Documentation

static bool curves::spline_traits::spline_rep< double, 5 >::compute ( const SplineOptions opts,
SplineCoefficients coefficients 
)
inlinestatic

Map initial pos/vel/accel and final pos/vel/accel to spline coefficients.

Definition at line 280 of file polynomial_splines_traits.hpp.

static TimeVectorType curves::spline_traits::spline_rep< double, 5 >::ddtau ( double  tk)
inlinestaticnoexcept

Definition at line 270 of file polynomial_splines_traits.hpp.

static TimeVectorType curves::spline_traits::spline_rep< double, 5 >::dtau ( double  tk)
inlinestaticnoexcept

Definition at line 265 of file polynomial_splines_traits.hpp.

static TimeVectorType curves::spline_traits::spline_rep< double, 5 >::tau ( double  tk)
inlinestaticnoexcept

Definition at line 260 of file polynomial_splines_traits.hpp.

Member Data Documentation

constexpr TimeVectorType curves::spline_traits::spline_rep< double, 5 >::ddtauZero {{ 0.0, 0.0, 0.0, 2.0, 0.0, 0.0 }}
static

Definition at line 277 of file polynomial_splines_traits.hpp.

constexpr TimeVectorType curves::spline_traits::spline_rep< double, 5 >::dtauZero {{ 0.0, 0.0, 0.0, 0.0, 1.0, 0.0 }}
static

Definition at line 276 of file polynomial_splines_traits.hpp.

constexpr unsigned int curves::spline_traits::spline_rep< double, 5 >::numCoefficients = splineOrder+1
static

Definition at line 255 of file polynomial_splines_traits.hpp.

constexpr unsigned int curves::spline_traits::spline_rep< double, 5 >::splineOrder = 5
static

Definition at line 254 of file polynomial_splines_traits.hpp.

constexpr TimeVectorType curves::spline_traits::spline_rep< double, 5 >::tauZero {{ 0.0, 0.0, 0.0, 0.0, 0.0, 1.0 }}
static

Definition at line 275 of file polynomial_splines_traits.hpp.


The documentation for this struct was generated from the following file: