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

Function CoverRect

libs/search/mwm_context.cpp:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14namespace search
15{
16void CoverRect(m2::RectD const & rect, int scale, covering::Intervals & result)
17{
18 covering::CoveringGetter covering(rect, covering::ViewportWithLowLevels);
19 auto const & intervals = covering.Get<RectId::DEPTH_LEVELS>(scale);
20 result.insert(result.end(), intervals.begin(), intervals.end());
21}
22
23MwmContext::MwmContext(MwmSet::MwmHandle handle)
24 : m_handle(std::move(handle))

Callers 3

ForEachIndexMethod · 0.70
ForEachFeatureMethod · 0.70

Calls 3

insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected