| 148 | |
| 149 | template <class IterT, class PointT> |
| 150 | void SimplifyDefault(IterT beg, IterT end, double squareEps, std::vector<PointT> & out) |
| 151 | { |
| 152 | m2::SquaredDistanceFromSegmentToPoint distFn; |
| 153 | SimplifyNearOptimal(20 /* maxFalseLookAhead */, beg, end, squareEps, distFn, |
| 154 | AccumulateSkipSmallTrg(distFn, out, squareEps)); |
| 155 | } |