11 #include "../iterators/submap_iterator.hpp" 12 #include "../cost_map.hpp" 81 Index& startIndex,
Size& bufferSize)
const;
void findSubmapParameters(const Position ¢er, const Length &length, const double rotation, Index &startIndex, Size &bufferSize) const
EllipseIterator(const CostMap &gridMap, const Position ¢er, const Length &length, const double rotation=0.0)
Position center_
Position of the circle center;.
Length mapLength_
Map information needed to get position from iterator.
const Index & operator*() const
Eigen::Matrix2d transformMatrix_
Sine and cosine values of the rotation angle as transformation matrix.
Eigen::Array2d semiAxisSquare_
Square length of the semi axis.
std::shared_ptr< SubmapIterator > internalIterator_
Grid submap iterator. // TODO Think of using unique_ptr instead.
grid_map::Position Position
EllipseIterator & operator++()
bool operator!=(const EllipseIterator &other) const
EllipseIterator & operator=(const EllipseIterator &other)