Home
last modified time | relevance | path

Searched refs:d2r (Results 1 – 25 of 34) sorted by relevance

12

/third_party/boost/libs/geometry/test/algorithms/distance/
Ddistance_se_pl_l.cpp127 double const d2r = bg::math::d2r<double>(); in test_distance_point_segment() local
132 2.0 * d2r * strategy.radius(), in test_distance_point_segment()
133 to_comparable(strategy, 2.0 * d2r * strategy.radius()), in test_distance_point_segment()
138 3.0 * d2r * strategy.radius(), in test_distance_point_segment()
139 to_comparable(strategy, 3.0 * d2r * strategy.radius()), in test_distance_point_segment()
176 1e-3 * d2r * strategy.radius(), in test_distance_point_segment()
177 to_comparable(strategy, 1e-3 * d2r * strategy.radius()), in test_distance_point_segment()
182 1e-4 * d2r * strategy.radius(), in test_distance_point_segment()
183 to_comparable(strategy, 1e-4 * d2r * strategy.radius()), in test_distance_point_segment()
188 1e-5 * d2r * strategy.radius(), in test_distance_point_segment()
[all …]
Ddistance_geo_pl_l.cpp403 const double d2r = bg::math::d2r<double>(); in test_distance_point_segment_rad_mix() local
406 s1 << 1*d2r; in test_distance_point_segment_rad_mix()
408 s2 << 2*d2r; in test_distance_point_segment_rad_mix()
410 s3 << 3*d2r; in test_distance_point_segment_rad_mix()
/third_party/boost/boost/geometry/srs/projections/proj/
Dmod_ster.hpp189 static const T d2r = geometry::math::d2r<T>(); in setup_mil_os() local
198 par.lam0 = d2r * 20.; in setup_mil_os()
199 par.phi0 = d2r * 18.; in setup_mil_os()
210 static const T d2r = geometry::math::d2r<T>(); in setup_lee_os() local
219 par.lam0 = d2r * -165.; in setup_lee_os()
220 par.phi0 = d2r * -10.; in setup_lee_os()
231 static const T d2r = geometry::math::d2r<T>(); in setup_gs48() local
242 par.lam0 = d2r * -96.; in setup_gs48()
243 par.phi0 = d2r * -39.; in setup_gs48()
255 static const T d2r = geometry::math::d2r<T>(); in setup_alsk() local
[all …]
Digh.hpp129 …nline T d4044118() { return (T(40) + T(44)/T(60.) + T(11.8)/T(3600.)) * geometry::math::d2r<T>(); } in d4044118()
132 inline T d10() { return T(10) * geometry::math::d2r<T>(); } in d10()
134 inline T d20() { return T(20) * geometry::math::d2r<T>(); } in d20()
136 inline T d30() { return T(30) * geometry::math::d2r<T>(); } in d30()
138 inline T d40() { return T(40) * geometry::math::d2r<T>(); } in d40()
140 inline T d50() { return T(50) * geometry::math::d2r<T>(); } in d50()
142 inline T d60() { return T(60) * geometry::math::d2r<T>(); } in d60()
144 inline T d80() { return T(80) * geometry::math::d2r<T>(); } in d80()
146 inline T d90() { return T(90) * geometry::math::d2r<T>(); } in d90()
148 inline T d100() { return T(100) * geometry::math::d2r<T>(); } in d100()
[all …]
Dnzmg.hpp172 static const calc_t d2r = geometry::math::d2r<calc_t>(); in setup_nzmg() local
177 par.lam0 = 173. * d2r; in setup_nzmg()
178 par.phi0 = -41. * d2r; in setup_nzmg()
Dlsat.hpp76 lam *= geometry::math::d2r<T>(); in seraz0()
228 static T const d2r = geometry::math::d2r<T>(); in setup_lsat() local
244 par.lam0 = d2r * 128.87 - two_pi / 251. * path; in setup_lsat()
246 alf = d2r * 99.092; in setup_lsat()
248 par.lam0 = d2r * 129.3 - two_pi / 233. * path; in setup_lsat()
250 alf = d2r * 98.2; in setup_lsat()
Disea.hpp87 inline T deg30_rad() { return T(30) * geometry::math::d2r<T>(); } in deg30_rad()
89 inline T deg120_rad() { return T(120) * geometry::math::d2r<T>(); } in deg120_rad()
91 inline T deg72_rad() { return T(72) * geometry::math::d2r<T>(); } in deg72_rad()
95 inline T deg144_rad() { return T(144) * geometry::math::d2r<T>(); } in deg144_rad()
97 inline T deg36_rad() { return T(36) * geometry::math::d2r<T>(); } in deg36_rad()
99 inline T deg108_rad() { return T(108) * geometry::math::d2r<T>(); } in deg108_rad()
396 static T const d2r = geometry::math::d2r<T>(); in isea_snyder_forward() local
437 theta = c.theta * d2r; in isea_snyder_forward()
438 g = c.g * d2r; in isea_snyder_forward()
439 G = c.G * d2r; in isea_snyder_forward()
[all …]
/third_party/boost/libs/geometry/test/formulas/
Dvertex_longitude.cpp112 double const d2r = bg::math::d2r<double>(); in test_all() local
114 double lon1r = results.p1.lon * d2r; in test_all()
115 double lat1r = results.p1.lat * d2r; in test_all()
116 double lon2r = results.p2.lon * d2r; in test_all()
117 double lat2r = results.p2.lat * d2r; in test_all()
138 check_one(res_an, results.andoyer * d2r, res_vi, 0.001); in test_all()
139 check_one(res_th, results.thomas * d2r, res_vi, 0.01);//in some tests thomas gives low accuracy in test_all()
140 check_one(res_vi, results.vincenty * d2r, res_vi, 0.0000001); in test_all()
141 check_one(res_sh, results.spherical * d2r, res_vi, 1); in test_all()
Dinverse.cpp53 double const d2r = bg::math::d2r<double>(); in test_all() local
56 double lon1r = results.p1.lon * d2r; in test_all()
57 double lat1r = results.p1.lat * d2r; in test_all()
58 double lon2r = results.p2.lon * d2r; in test_all()
59 double lat2r = results.p2.lat * d2r; in test_all()
Dintersection.cpp46 double const d2r = bg::math::d2r<double>(); in test_formulas() local
49 double lona1r = results.p1.lon * d2r; in test_formulas()
50 double lata1r = results.p1.lat * d2r; in test_formulas()
51 double lona2r = results.p2.lon * d2r; in test_formulas()
52 double lata2r = results.p2.lat * d2r; in test_formulas()
53 double lonb1r = results.q1.lon * d2r; in test_formulas()
54 double latb1r = results.q1.lat * d2r; in test_formulas()
55 double lonb2r = results.q2.lon * d2r; in test_formulas()
56 double latb2r = results.q2.lat * d2r; in test_formulas()
Ddirect_meridian.cpp60 double const d2r = bg::math::d2r<double>(); in test_all() local
62 double lon1_rad = results.p1.lon * d2r; in test_all()
63 double lat1_rad = results.p1.lat * d2r; in test_all()
65 expected_point.lon = results.p2.lon * d2r; in test_all()
66 expected_point.lat = results.p2.lat * d2r; in test_all()
Ddirect.cpp70 double const d2r = bg::math::d2r<double>(); in test_all() local
73 double lon1r = results.p1.lon * d2r; in test_all()
74 double lat1r = results.p1.lat * d2r; in test_all()
76 double azi12r = results.azimuth12 * d2r; in test_all()
/third_party/boost/libs/geometry/test/strategies/
Ddistance_cross_track.cpp50 double const d2r = bg::math::d2r<double>(); in test_all() local
52 double lon1r = results.p1.lon * d2r; in test_all()
53 double lat1r = results.p1.lat * d2r; in test_all()
54 double lon2r = results.p2.lon * d2r; in test_all()
55 double lat2r = results.p2.lat * d2r; in test_all()
56 double lon3r = results.p3.lon * d2r; in test_all()
57 double lat3r = results.p3.lat * d2r; in test_all()
Dvincenty.cpp126 double const d2r = bg::math::d2r<double>(); in test_vincenty() local
131 result_i = inverse_formula::apply(lon1 * d2r, in test_vincenty()
132 lat1 * d2r, in test_vincenty()
133 lon2 * d2r, in test_vincenty()
134 lat2 * d2r, in test_vincenty()
149 result_d = direct_formula::apply(lon1 * d2r, in test_vincenty()
150 lat1 * d2r, in test_vincenty()
Ddistance.cpp64 >::apply(lon1 * bg::math::d2r<double>(), in test_distance()
65 lat1 * bg::math::d2r<double>(), in test_distance()
66 lon2 * bg::math::d2r<double>(), in test_distance()
67 lat2 * bg::math::d2r<double>(), in test_distance()
/third_party/boost/libs/geometry/test/algorithms/
Dtransform.cpp134 bg::model::point<double, 2, bg::cs::spherical<bg::radian> > >(bg::math::d2r<double>()); in test_main()
139 bg::model::point<float, 2, bg::cs::spherical<bg::radian> > >(bg::math::d2r<float>()); in test_main()
147 >(3 * bg::math::d2r<float>(), 51 * bg::math::d2r<float>(), 1); in test_main()
152 >(3 * bg::math::d2r<double>(), 51 * bg::math::d2r<double>(), 1); in test_main()
161 >(3 * bg::math::d2r<ttmath_big>(), 51 * bg::math::d2r<ttmath_big>(), 1); in test_main()
/third_party/boost/libs/geometry/test/core/
Dradian_access.cpp60 double d2r = 3.1415926535897932384626433832795 / 180.0; in test() local
64 (1.0, 1.0 * d2r); in test()
66 (2.0, 2.0 * d2r); in test()
69 (1.0, 1.0 / d2r); in test()
71 (2.0, 2.0 / d2r); in test()
/third_party/boost/boost/geometry/srs/projections/impl/
Dpj_gridinfo.hpp268 static const double s2r = math::d2r<double>() / 3600.0; in pj_gridinfo_load_ntv1()
318 static const double s2r = math::d2r<double>() / 3600.0; in pj_gridinfo_load_ntv2()
481 static const double s2r = math::d2r<double>() / 3600.0; in pj_gridinfo_init_ntv2()
633 static const double d2r = math::d2r<double>(); in pj_gridinfo_init_ntv1() local
683 ct.ll.lam *= d2r; in pj_gridinfo_init_ntv1()
684 ct.ll.phi *= d2r; in pj_gridinfo_init_ntv1()
685 ct.del.lam *= d2r; in pj_gridinfo_init_ntv1()
686 ct.del.phi *= d2r; in pj_gridinfo_init_ntv1()
710 static const double d2r = math::d2r<double>(); in pj_gridinfo_init_gtx() local
769 ct.ll.lam *= d2r; in pj_gridinfo_init_gtx()
[all …]
Ddms_parser.hpp246 T const d2r = math::d2r<T>(); in apply() local
255 ? dms.dms[0] * d2r + dms.dms[1] * d2r / 60.0 + dms.dms[2] * d2r / 3600.0 in apply()
Dpj_init.hpp339 val = pj_prime_meridians[i].deg * math::d2r<T>(); in pj_init_pm()
373 val = pj_prime_meridians[i].deg * math::d2r<T>(); in pj_init_pm()
383 val = it->template get_value<T>() * math::d2r<T>(); in pj_init_pm()
/third_party/boost/libs/geometry/test/algorithms/envelope_expand/
Dtest_envelope_expand_on_spheroid.hpp105 return value * bg::math::d2r<double>(); in convert()
110 return value * bg::math::d2r<double>(); in convert()
139 return value * bg::math::d2r<double>(); in convert()
144 return value * bg::math::d2r<double>(); in convert()
173 return value * bg::math::d2r<double>(); in convert()
178 return value * bg::math::d2r<double>(); in convert()
/third_party/boost/libs/geometry/test/srs/
Dtransformation_interface.cpp40 double d2r = math::d2r<T>(); in test_geometries() local
47 point pt(18.5 * d2r, 54.2 * d2r); in test_geometries()
Dprojection_epsg.cpp76 test_deg_rad<bg::radian, P>(bg::math::d2r<double>()); in test_all()
/third_party/boost/boost/geometry/formulas/
Dkarney_direct.hpp174 result.reverse_azimuth /= math::d2r<CT>(); in apply()
186 result.lat2 /= math::d2r<CT>(); in apply()
212 CT lon12 = lam12 / math::d2r<CT>(); in apply()
/third_party/boost/boost/geometry/core/
Dradian_access.hpp56 * math::d2r<coordinate_type>()); in get()
121 * math::d2r<coordinate_type>()); in get()

12