MCPcopy Create free account
hub / github.com/F-Stack/f-stack / geohashGetDistanceIfInRadiusWGS84

Function geohashGetDistanceIfInRadiusWGS84

app/redis-6.2.6/src/geohash_helper.c:240–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240int geohashGetDistanceIfInRadiusWGS84(double x1, double y1, double x2,
241 double y2, double radius,
242 double *distance) {
243 return geohashGetDistanceIfInRadius(x1, y1, x2, y2, radius, distance);
244}
245
246/* Judge whether a point is in the axis-aligned rectangle, when the distance
247 * between a searched point and the center point is less than or equal to

Callers 1

geoAppendIfWithinShapeFunction · 0.85

Calls 1

Tested by

no test coverage detected