| 43 | } |
| 44 | |
| 45 | void GeometryGraph::add_edge(std::size_t src, std::size_t dst) |
| 46 | { |
| 47 | m_nodes[src].adjacencies.emplace(dst); |
| 48 | m_nodes[dst].adjacencies.emplace(src); |
| 49 | } |
| 50 | |
| 51 | std::vector<std::pair<const GeometryGraph::Node&, const GeometryGraph::Node&>> |
| 52 | GeometryGraph::get_edge_pairs() const |
no outgoing calls