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