Apollo 10.0
自动驾驶开放平台
|
linear interpolation from key (double, double) to one double value. 更多...
#include <interpolation_2d.h>
Public 类型 | |
typedef std::vector< std::tuple< double, double, double > > | DataType |
typedef std::pair< double, double > | KeyType |
Public 成员函数 | |
Interpolation2D ()=default | |
bool | Init (const DataType &xyz) |
initialize Interpolation2D internal table | |
double | Interpolate (const KeyType &xy) const |
linear interpolate from 2D key (double, double) to one double value. | |
bool | CheckMap () const |
linear interpolation from key (double, double) to one double value.
在文件 interpolation_2d.h 第 40 行定义.
typedef std::vector<std::tuple<double, double, double> > apollo::control::Interpolation2D::DataType |
在文件 interpolation_2d.h 第 42 行定义.
typedef std::pair<double, double> apollo::control::Interpolation2D::KeyType |
在文件 interpolation_2d.h 第 43 行定义.
|
default |
bool apollo::control::Interpolation2D::CheckMap | ( | ) | const |
在文件 interpolation_2d.cc 第 50 行定义.
bool apollo::control::Interpolation2D::Init | ( | const DataType & | xyz | ) |
initialize Interpolation2D internal table
xyz | passing interpolation initialization table data |
在文件 interpolation_2d.cc 第 33 行定义.
double apollo::control::Interpolation2D::Interpolate | ( | const KeyType & | xy | ) | const |
linear interpolate from 2D key (double, double) to one double value.
xyz | passing interpolation initialization table data |
在文件 interpolation_2d.cc 第 85 行定义.