| 219 | } |
| 220 | |
| 221 | std::vector<HierarchyEntry> HierarchyLinesBuilder::GetHierarchyLines() |
| 222 | { |
| 223 | CHECK(m_getName, ()); |
| 224 | CHECK(m_getMainType, ()); |
| 225 | |
| 226 | std::vector<HierarchyEntry> lines; |
| 227 | for (auto const & tree : m_trees) |
| 228 | tree_node::PreOrderVisit(tree, [&](auto const & node) { lines.emplace_back(Transform(node)); }); |
| 229 | |
| 230 | return lines; |
| 231 | } |
| 232 | |
| 233 | m2::PointD HierarchyLinesBuilder::GetCenter(HierarchyLinker::Node::Ptr const & node) |
| 234 | { |
no test coverage detected