Searched refs:mean_radius (Results 1 – 6 of 6) sorted by relevance
38 void test_all_haversine(double const mean_radius) in test_all_haversine() argument41 bg::strategy::distance::haversine<double> haversine_strategy(mean_radius); in test_all_haversine()46 2 * pi * mean_radius, in test_all_haversine()53 3 * pi * mean_radius, in test_all_haversine()67 double const mean_radius = 6371.0; in test_main() local77 bg::cs::spherical_equatorial<bg::degree> > >(mean_radius); in test_main()79 bg::cs::spherical_equatorial<bg::degree> > >(mean_radius); in test_main()81 bg::cs::spherical_equatorial<bg::degree> > >(mean_radius); in test_main()
36 void test_all_haversine(double const mean_radius) in test_all_haversine() argument39 bg::strategy::distance::haversine<float> haversine_strategy(mean_radius); in test_all_haversine()44 2 * pi * mean_radius, in test_all_haversine()64 double const mean_radius = 6371.0; in test_main() local74 bg::cs::spherical_equatorial<bg::degree> > >(mean_radius); in test_main()76 bg::cs::spherical_equatorial<bg::degree> > >(mean_radius); in test_main()78 bg::cs::spherical_equatorial<bg::degree> > >(mean_radius); in test_main()
28 struct mean_radius struct33 struct mean_radius<ResultType, Geometry, srs_sphere_tag> struct42 struct mean_radius<ResultType, Geometry, srs_spheroid_tag> struct61 inline ResultType mean_radius(Geometry const& geometry) in mean_radius() function63 return formula_dispatch::mean_radius<ResultType, Geometry>::apply(geometry); in mean_radius()
25 double const mean_radius = 6371.0; /*< [@http://en.wikipedia.org/wiki/Earth_radius Wiki] >*/ in main() local27 << length(line, strategy::distance::haversine<float>(mean_radius) ) in main()
100 distance = bg::strategy::distance::cross_track<>(bg::formula::mean_radius<double>(spheroid)) in test_all()
471 CT const earth_radius = geometry::formula::mean_radius<CT>(spheroid); in apply()