Searched refs:RadiansToMeters (Results 1 – 8 of 8) sorted by relevance
58 inline static double RadiansToMeters(double radians);186 inline double S2Earth::RadiansToMeters(double radians) { in RadiansToMeters() function225 return RadiansToMeters(a.Angle(b)); in GetDistanceMeters()
49 ASSERT_DOUBLE_EQ(S2Earth::RadiansToMeters(S2Earth::KmToRadians(2.5)), 2500); in TEST()
51 return RadiansToMeters(2 * asin(sqrt(pow(sin((lat1_r - lat2_r)/2), 2) + in DistanceBetweenPoints()96 double RadiansToMeters(double radians) { return radians * kEarthRadius; } in RadiansToMeters() function
109 double RadiansToMeters(double radians);
186 ASSERT_DOUBLE_EQ(0, RadiansToMeters(0)); in TEST()187 ASSERT_DOUBLE_EQ(6366710, RadiansToMeters(1)); in TEST()