Home
last modified time | relevance | path

Searched refs:lon1 (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/envelope/
H A Dsegment.hpp90 static inline void swap(CalculationType& lon1, in swap() argument
95 std::swap(lon1, lon2); in swap()
116 static inline bool crosses_antimeridian(CoordinateType const& lon1, in crosses_antimeridian() argument
124 return math::abs(lon1 - lon2) > constants::half_period(); // > pi in crosses_antimeridian()
129 static inline void compute_box_corners(CalculationType& lon1, in compute_box_corners() argument
138 BOOST_GEOMETRY_ASSERT(lon1 <= lon2); in compute_box_corners()
190 static inline void special_cases(CalculationType& lon1, in special_cases() argument
208 lon1 = 0; in special_cases()
216 lon1 = lon2; in special_cases()
223 lon2 = lon1; in special_cases()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/algorithms/detail/disjoint/
H A Dsegment_box.hpp55 static inline void swap(CT& lon1, in swap()
60 std::swap(lon1, lon2); in swap()
98 CT lon1 = geometry::get_as_radian<0>(p0_normalized); in apply() local
103 if (lon1 > lon2) in apply()
105 swap(lon1, lat1, lon2, lat2); in apply()
112 azimuth_strategy.apply(lon1, lat1, lon2, lat2, alp1); in apply()
117 ::template apply<geometry::radian>(lon1, lat1, in apply()
136 azimuth_strategy.apply(lon1, lat1, b_lon_min, b_lat_min, a_b0); in apply()
137 azimuth_strategy.apply(lon1, lat1, b_lon_max, b_lat_min, a_b1); in apply()
138 azimuth_strategy.apply(lon1, lat1, b_lon_min, b_lat_max, a_b2); in apply()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/formulas/
H A Dspherical.hpp123 static inline result_spherical<CT> spherical_azimuth(T1 const& lon1, in spherical_azimuth() argument
133 CT dlon = lon2 - lon1; in spherical_azimuth()
168 inline ReturnType spherical_azimuth(T1 const& lon1, T1 const& lat1, in spherical_azimuth() argument
171 return spherical_azimuth<ReturnType, false>(lon1, lat1, lon2, lat2).azimuth; in spherical_azimuth()
175 inline T spherical_azimuth(T const& lon1, T const& lat1, T const& lon2, T const& lat2) in spherical_azimuth() argument
177 return spherical_azimuth<T, false>(lon1, lat1, lon2, lat2).azimuth; in spherical_azimuth()
H A Dvertex_longitude.hpp286 static inline CT apply(CT& lon1, in apply() argument
300 return lon1; in apply()
308 if (math::equals(lon1, lon2)) in apply()
312 BOOST_ASSERT(lon1 < lon2); in apply()
316 sin(lon1 - lon2), in apply()
317 cos(lon1 - lon2), in apply()
321 CT vertex_lon = std::fmod(lon1 + dlon, 2 * pi); in apply()
328 if (std::abs(lon1 - lon2) > pi) in apply()
H A Dsjoberg_intersection.hpp42 static inline bool apply(CT const& lon1, CT const& lat1, CT const& lon_a2, CT const& lat_a2, in apply()
47 bool res = apply_alt(lon1, lat1, lon_a2, lat_a2, in apply()
59 static inline bool apply_alt(CT const& lon1, CT const& lat1, CT const& lon_a2, CT const& lat_a2, in apply_alt()
63 CT const cos_lon1 = cos(lon1); in apply_alt()
64 CT const sin_lon1 = sin(lon1); in apply_alt()
75 return apply(lon1, lon_a2, lon2, lon_b2, in apply_alt()
83 static inline bool apply(CT const& lon1, CT const& lon_a2, CT const& lon2, CT const& lon_b2, in apply()
96 CT const dlon1 = lon_a2 - lon1; in apply()
119 lon = lon1; in apply()
151 CT const lon_dist1 = (std::max)((std::min)(math::longitude_difference<radian>(lon1, lon), in apply()
[all …]
H A Dvincenty_inverse.hpp69 static inline result_type apply(T1 const& lon1, in apply()
77 if (math::equals(lat1, lat2) && math::equals(lon1, lon2)) in apply()
93 CT L = lon2 - lon1; in apply()
211 quantities::apply(lon1, lat1, lon2, lat2, in apply()
H A Dthomas_inverse.hpp59 static inline result_type apply(T1 const& lon1, in apply() argument
69 if ( math::equals(lon1, lon2) && math::equals(lat1, lat2) ) in apply()
97 CT const d_lambda = lon2 - lon1; in apply()
207 quantities::apply(lon1, lat1, lon2, lat2, in apply()
H A Dandoyer_inverse.hpp59 static inline result_type apply(T1 const& lon1, in apply() argument
69 if ( math::equals(lon1, lon2) && math::equals(lat1, lat2) ) in apply()
79 CT const dlon = lon2 - lon1; in apply()
H A Ddifferential_quantities.hpp38 static inline void apply(CT const& lon1, CT const& lat1, in apply() argument
44 CT const dlon = lon2 - lon1; in apply()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/geometry/strategies/spherical/
H A Ddistance_haversine.hpp86 static inline R calculate(T1 const& lon1, T1 const& lat1, in calculate() argument
90 + cos(lat1) * cos(lat2) * math::hav(lon2 - lon1); in calculate()