Curves
A library for curves generation.
curves::spline_traits::spline_rep< double, 4 > 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 to spline coefficients. More...
 

Static Public Attributes

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

Detailed Description

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

Definition at line 206 of file polynomial_splines_traits.hpp.

Member Typedef Documentation

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

Definition at line 212 of file polynomial_splines_traits.hpp.

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

Definition at line 211 of file polynomial_splines_traits.hpp.

Member Function Documentation

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

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

Definition at line 231 of file polynomial_splines_traits.hpp.

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

Definition at line 222 of file polynomial_splines_traits.hpp.

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

Definition at line 218 of file polynomial_splines_traits.hpp.

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

Definition at line 214 of file polynomial_splines_traits.hpp.

Member Data Documentation

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

Definition at line 228 of file polynomial_splines_traits.hpp.

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

Definition at line 227 of file polynomial_splines_traits.hpp.

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

Definition at line 209 of file polynomial_splines_traits.hpp.

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

Definition at line 208 of file polynomial_splines_traits.hpp.

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

Definition at line 226 of file polynomial_splines_traits.hpp.


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