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

Static Public Attributes

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

Detailed Description

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

Definition at line 162 of file polynomial_splines_traits.hpp.

Member Typedef Documentation

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

Definition at line 168 of file polynomial_splines_traits.hpp.

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

Definition at line 167 of file polynomial_splines_traits.hpp.

Member Function Documentation

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

Map initial pos, initial vel, final pos and final vel to spline coefficients.

Definition at line 187 of file polynomial_splines_traits.hpp.

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

Definition at line 178 of file polynomial_splines_traits.hpp.

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

Definition at line 174 of file polynomial_splines_traits.hpp.

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

Definition at line 170 of file polynomial_splines_traits.hpp.

Member Data Documentation

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

Definition at line 184 of file polynomial_splines_traits.hpp.

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

Definition at line 183 of file polynomial_splines_traits.hpp.

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

Definition at line 165 of file polynomial_splines_traits.hpp.

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

Definition at line 164 of file polynomial_splines_traits.hpp.

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

Definition at line 182 of file polynomial_splines_traits.hpp.


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