MCPcopy Create free account
hub / github.com/comaps/comaps / ForEachInRect

Method ForEachInRect

libs/geometry/tree4d.hpp:245–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243
244 template <typename ToDo>
245 void ForEachInRect(m2::RectD const & rect, ToDo && toDo) const
246 {
247 m_tree.for_each(GetFunctor(rect, [&toDo](Value const & v) { toDo(v.m_val); }));
248 }
249
250 template <typename ToDo>
251 void ForEachInRectEx(m2::RectD const & rect, ToDo && toDo) const

Callers 2

UNIT_TESTFunction · 0.45
CheckInRectFunction · 0.45

Calls 1

for_eachMethod · 0.80

Tested by 2

UNIT_TESTFunction · 0.36
CheckInRectFunction · 0.36