WPILibC++ 2024.3.2
frc::Spline< Degree >::ControlVector Struct Reference

Represents a control vector for a spline. More...

#include <frc/spline/Spline.h>

Public Attributes

wpi::array< double,(Degree+1)/2 > x
 The x components of the control vector. More...
 
wpi::array< double,(Degree+1)/2 > y
 The y components of the control vector. More...
 

Detailed Description

template<int Degree>
struct frc::Spline< Degree >::ControlVector

Represents a control vector for a spline.

Each element in each array represents the value of the derivative at the index. For example, the value of x[2] is the second derivative in the x dimension.

Member Data Documentation

◆ x

template<int Degree>
wpi::array<double, (Degree + 1) / 2> frc::Spline< Degree >::ControlVector::x

The x components of the control vector.

◆ y

template<int Degree>
wpi::array<double, (Degree + 1) / 2> frc::Spline< Degree >::ControlVector::y

The y components of the control vector.


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