| 98 | // Obsolete functions ------------------------------------------------------------------------------ |
| 99 | |
| 100 | int64_t PointToInt64Obsolete(double x, double y, uint8_t coordBits) |
| 101 | { |
| 102 | int64_t const res = static_cast<int64_t>(PointUToUint64Obsolete(PointDToPointU(x, y, coordBits))); |
| 103 | |
| 104 | ASSERT_GREATER_OR_EQUAL(res, 0, ("Highest bits of (ix, iy) are not used, so res should be > 0.")); |
| 105 | ASSERT_LESS_OR_EQUAL(static_cast<uint64_t>(res), uint64_t{3} << 2 * kPointCoordBits, ()); |
| 106 | return res; |
| 107 | } |
| 108 | |
| 109 | int64_t PointToInt64Obsolete(m2::PointD const & pt, uint8_t coordBits) |
| 110 | { |