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

Method ForEachInRectEx

libs/geometry/tree4d.hpp:251–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

for_eachMethod · 0.80
GetRectMethod · 0.45

Tested by

no test coverage detected