86 return (0 < val) - (val < 0);
112 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
bool operator!=(const SpiralIterator &other) const
Length mapLength_
Map information needed to get position from iterator.
SpiralIterator & operator=(const SpiralIterator &other)
int signum(const int val)
const Eigen::Array2i & operator*() const
std::vector< Index > pointsRing_
unsigned int nRings_
Number of rings into the circle is divided.
double radius_
Radius of the circle.
double getCurrentRadius() const
bool isInside(const Index index) const
double radiusSquare_
Square of the radius for efficiency.
SpiralIterator & operator++()
SpiralIterator(const grid_map::GridMap &gridMap, const Eigen::Vector2d ¢er, const double radius)
Position center_
Position of the circle center;.