Home
last modified time | relevance | path

Searched refs:rad_deg (Results 1 – 6 of 6) sorted by relevance

/dports/databases/redis6/redis-6.0.16/src/
H A Dgeohash_helper.c58 static inline double rad_deg(double ang) { return ang / D_R; } in rad_deg() function
107 bounds[0] = longitude - rad_deg(radius_meters/EARTH_RADIUS_IN_METERS/cos(deg_rad(latitude))); in geohashBoundingBox()
108 bounds[2] = longitude + rad_deg(radius_meters/EARTH_RADIUS_IN_METERS/cos(deg_rad(latitude))); in geohashBoundingBox()
109 bounds[1] = latitude - rad_deg(radius_meters/EARTH_RADIUS_IN_METERS); in geohashBoundingBox()
110 bounds[3] = latitude + rad_deg(radius_meters/EARTH_RADIUS_IN_METERS); in geohashBoundingBox()
/dports/databases/redis5/redis-5.0.14/src/
H A Dgeohash_helper.c58 static inline double rad_deg(double ang) { return ang / D_R; } in rad_deg() function
107 bounds[0] = longitude - rad_deg(radius_meters/EARTH_RADIUS_IN_METERS/cos(deg_rad(latitude))); in geohashBoundingBox()
108 bounds[2] = longitude + rad_deg(radius_meters/EARTH_RADIUS_IN_METERS/cos(deg_rad(latitude))); in geohashBoundingBox()
109 bounds[1] = latitude - rad_deg(radius_meters/EARTH_RADIUS_IN_METERS); in geohashBoundingBox()
110 bounds[3] = latitude + rad_deg(radius_meters/EARTH_RADIUS_IN_METERS); in geohashBoundingBox()
/dports/textproc/redisearch20/RediSearch-2.0.15/src/dep/geo/
H A Dgeohash_helper.c56 static inline double rad_deg(double ang) { return ang / D_R; } in rad_deg() function
105 bounds[0] = longitude - rad_deg(radius_meters/EARTH_RADIUS_IN_METERS/cos(deg_rad(latitude))); in geohashBoundingBox()
106 bounds[2] = longitude + rad_deg(radius_meters/EARTH_RADIUS_IN_METERS/cos(deg_rad(latitude))); in geohashBoundingBox()
107 bounds[1] = latitude - rad_deg(radius_meters/EARTH_RADIUS_IN_METERS); in geohashBoundingBox()
108 bounds[3] = latitude + rad_deg(radius_meters/EARTH_RADIUS_IN_METERS); in geohashBoundingBox()
/dports/textproc/redisearch/RediSearch-2.2.5/src/dep/geo/
H A Dgeohash_helper.c56 static inline double rad_deg(double ang) { return ang / D_R; } in rad_deg() function
105 bounds[0] = longitude - rad_deg(radius_meters/EARTH_RADIUS_IN_METERS/cos(deg_rad(latitude))); in geohashBoundingBox()
106 bounds[2] = longitude + rad_deg(radius_meters/EARTH_RADIUS_IN_METERS/cos(deg_rad(latitude))); in geohashBoundingBox()
107 bounds[1] = latitude - rad_deg(radius_meters/EARTH_RADIUS_IN_METERS); in geohashBoundingBox()
108 bounds[3] = latitude + rad_deg(radius_meters/EARTH_RADIUS_IN_METERS); in geohashBoundingBox()
/dports/databases/redis-devel/redis-0e5b813/src/
H A Dgeohash_helper.c58 static inline double rad_deg(double ang) { return ang / D_R; } in rad_deg() function
105 const double lat_delta = rad_deg(height/EARTH_RADIUS_IN_METERS); in geohashBoundingBox()
106 …const double long_delta_top = rad_deg(width/EARTH_RADIUS_IN_METERS/cos(deg_rad(latitude+lat_delta)… in geohashBoundingBox()
107 …const double long_delta_bottom = rad_deg(width/EARTH_RADIUS_IN_METERS/cos(deg_rad(latitude-lat_del… in geohashBoundingBox()
/dports/graphics/p5-Geo-EOP/Geo-EOP-0.50/lib/Geo/
H A DEOP.pm75 ( rad_deg => sub { rad2deg $_[0] }