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

Function PrintStats

generator/statistics.cpp:232–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230};
231
232void PrintStats(std::ostream & os, MapInfo & info)
233{
234 PrintInfo(os, "Feature headers", info.m_innerSize, 30);
235 PrintInfo(os, "incl. inner points", info.m_innerPoints, 30);
236 PrintInfo(os, "incl. first/base outer points", info.m_innerFirstPoints, 30);
237 PrintInfo(os, "incl. inner triangles (strips)", info.m_innerStrips, 30);
238
239 PrintTop<greater_size>(os, "Top SIZE by Geometry Type", info.m_byGeomType, 5, true);
240 PrintTop<greater_size>(os,
241 "Top SIZE by Classificator Type\n"
242 "(a single feature's size may be included in several types)",
243 info.m_byClassifType, 30, true);
244 PrintTop<greater_size>(os, "Top SIZE by Points Count", info.m_byPointsCount);
245 PrintTop<greater_size>(os, "Top SIZE by Triangles Count", info.m_byTrgCount);
246 PrintTop<greater_size>(os, "Top SIZE by Area", info.m_byAreaSize, 5, true);
247 os << "\n";
248}
249
250/// @note If you gonna change this function, take into account
251/// ./tools/python/maps_generator/generator/statistics.py

Callers 1

generator_tool.cppFile · 0.85

Calls 1

PrintInfoFunction · 0.85

Tested by

no test coverage detected