| 820 | //-------------------------------------------------------------------- |
| 821 | template<class Trans> |
| 822 | void transform_all_paths(const Trans& trans) |
| 823 | { |
| 824 | unsigned idx; |
| 825 | unsigned num_ver = m_vertices.total_vertices(); |
| 826 | for(idx = 0; idx < num_ver; idx++) |
| 827 | { |
| 828 | double x, y; |
| 829 | if(is_vertex(m_vertices.vertex(idx, &x, &y))) |
| 830 | { |
| 831 | trans.transform(&x, &y); |
| 832 | m_vertices.modify_vertex(idx, x, y); |
| 833 | } |
| 834 | } |
| 835 | } |
| 836 | |
| 837 | |
| 838 |
nothing calls this directly
no test coverage detected