Linear Class Reference

Linear interpolation visitor: Interpolates between the given values linearly. More...

#include <RobotAPI/libraries/SimpleTrajectory/interpolate/linear.h>

Public Types

using result_type = VariantValue
 Exposed result type. More...
 

Public Member Functions

 Linear (float t)
 Interpolator. More...
 
VariantValue operator() (const Eigen::MatrixXf &lhs, const Eigen::MatrixXf &rhs) const
 
VariantValue operator() (const Eigen::Quaternionf &lhs, const Eigen::Quaternionf &rhs) const
 
VariantValue operator() (const float &lhs, const float &rhs) const
 
template<typename U , typename V >
VariantValue operator() (const U &, const V &) const
 

Detailed Description

Linear interpolation visitor: Interpolates between the given values linearly.

Definition at line 13 of file linear.h.

Member Typedef Documentation

◆ result_type

Exposed result type.

Definition at line 17 of file linear.h.

Constructor & Destructor Documentation

◆ Linear()

Linear ( float  t)
inline

Interpolator.

Parameters
tin [0, 1], where t = 0 for lhs and t = 1 for rhs.

Definition at line 25 of file linear.h.

Member Function Documentation

◆ operator()() [1/4]

VariantValue operator() ( const Eigen::MatrixXf &  lhs,
const Eigen::MatrixXf &  rhs 
) const
inline

Definition at line 38 of file linear.h.

◆ operator()() [2/4]

VariantValue operator() ( const Eigen::Quaternionf lhs,
const Eigen::Quaternionf rhs 
) const
inline

Definition at line 43 of file linear.h.

+ Here is the call graph for this function:

◆ operator()() [3/4]

VariantValue operator() ( const float lhs,
const float rhs 
) const
inline

Definition at line 33 of file linear.h.

◆ operator()() [4/4]

VariantValue operator() ( const U &  ,
const V &   
) const
inline

Definition at line 28 of file linear.h.


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