| 249 | |
| 250 | template <typename ToDo> |
| 251 | void ForEachInRectEx(m2::RectD const & rect, ToDo && toDo) const |
| 252 | { |
| 253 | m_tree.for_each(GetFunctor(rect, [&toDo](Value const & v) { toDo(v.GetRect(), v.m_val); })); |
| 254 | } |
| 255 | |
| 256 | bool IsEmpty() const { return m_tree.empty(); } |
| 257 |