| 112 | |
| 113 | private: |
| 114 | template <typename VectorType> void simplifyInplaceT(VectorType *polyLine) { |
| 115 | // run the simplification algorithm |
| 116 | span<Point> slice(polyLine->data(), polyLine->size()); |
| 117 | simplifyT(slice, polyLine); |
| 118 | } |
| 119 | |
| 120 | template <typename VectorType> |
| 121 | void simplifyT(const fl::span<const Point> &polyLine, VectorType *out) { |