| 72 | } |
| 73 | |
| 74 | bool CircleIterator::isInside() const |
| 75 | { |
| 76 | Position position; |
| 77 | getPositionFromIndex(position, *(*internalIterator_), mapLength_, mapPosition_, resolution_, bufferSize_, bufferStartIndex_); |
| 78 | double squareNorm = (position - center_).array().square().sum(); |
| 79 | return (squareNorm <= radiusSquare_); |
| 80 | } |
| 81 | |
| 82 | void CircleIterator::findSubmapParameters(const Position& center, const double radius, |
| 83 | Index& startIndex, Size& bufferSize) const |
nothing calls this directly
no test coverage detected