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