| 74 | } |
| 75 | |
| 76 | bool SpiralIterator::isInside(const Index index) const |
| 77 | { |
| 78 | Eigen::Vector2d position; |
| 79 | getPositionFromIndex(position, index, mapLength_, mapPosition_, resolution_, bufferSize_); |
| 80 | double squareNorm = (position - center_).array().square().sum(); |
| 81 | return (squareNorm <= radiusSquare_); |
| 82 | } |
| 83 | |
| 84 | void SpiralIterator::generateRing() |
| 85 | { |
nothing calls this directly
no test coverage detected