| 230 | } |
| 231 | |
| 232 | int geohashGetDistanceIfInRadius(double x1, double y1, |
| 233 | double x2, double y2, double radius, |
| 234 | double *distance) { |
| 235 | *distance = geohashGetDistance(x1, y1, x2, y2); |
| 236 | if (*distance > radius) return 0; |
| 237 | return 1; |
| 238 | } |
| 239 | |
| 240 | int geohashGetDistanceIfInRadiusWGS84(double x1, double y1, double x2, |
| 241 | double y2, double radius, |
no test coverage detected