SubmapGeometry.hpp
Go to the documentation of this file.
1 /*
2  * SubmapGeometry.hpp
3  *
4  * Created on: Aug 18, 2015
5  * Author: Péter Fankhauser
6  * Institute: ETH Zurich, ANYbotics
7  */
8 
9 #pragma once
10 
12 
13 namespace grid_map {
14 
15 class GridMap;
16 
23 {
24  public:
25 
35  SubmapGeometry(const GridMap& gridMap, const Position& position, const Length& length,
36  bool& isSuccess);
37 
38  virtual ~SubmapGeometry();
39 
40  const GridMap& getGridMap() const;
41  const Length& getLength() const;
42  const Position& getPosition() const;
43  const Index& getRequestedIndexInSubmap() const;
44  const Size& getSize() const;
45  double getResolution() const;
46  const Index& getStartIndex() const;
47 
48  private:
49 
51  const GridMap& gridMap_;
52 
55 
58 
61 
64 
68 
69  public:
70  EIGEN_MAKE_ALIGNED_OPERATOR_NEW
71 };
72 
73 } /* namespace grid_map */
double getResolution() const
Eigen::Array2i Index
Definition: TypeDefs.hpp:22
const GridMap & getGridMap() const
Eigen::Array2i Size
Definition: TypeDefs.hpp:23
Size size_
Size of the submap.
const Index & getRequestedIndexInSubmap() const
const GridMap & gridMap_
Parent grid map of the submap.
Length length_
Length of the submap.
const Length & getLength() const
Eigen::Vector2d Position
Definition: TypeDefs.hpp:18
const Position & getPosition() const
const Size & getSize() const
Index startIndex_
Start index (typically top left) index of the submap.
SubmapGeometry(const GridMap &gridMap, const Position &position, const Length &length, bool &isSuccess)
Position position_
Position (center) of the submap.
const Index & getStartIndex() const
Eigen::Array2d Length
Definition: TypeDefs.hpp:24


grid_map_core
Author(s): Péter Fankhauser
autogenerated on Tue Jul 7 2020 03:14:01