Functions
grid_map::internal Namespace Reference

Functions

bool checkIfStartIndexAtDefaultPosition (const Index &bufferStartIndex)
 
Eigen::Matrix2i getBufferOrderToMapFrameTransformation ()
 
Index getIndexFromIndexVector (const Vector &indexVector, const Size &bufferSize, const Index &bufferStartIndex)
 
Vector getIndexVectorFromIndex (const Index &index, const Size &bufferSize, const Index &bufferStartIndex)
 
Eigen::Matrix2i getMapFrameToBufferOrderTransformation ()
 
BufferRegion::Quadrant getQuadrant (const Index &index, const Index &bufferStartIndex)
 
bool getVectorToFirstCell (Vector &vectorToFirstCell, const Length &mapLength, const double &resolution)
 
bool getVectorToOrigin (Vector &vectorToOrigin, const Length &mapLength)
 
Vector transformBufferOrderToMapFrame (const Index &index)
 
Index transformMapFrameToBufferOrder (const Vector &vector)
 
Index transformMapFrameToBufferOrder (const Eigen::Vector2i &vector)
 

Function Documentation

bool grid_map::internal::checkIfStartIndexAtDefaultPosition ( const Index bufferStartIndex)
inline

Definition at line 77 of file GridMapMath.cpp.

Eigen::Matrix2i grid_map::internal::getBufferOrderToMapFrameTransformation ( )
inline

Definition at line 55 of file GridMapMath.cpp.

Index grid_map::internal::getIndexFromIndexVector ( const Vector indexVector,
const Size bufferSize,
const Index bufferStartIndex 
)
inline

Definition at line 92 of file GridMapMath.cpp.

Vector grid_map::internal::getIndexVectorFromIndex ( const Index index,
const Size bufferSize,
const Index bufferStartIndex 
)
inline

Definition at line 82 of file GridMapMath.cpp.

Eigen::Matrix2i grid_map::internal::getMapFrameToBufferOrderTransformation ( )
inline

Definition at line 64 of file GridMapMath.cpp.

BufferRegion::Quadrant grid_map::internal::getQuadrant ( const Index index,
const Index bufferStartIndex 
)
inline

Definition at line 101 of file GridMapMath.cpp.

bool grid_map::internal::getVectorToFirstCell ( Vector vectorToFirstCell,
const Length mapLength,
const double &  resolution 
)
inline

Gets the vector from the center of the map to the center of the first cell of the map data.

Parameters
[out]vectorToFirstCellthe vector from the center of the cell to the center of the map.
[in]mapLengththe lengths in x and y direction.
[in]resolutionthe resolution of the map.
Returns
true if successful.

Definition at line 44 of file GridMapMath.cpp.

bool grid_map::internal::getVectorToOrigin ( Vector vectorToOrigin,
const Length mapLength 
)
inline

Gets the vector from the center of the map to the origin of the map data structure.

Parameters
[out]vectorToOriginthe vector from the center of the map the origin of the map data structure.
[in]mapLengththe lengths in x and y direction.
Returns
true if successful.

Definition at line 30 of file GridMapMath.cpp.

Vector grid_map::internal::transformBufferOrderToMapFrame ( const Index index)
inline

Definition at line 60 of file GridMapMath.cpp.

Index grid_map::internal::transformMapFrameToBufferOrder ( const Vector vector)
inline

Definition at line 69 of file GridMapMath.cpp.

Index grid_map::internal::transformMapFrameToBufferOrder ( const Eigen::Vector2i &  vector)
inline

Definition at line 73 of file GridMapMath.cpp.



grid_map_core
Author(s): Péter Fankhauser
autogenerated on Tue Jun 1 2021 02:13:27