Namespaces | Functions
GridMapMath.cpp File Reference
#include "grid_map_core/GridMapMath.hpp"
#include <cmath>
#include <limits>
Include dependency graph for GridMapMath.cpp:

Go to the source code of this file.

Namespaces

 grid_map
 
 grid_map::internal
 

Functions

void grid_map::boundIndexToRange (Index &index, const Size &bufferSize)
 
void grid_map::boundIndexToRange (int &index, const int &bufferSize)
 
void grid_map::boundPositionToRange (Position &position, const Length &mapLength, const Position &mapPosition)
 
bool grid_map::checkIfIndexInRange (const Index &index, const Size &bufferSize)
 
bool grid_map::checkIfPositionWithinMap (const Position &position, const Length &mapLength, const Position &mapPosition)
 
bool grid_map::internal::checkIfStartIndexAtDefaultPosition (const Index &bufferStartIndex)
 
bool grid_map::colorValueToVector (const unsigned long &colorValue, Eigen::Vector3i &colorVector)
 
bool grid_map::colorValueToVector (const unsigned long &colorValue, Eigen::Vector3f &colorVector)
 
bool grid_map::colorValueToVector (const float &colorValue, Eigen::Vector3f &colorVector)
 
bool grid_map::colorVectorToValue (const Eigen::Vector3i &colorVector, unsigned long &colorValue)
 
void grid_map::colorVectorToValue (const Eigen::Vector3i &colorVector, float &colorValue)
 
void grid_map::colorVectorToValue (const Eigen::Vector3f &colorVector, float &colorValue)
 
Index grid_map::getBufferIndexFromIndex (const Index &index, const Size &bufferSize, const Index &bufferStartIndex)
 
const Eigen::Matrix2i grid_map::getBufferOrderToMapFrameAlignment ()
 
Eigen::Matrix2i grid_map::internal::getBufferOrderToMapFrameTransformation ()
 
bool grid_map::getBufferRegionsForSubmap (std::vector< BufferRegion > &submapBufferRegions, const Index &submapIndex, const Size &submapBufferSize, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
 
Index grid_map::getIndexFromBufferIndex (const Index &bufferIndex, const Size &bufferSize, const Index &bufferStartIndex)
 
Index grid_map::internal::getIndexFromIndexVector (const Vector &indexVector, const Size &bufferSize, const Index &bufferStartIndex)
 
Index grid_map::getIndexFromLinearIndex (const size_t linearIndex, const Size &bufferSize, const bool rowMajor=false)
 
bool grid_map::getIndexFromPosition (Index &index, const Position &position, const Length &mapLength, const Position &mapPosition, const double &resolution, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
 
bool grid_map::getIndexShiftFromPositionShift (Index &indexShift, const Vector &positionShift, const double &resolution)
 
Vector grid_map::internal::getIndexVectorFromIndex (const Index &index, const Size &bufferSize, const Index &bufferStartIndex)
 
void grid_map::getIndicesForRegion (const Index &regionIndex, const Size &regionSize, std::vector< Index > indices)
 
void grid_map::getIndicesForRegions (const std::vector< Index > &regionIndeces, const Size &regionSizes, std::vector< Index > indices)
 
size_t grid_map::getLinearIndexFromIndex (const Index &index, const Size &bufferSize, const bool rowMajor=false)
 
Eigen::Matrix2i grid_map::internal::getMapFrameToBufferOrderTransformation ()
 
bool grid_map::getPositionFromIndex (Position &position, const Index &index, const Length &mapLength, const Position &mapPosition, const double &resolution, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
 
void grid_map::getPositionOfDataStructureOrigin (const Position &position, const Length &mapLength, Position &positionOfOrigin)
 
bool grid_map::getPositionShiftFromIndexShift (Vector &positionShift, const Index &indexShift, const double &resolution)
 
BufferRegion::Quadrant grid_map::internal::getQuadrant (const Index &index, const Index &bufferStartIndex)
 
bool grid_map::getSubmapInformation (Index &submapTopLeftIndex, Size &submapBufferSize, Position &submapPosition, Length &submapLength, Index &requestedIndexInSubmap, const Position &requestedSubmapPosition, const Length &requestedSubmapLength, const Length &mapLength, const Position &mapPosition, const double &resolution, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
 
Size grid_map::getSubmapSizeFromCornerIndeces (const Index &topLeftIndex, const Index &bottomRightIndex, const Size &bufferSize, const Index &bufferStartIndex)
 
bool grid_map::internal::getVectorToFirstCell (Vector &vectorToFirstCell, const Length &mapLength, const double &resolution)
 
bool grid_map::internal::getVectorToOrigin (Vector &vectorToOrigin, const Length &mapLength)
 
bool grid_map::incrementIndex (Index &index, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
 
bool grid_map::incrementIndexForSubmap (Index &submapIndex, Index &index, const Index &submapTopLeftIndex, const Size &submapBufferSize, const Size &bufferSize, const Index &bufferStartIndex=Index::Zero())
 
void grid_map::wrapIndexToRange (Index &index, const Size &bufferSize)
 
void grid_map::wrapIndexToRange (int &index, const int &bufferSize)
 


grid_map_core
Author(s): Péter Fankhauser
autogenerated on Tue Jun 25 2019 20:02:08