| 97 | } |
| 98 | |
| 99 | m2::PointU PredictPointInTriangle(m2::PointD const & maxPoint, m2::PointU const & p1, m2::PointU const & p2, |
| 100 | m2::PointU const & p3) |
| 101 | { |
| 102 | // parallelogram prediction |
| 103 | return ClampPoint(maxPoint, m2::PointD(p1 + p2) - m2::PointD(p3)); |
| 104 | } |
| 105 | |
| 106 | void EncodePolylinePrev1(InPointsT const & points, m2::PointU const & basePoint, m2::PointU const & maxPoint, |
| 107 | OutDeltasT & deltas) |