Apollo 10.0
自动驾驶开放平台
|
#include <base_map_node_index.h>
Public 成员函数 | |
MapNodeIndex () | |
The constructor. | |
bool | operator< (const MapNodeIndex &index) const |
Overload the less than operator. | |
bool | operator== (const MapNodeIndex &index) const |
Overload the equal operator. | |
bool | operator!= (const MapNodeIndex &index) const |
Overload the unequal operator. | |
std::string | ToString () const |
静态 Public 成员函数 | |
static MapNodeIndex | GetMapNodeIndex (const BaseMapConfig &option, const Eigen::Vector3d &coordinate, unsigned int resolution_id, int zone_id) |
Construct a map node index, given a global coordinate, eigen version. | |
static MapNodeIndex | GetMapNodeIndex (const BaseMapConfig &option, const Eigen::Vector2d &coordinate, unsigned int resolution_id, int zone_id) |
static unsigned int | GetMapIndexRangeEast (const BaseMapConfig &option, unsigned int resolution_id) |
Get the index range (maximum possible index + 1) in the east direction. | |
static unsigned int | GetMapIndexRangeNorth (const BaseMapConfig &option, unsigned int resolution_id) |
Get the index range (maximum possible index + 1) in the north direction. | |
Public 属性 | |
unsigned int | resolution_id_ = 0 |
The ID of the resolution. | |
int | zone_id_ = 10 |
The zone ID. | |
unsigned int | m_ = 0 |
The map node ID at the northing direction. | |
unsigned int | n_ = 0 |
The map node ID at the easting direction. | |
友元 | |
std::ostream & | operator<< (std::ostream &cout, const MapNodeIndex &index) |
在文件 base_map_node_index.h 第 33 行定义.
apollo::localization::msf::pyramid_map::MapNodeIndex::MapNodeIndex | ( | ) |
The constructor.
在文件 base_map_node_index.cc 第 28 行定义.
|
static |
Get the index range (maximum possible index + 1) in the east direction.
在文件 base_map_node_index.cc 第 95 行定义.
|
static |
Get the index range (maximum possible index + 1) in the north direction.
在文件 base_map_node_index.cc 第 103 行定义.
|
static |
在文件 base_map_node_index.cc 第 67 行定义.
|
static |
Construct a map node index, given a global coordinate, eigen version.
在文件 base_map_node_index.cc 第 59 行定义.
bool apollo::localization::msf::pyramid_map::MapNodeIndex::operator!= | ( | const MapNodeIndex & | index | ) | const |
Overload the unequal operator.
在文件 base_map_node_index.cc 第 47 行定义.
bool apollo::localization::msf::pyramid_map::MapNodeIndex::operator< | ( | const MapNodeIndex & | index | ) | const |
Overload the less than operator.
在文件 base_map_node_index.cc 第 35 行定义.
bool apollo::localization::msf::pyramid_map::MapNodeIndex::operator== | ( | const MapNodeIndex & | index | ) | const |
std::string apollo::localization::msf::pyramid_map::MapNodeIndex::ToString | ( | ) | const |
在文件 base_map_node_index.cc 第 51 行定义.
|
friend |
在文件 base_map_node_index.cc 第 111 行定义.
unsigned int apollo::localization::msf::pyramid_map::MapNodeIndex::m_ = 0 |
The map node ID at the northing direction.
在文件 base_map_node_index.h 第 73 行定义.
unsigned int apollo::localization::msf::pyramid_map::MapNodeIndex::n_ = 0 |
The map node ID at the easting direction.
在文件 base_map_node_index.h 第 75 行定义.
unsigned int apollo::localization::msf::pyramid_map::MapNodeIndex::resolution_id_ = 0 |
The ID of the resolution.
Should be less than BaseMapConfig::_map_resolutions.size().
在文件 base_map_node_index.h 第 68 行定义.
int apollo::localization::msf::pyramid_map::MapNodeIndex::zone_id_ = 10 |
The zone ID.
1 - 60 and -1 - -60. The positive value is the zone at the north hemisphere.
在文件 base_map_node_index.h 第 71 行定义.