| 835 | //-------------------------------------------------------------------- |
| 836 | template <class Trans> |
| 837 | void transform_all_paths(const Trans& trans) |
| 838 | { |
| 839 | unsigned idx; |
| 840 | unsigned num_ver = m_vertices.total_vertices(); |
| 841 | for (idx = 0; idx < num_ver; idx++) |
| 842 | { |
| 843 | double x, y; |
| 844 | if (is_vertex(m_vertices.vertex(idx, &x, &y))) |
| 845 | { |
| 846 | trans.transform(&x, &y); |
| 847 | m_vertices.modify_vertex(idx, x, y); |
| 848 | } |
| 849 | } |
| 850 | } |
| 851 | |
| 852 | //-------------------------------------------------------------------- |
| 853 | // If the end points of a path are very, very close then make them |
nothing calls this directly
no test coverage detected