Apollo  6.0
Open source self driving car software
Public Types | Public Member Functions | List of all members
apollo::control::Interpolation1D Class Reference

#include <interpolation_1d.h>

Collaboration diagram for apollo::control::Interpolation1D:
Collaboration graph

Public Types

typedef std::vector< std::pair< double, double > > DataType
 

Public Member Functions

 Interpolation1D ()=default
 
bool Init (const DataType &xy)
 
double Interpolate (double x) const
 

Member Typedef Documentation

◆ DataType

typedef std::vector<std::pair<double, double> > apollo::control::Interpolation1D::DataType

Constructor & Destructor Documentation

◆ Interpolation1D()

apollo::control::Interpolation1D::Interpolation1D ( )
default

Member Function Documentation

◆ Init()

bool apollo::control::Interpolation1D::Init ( const DataType xy)

◆ Interpolate()

double apollo::control::Interpolation1D::Interpolate ( double  x) const

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