Home
last modified time | relevance | path

Searched refs:lon (Results 1 – 25 of 73) sorted by relevance

123

/third_party/boost/libs/geometry/test/formulas/
Dintersection.cpp34 … check_one(result.lon, expected.lon, reference.lon, reference_error, false, check_reference_only); in check_result()
41 if (results.sjoberg_vincenty.lon == ND) in test_formulas()
49 double lona1r = results.p1.lon * d2r; in test_formulas()
51 double lona2r = results.p2.lon * d2r; in test_formulas()
53 double lonb1r = results.q1.lon * d2r; in test_formulas()
55 double lonb2r = results.q2.lon * d2r; in test_formulas()
63 if (results.gnomonic_vincenty.lon != ND) in test_formulas()
66 …::apply(lona1r, lata1r, lona2r, lata2r, lonb1r, latb1r, lonb2r, latb2r, result.lon, result.lat, sp… in test_formulas()
67 result.lon *= r2d; in test_formulas()
72 if (results.gnomonic_thomas.lon != ND) in test_formulas()
[all …]
Dinverse_karney.cpp37 …ss << "(" << results.p1.lon << " " << results.p1.lat << ")->(" << results.p2.lon << " " << results… in check_inverse()
53 double lon1d = results.p1.lon; in test_all()
55 double lon2d = results.p2.lon; in test_all()
71 double lon1d = results.p1.lon; in test_karney()
73 double lon2d = results.p2.lon; in test_karney()
Dinverse.cpp37 …ss << "(" << results.p1.lon << " " << results.p1.lat << ")->(" << results.p2.lon << " " << results… in check_inverse()
56 double lon1r = results.p1.lon * d2r; in test_all()
58 double lon2r = results.p2.lon * d2r; in test_all()
Ddirect_meridian.cpp45 check_one("lon:" + ss.str(), result.lon2, expected.lon, reference.lon2, in check_meridian_direct()
62 double lon1_rad = results.p1.lon * d2r; in test_all()
65 expected_point.lon = results.p2.lon * d2r; in test_all()
Dvertex_longitude_cases.hpp17 double lon; member
23 double lon; member
Ddirect.cpp73 double lon1r = results.p1.lon * d2r; in test_all()
78 double lon1d = results.p1.lon; in test_all()
143 double lon1d = results.p1.lon; in test_karney_antipodal()
164 if (expected[i].p1.lon == 0 && expected[i].p1.lat == 0) in test_main()
/third_party/boost/boost/geometry/srs/projections/proj/
Dqsc.hpp161 inline T qsc_shift_lon_origin(T const& lon, T const& offset) in qsc_shift_lon_origin() argument
166 T slon = lon + offset; in qsc_shift_lon_origin()
190 T lat, lon; in fwd() local
209 lon = lp_lon; in fwd()
212 if (lon >= fourth_pi && lon <= half_pi + fourth_pi) { in fwd()
214 theta = lon - half_pi; in fwd()
215 } else if (lon > half_pi + fourth_pi || lon <= -(half_pi + fourth_pi)) { in fwd()
217 theta = (lon > 0.0 ? lon - pi : lon + pi); in fwd()
218 } else if (lon > -(half_pi + fourth_pi) && lon <= -fourth_pi) { in fwd()
220 theta = lon + half_pi; in fwd()
[all …]
Disea.hpp230 T lon, lat; member
337 adj = atan2(cos(v.lat) * sin(v.lon - c.lon), in az_adjustment()
339 - sin(c.lat) * cos(v.lat) * cos(v.lon - c.lon)); in az_adjustment()
449 + cos(center.lat) * cos(ll->lat) * cos(ll->lon - center.lon)); in isea_snyder_forward()
456 Az = sph_azimuth(center.lon, center.lat, ll->lon, ll->lat); in isea_snyder_forward()
562 ss << "impossible transform: " << ll->lon * geometry::math::r2d<T>() in isea_snyder_forward()
600 lambda = pt->lon; in snyder_ctran()
602 beta = np->lon; in snyder_ctran()
630 npt.lon = lambdap; in snyder_ctran()
643 np->lon += pi; in isea_ctran()
[all …]
/third_party/boost/boost/geometry/srs/projections/impl/
Dadjlon.hpp49 inline T adjlon (T lon) in adjlon() argument
51 if (geometry::math::abs(lon) <= boost::math::constants::pi<T>()) in adjlon()
53 return lon; in adjlon()
57 lon += boost::math::constants::pi<T>(); in adjlon()
59 lon -= boost::math::constants::two_pi<T>() * in adjlon()
60 std::floor(lon / boost::math::constants::two_pi<T>()); in adjlon()
62 lon -= boost::math::constants::pi<T>(); in adjlon()
64 return lon; in adjlon()
Dpj_inv.hpp67 calc_t lon = 0, lat = 0; in pj_inv() local
69 prj.inv(par, xy_x, xy_y, lon, lat); /* inverse project */ in pj_inv()
71 lon += par.lam0; /* reduce from del lp.lam */ in pj_inv()
73 lon = adjlon(lon); /* adjust longitude to CM */ in pj_inv()
77 geometry::set_from_radian<0>(ll, lon); in pj_inv()
/third_party/boost/boost/geometry/formulas/
Dgnomonic_intersection.hpp49 CT & lon, CT & lat, in apply() argument
61 … return apply(lon_a1, lat_a1, lon_a2, lat_a2, lon_b1, lat_b1, lon_b2, lat_b2, lon, lat, spheroid); in apply()
69 CT & lon, CT & lat, in apply() argument
74 lon = (lona1 + lona2 + lonb1 + lonb2) / 4; in apply()
85 bool ok = gnom_t::forward(lon, lat, lona1, lata1, xa1, ya1, spheroid) in apply()
86 && gnom_t::forward(lon, lat, lona2, lata2, xa2, ya2, spheroid) in apply()
87 && gnom_t::forward(lon, lat, lonb1, latb1, xb1, yb1, spheroid) in apply()
88 && gnom_t::forward(lon, lat, lonb2, latb2, xb2, yb2, spheroid) in apply()
90 && gnom_t::inverse(lon, lat, x, y, lon1, lat1, spheroid); in apply()
97 if (math::equals(lat1, lat) && math::equals(lon1, lon)) in apply()
[all …]
Dsjoberg_intersection.hpp44 CT & lon, CT & lat) in apply()
49 lon, tan_lat); in apply()
61 CT & lon, CT & tan_lat) in apply_alt()
79 lon, tan_lat); in apply_alt()
87 CT & lon, CT & tan_lat) in apply()
123 lon = lon1; in apply()
129 lon = lon2; in apply()
142 lon = atan2(tan_lon_y, tan_lon_x); in apply()
147 CT const lon_2 = lon > c0 ? lon - pi : lon + pi; in apply()
148 CT const lon_dist1 = (std::max)((std::min)(math::longitude_difference<radian>(lon1, lon), in apply()
[all …]
Dspherical.hpp48 static inline void sph_to_cart3d(T const& lon, T const& lat, T & x, T & y, T & z) in sph_to_cart3d() argument
51 x = cos_lat * cos(lon); in sph_to_cart3d()
52 y = cos_lat * sin(lon); in sph_to_cart3d()
61 calc_t const lon = get_as_radian<0>(point_sph); in sph_to_cart3d() local
64 sph_to_cart3d(lon, lat, x, y, z); in sph_to_cart3d()
75 static inline void cart3d_to_sph(T const& x, T const& y, T const& z, T & lon, T & lat) in cart3d_to_sph() argument
77 lon = atan2(y, x); in cart3d_to_sph()
97 coord_t lon = get<0>(res); in cart3d_to_sph() local
104 >(lon, lat); in cart3d_to_sph()
106 set<0>(res, lon); in cart3d_to_sph()
Dgnomonic_spheroid.hpp53 CT const& lon, CT const& lat, in forward()
57 inverse_result i_res = inverse_type::apply(lon0, lat0, lon, lat, spheroid); in forward()
76 CT & lon, CT & lat, in inverse() argument
114 lon = d_res.lon2; in inverse()
Dgeographic.hpp43 calc_t const lon = get_as_radian<0>(point_geo); in geo_to_cart3d() local
54 set<0>(res, N_cos_lat * cos(lon)); in geo_to_cart3d()
55 set<1>(res, N_cos_lat * sin(lon)); in geo_to_cart3d()
69 calc_t const lon = get_as_radian<0>(point_geo); in geo_to_cart3d() local
72 calc_t const sin_lon = sin(lon); in geo_to_cart3d()
73 calc_t const cos_lon = cos(lon); in geo_to_cart3d()
126 coord_t lon = get<0>(res); in cart3d_to_geo() local
133 >(lon, lat); in cart3d_to_geo()
135 set<0>(res, lon); in cart3d_to_geo()
Dinterpolate_point_spherical.hpp66 CalculationType const lon = geometry::get_as_radian<0>(p0); in compute_axis() local
67 m_axis = point3d_t(sin(lon), -cos(lon), c0); in compute_axis()
/third_party/boost/boost/geometry/strategies/geographic/
Dintersection.hpp214 set_from_radian<0>(point, lon); in calculate()
235 CoordinateType lon; member
560 calc_t lon = 0, lat = 0; in apply() local
569 lon, lat, in apply()
600 sinfo.lon = lon; in apply()
710 CalcT & lon, CalcT & lat, // out in calculate_ip_data()
721 lon = a1_lon; in calculate_ip_data()
730 lon = a1_lon; in calculate_ip_data()
739 lon = a2_lon; in calculate_ip_data()
748 lon = a2_lon; in calculate_ip_data()
[all …]
/third_party/grpc/examples/csharp/RouteGuide/RouteGuideClient/
DProgram.cs41 public void GetFeature(int lat, int lon) in GetFeature() argument
45 Log("*** GetFeature: lat={0} lon={1}", lat, lon); in GetFeature()
47 Point request = new Point { Latitude = lat, Longitude = lon }; in GetFeature()
206 private RouteNote NewNote(string message, int lat, int lon) in NewNote() argument
211 Location = new Point { Latitude = lat, Longitude = lon } in NewNote()
/third_party/boost/libs/geometry/index/test/rtree/
Drtree_non_cartesian.cpp47 double lon = x; in test_rtree() local
50 fill(v, lon, lat); in test_rtree()
63 double lon = x; in test_rtree() local
66 fill(v, lon, lat); in test_rtree()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dastro.h87 Ecliptic(double lat = 0, double lon = 0) {
89 longitude = lon;
98 void set(double lat, double lon) { in set() argument
100 longitude = lon; in set()
/third_party/icu/icu4c/source/i18n/
Dastro.h87 Ecliptic(double lat = 0, double lon = 0) {
89 longitude = lon;
98 void set(double lat, double lon) { in set() argument
100 longitude = lon; in set()
/third_party/node/deps/icu-small/source/i18n/
Dastro.h87 Ecliptic(double lat = 0, double lon = 0) {
89 longitude = lon;
98 void set(double lat, double lon) { in set() argument
100 longitude = lon; in set()
/third_party/skia/third_party/externals/icu/source/i18n/
Dastro.h87 Ecliptic(double lat = 0, double lon = 0) {
89 longitude = lon;
98 void set(double lat, double lon) { in set() argument
100 longitude = lon; in set()
/third_party/boost/libs/geometry/test/srs/
Dprojection_selftest_cases.hpp49 struct LL { double lon, lat; }; member
52 BOOST_GEOMETRY_REGISTER_POINT_2D(LL, double, bg::cs::geographic<bg::degree>, lon, lat)
/third_party/boost/boost/geometry/strategies/spherical/
Dside_by_cross_track.hpp68 calc_t lon = geometry::get_as_radian<0>(p); in apply() local
72 (lon1, lat1, lon, lat).azimuth; in apply()

123