| 8 | namespace |
| 9 | { |
| 10 | bool IsSmooth(m2::SplineEx const & spline) |
| 11 | { |
| 12 | for (size_t i = 0, sz = spline.GetDirections().size(); i + 1 < sz; ++i) |
| 13 | if (!df::IsValidSplineTurn(spline.GetDirections()[i], spline.GetDirections()[i + 1])) |
| 14 | return false; |
| 15 | return true; |
| 16 | } |
| 17 | } // namespace |
| 18 | |
| 19 | UNIT_TEST(Rounding_Spline) |
no test coverage detected