Home
last modified time | relevance | path

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

/third_party/boost/libs/geometry/test/algorithms/perimeter/
Dperimeter_sph.cpp38 void test_all_haversine(double const mean_radius) in test_all_haversine() argument
41 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() local
77 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()
/third_party/boost/libs/geometry/test/algorithms/length/
Dlength_sph.cpp36 void test_all_haversine(double const mean_radius) in test_all_haversine() argument
39 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() local
74 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()
/third_party/boost/boost/geometry/formulas/
Dmean_radius.hpp28 struct mean_radius struct
33 struct mean_radius<ResultType, Geometry, srs_sphere_tag> struct
42 struct mean_radius<ResultType, Geometry, srs_spheroid_tag> struct
61 inline ResultType mean_radius(Geometry const& geometry) in mean_radius() function
63 return formula_dispatch::mean_radius<ResultType, Geometry>::apply(geometry); in mean_radius()
/third_party/boost/libs/geometry/doc/src/examples/algorithms/
Dlength_with_strategy.cpp25 double const mean_radius = 6371.0; /*< [@http://en.wikipedia.org/wiki/Earth_radius Wiki] >*/ in main() local
27 << length(line, strategy::distance::haversine<float>(mean_radius) ) in main()
/third_party/boost/libs/geometry/test/strategies/
Ddistance_cross_track.cpp100 distance = bg::strategy::distance::cross_track<>(bg::formula::mean_radius<double>(spheroid)) in test_all()
/third_party/boost/boost/geometry/strategies/geographic/
Ddistance_cross_track.hpp471 CT const earth_radius = geometry::formula::mean_radius<CT>(spheroid); in apply()