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

Static Public Attributes

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

Detailed Description

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

Definition at line 90 of file polynomial_splines_traits.hpp.

Member Typedef Documentation

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

Definition at line 96 of file polynomial_splines_traits.hpp.

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

Definition at line 95 of file polynomial_splines_traits.hpp.

Member Function Documentation

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

Map initial pos and final pos to spline coefficients.

Definition at line 115 of file polynomial_splines_traits.hpp.

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

Definition at line 106 of file polynomial_splines_traits.hpp.

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

Definition at line 102 of file polynomial_splines_traits.hpp.

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

Definition at line 98 of file polynomial_splines_traits.hpp.

Member Data Documentation

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

Definition at line 112 of file polynomial_splines_traits.hpp.

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

Definition at line 111 of file polynomial_splines_traits.hpp.

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

Definition at line 93 of file polynomial_splines_traits.hpp.

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

Definition at line 92 of file polynomial_splines_traits.hpp.

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

Definition at line 110 of file polynomial_splines_traits.hpp.


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