#include <base_map_node_index.h>
|
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. More...
|
|
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. More...
|
|
static unsigned int | GetMapIndexRangeNorth (const BaseMapConfig &option, unsigned int resolution_id) |
| Get the index range (maximum possible index + 1) in the north direction. More...
|
|
|
unsigned int | resolution_id_ = 0 |
| The ID of the resolution. Should be less than BaseMapConfig::_map_resolutions.size(). More...
|
|
int | zone_id_ = 10 |
| The zone ID. 1 - 60 and -1 - -60. The positive value is the zone at the north hemisphere. More...
|
|
unsigned int | m_ = 0 |
| The map node ID at the northing direction. More...
|
|
unsigned int | n_ = 0 |
| The map node ID at the easting direction. More...
|
|
◆ MapNodeIndex()
apollo::localization::msf::pyramid_map::MapNodeIndex::MapNodeIndex |
( |
| ) |
|
◆ GetMapIndexRangeEast()
static unsigned int apollo::localization::msf::pyramid_map::MapNodeIndex::GetMapIndexRangeEast |
( |
const BaseMapConfig & |
option, |
|
|
unsigned int |
resolution_id |
|
) |
| |
|
static |
Get the index range (maximum possible index + 1) in the east direction.
◆ GetMapIndexRangeNorth()
static unsigned int apollo::localization::msf::pyramid_map::MapNodeIndex::GetMapIndexRangeNorth |
( |
const BaseMapConfig & |
option, |
|
|
unsigned int |
resolution_id |
|
) |
| |
|
static |
Get the index range (maximum possible index + 1) in the north direction.
◆ GetMapNodeIndex() [1/2]
static MapNodeIndex apollo::localization::msf::pyramid_map::MapNodeIndex::GetMapNodeIndex |
( |
const BaseMapConfig & |
option, |
|
|
const Eigen::Vector3d & |
coordinate, |
|
|
unsigned int |
resolution_id, |
|
|
int |
zone_id |
|
) |
| |
|
static |
Construct a map node index, given a global coordinate, eigen version.
◆ GetMapNodeIndex() [2/2]
static MapNodeIndex apollo::localization::msf::pyramid_map::MapNodeIndex::GetMapNodeIndex |
( |
const BaseMapConfig & |
option, |
|
|
const Eigen::Vector2d & |
coordinate, |
|
|
unsigned int |
resolution_id, |
|
|
int |
zone_id |
|
) |
| |
|
static |
◆ operator!=()
bool apollo::localization::msf::pyramid_map::MapNodeIndex::operator!= |
( |
const MapNodeIndex & |
index | ) |
const |
Overload the unequal operator.
◆ operator<()
bool apollo::localization::msf::pyramid_map::MapNodeIndex::operator< |
( |
const MapNodeIndex & |
index | ) |
const |
Overload the less than operator.
◆ operator==()
bool apollo::localization::msf::pyramid_map::MapNodeIndex::operator== |
( |
const MapNodeIndex & |
index | ) |
const |
Overload the equal operator.
◆ ToString()
std::string apollo::localization::msf::pyramid_map::MapNodeIndex::ToString |
( |
| ) |
const |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
cout, |
|
|
const MapNodeIndex & |
index |
|
) |
| |
|
friend |
◆ m_
unsigned int apollo::localization::msf::pyramid_map::MapNodeIndex::m_ = 0 |
The map node ID at the northing direction.
◆ n_
unsigned int apollo::localization::msf::pyramid_map::MapNodeIndex::n_ = 0 |
The map node ID at the easting direction.
◆ resolution_id_
unsigned int apollo::localization::msf::pyramid_map::MapNodeIndex::resolution_id_ = 0 |
The ID of the resolution. Should be less than BaseMapConfig::_map_resolutions.size().
◆ zone_id_
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.
The documentation for this class was generated from the following file: