| 82 | } |
| 83 | |
| 84 | bool EllipseIterator::isInside() const |
| 85 | { |
| 86 | Position position; |
| 87 | getPositionFromIndex(position, *(*internalIterator_), mapLength_, mapPosition_, resolution_, bufferSize_, bufferStartIndex_); |
| 88 | double value = ((transformMatrix_ * (position - center_)).array().square() / semiAxisSquare_).sum(); |
| 89 | return (value <= 1); |
| 90 | } |
| 91 | |
| 92 | void EllipseIterator::findSubmapParameters(const Position& center, const Length& length, const double rotation, |
| 93 | Index& startIndex, Size& bufferSize) const |
nothing calls this directly
no test coverage detected