HAYASHI Kentaro
null+****@clear*****
Tue Nov 13 17:12:48 JST 2012
HAYASHI Kentaro 2012-11-13 17:12:48 +0900 (Tue, 13 Nov 2012) New Revision: f0eae4c701babfd49f5bf2a4e16089a8d817962f https://github.com/groonga/groonga/commit/f0eae4c701babfd49f5bf2a4e16089a8d817962f Log: geo: remove unused functions Modified files: lib/geo.c Modified: lib/geo.c (+0 -35) =================================================================== --- lib/geo.c 2012-11-13 15:45:40 +0900 (1fe5271) +++ lib/geo.c 2012-11-13 17:12:48 +0900 (38f81ef) @@ -1952,41 +1952,6 @@ geo_distance_rectangle_square_root(double start_longitude, double start_latitude } static inline double -geo_distance_rectangle_twin_quadrant(double lng1, double lat1, - double lng2, double lat2, - double lng3, double lat3) -{ - return (geo_distance_rectangle_square_root(lng1, - lat1, - lng2, - lat2) + - geo_distance_rectangle_square_root(lng2, - lat2, - lng3, - lat3)) * GRN_GEO_RADIUS; -} - -static inline double -geo_distance_rectangle_tri_quadrant(double lng1, double lat1, - double lng2, double lat2, - double lng3, double lat3, - double lng4, double lat4) -{ - return (geo_distance_rectangle_square_root(lng1, - lat1, - lng2, - lat2) + - geo_distance_rectangle_square_root(lng2, - lat2, - lng3, - lat3) + - geo_distance_rectangle_square_root(lng3, - lat3, - lng4, - lat4)) * GRN_GEO_RADIUS; -} - -static inline double geo_distance_rectangle_short_dist_type(quadrant_type quad_type, double lng1, double lat1, double lng2, double lat2) -------------- next part -------------- HTML����������������������������... 下载