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

Method Merge

generator/cells_merger.cpp:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52std::vector<m2::RectD> CellsMerger::Merge()
53{
54 CalcSum();
55 std::vector<m2::RectD> cells;
56 while (auto const max = FindMax())
57 cells.emplace_back(Union(*max));
58 return cells;
59}
60
61void CellsMerger::CalcSum()
62{

Callers 5

MergeIntoBaseMethod · 0.45
MergeIntoMethod · 0.45
FinishMethod · 0.45
MergeIntoMethod · 0.45
BuildIndexMethod · 0.45

Calls 2

UnionFunction · 0.85
emplace_backMethod · 0.45

Tested by

no test coverage detected