| 704 | |
| 705 | template <typename T> |
| 706 | inline Paths<T> SimplifyPaths(const Paths<T> &paths, |
| 707 | double epsilon, bool isClosedPath = true) |
| 708 | { |
| 709 | Paths<T> result; |
| 710 | result.reserve(paths.size()); |
| 711 | for (const auto& path : paths) |
| 712 | result.emplace_back(std::move(SimplifyPath(path, epsilon, isClosedPath))); |
| 713 | return result; |
| 714 | } |
| 715 | |
| 716 | |
| 717 | template <typename T> |
no test coverage detected