| 104 | } |
| 105 | |
| 106 | void EncodePolylinePrev1(InPointsT const & points, m2::PointU const & basePoint, m2::PointU const & maxPoint, |
| 107 | OutDeltasT & deltas) |
| 108 | { |
| 109 | size_t const count = points.size(); |
| 110 | if (count > 0) |
| 111 | { |
| 112 | deltas.push_back(EncodePointDeltaAsUint(points[0], basePoint)); |
| 113 | for (size_t i = 1; i < count; ++i) |
| 114 | deltas.push_back(EncodePointDeltaAsUint(points[i], points[i - 1])); |
| 115 | } |
| 116 | |
| 117 | ASSERT(TestDecoding(points, basePoint, maxPoint, deltas, &DecodePolylinePrev1), ()); |
| 118 | } |
| 119 | |
| 120 | void DecodePolylinePrev1(InDeltasT const & deltas, m2::PointU const & basePoint, m2::PointU const & /*maxPoint*/, |
| 121 | OutPointsT & points) |
nothing calls this directly
no test coverage detected