/third_party/boost/boost/geometry/strategies/spherical/ |
D | envelope_segment.hpp | 117 CalculationType& lon2, in swap() argument 120 std::swap(lon1, lon2); in swap() 142 CoordinateType const& lon2) in crosses_antimeridian() argument 149 return math::abs(lon1 - lon2) > constants::half_period(); // > pi in crosses_antimeridian() 156 CalculationType& lon2, in compute_box_corners() argument 163 BOOST_GEOMETRY_ASSERT(lon1 <= lon2); in compute_box_corners() 164 boost::ignore_unused(lon1, lon2); in compute_box_corners() 218 CalculationType& lon2, in special_cases() argument 235 lon2 = 0; in special_cases() 242 lon1 = lon2; in special_cases() [all …]
|
D | distance_segment_box.hpp | 115 CT lon2 = geometry::get_as_radian<0>(p1); in segment_below_of_box() local 118 if (lon1 > lon2) in segment_below_of_box() 120 std::swap(lon1, lon2); in segment_below_of_box() 134 az_strategy.apply(lon1, lat1, lon2, lat2, alp1); in segment_below_of_box() 139 >::apply(lon1, lat1, lon2, lat2, in segment_below_of_box()
|
D | side_by_cross_track.hpp | 66 calc_t lon2 = geometry::get_as_radian<0>(p2); in apply() local 75 (lon1, lat1, lon2, lat2).azimuth; in apply()
|
/third_party/boost/libs/geometry/test/strategies/ |
D | andoyer.cpp | 69 void test_distance(double lon1, double lat1, double lon2, double lat2, double expected_km) in test_distance() argument 97 bg::assign_values(p2, lon2, lat2); in test_distance() 103 double diff = bg::math::longitude_distance_signed<bg::degree>(lon1, lon2); in test_distance() 117 to_rad(lon2), to_rad(lat2), in test_distance() 129 double lon2, double lat2, in test_azimuth() argument 141 …rtype a_formula = andoyer_inverse_type::apply(to_rad(lon1), to_rad(lat1), to_rad(lon2), to_rad(lat… in test_azimuth() 161 void test_distazi(double lon1, double lat1, double lon2, double lat2, in test_distazi() argument 164 test_distance<P1, P2>(lon1, lat1, lon2, lat2, expected_km); in test_distazi() 165 test_azimuth<P1, P2>(lon1, lat1, lon2, lat2, expected_azimuth_deg); in test_distazi() 170 void test_distazi_symm(double lon1, double lat1, double lon2, double lat2, in test_distazi_symm() argument [all …]
|
D | distance.cpp | 40 void test_distance(double lon1, double lat1, double lon2, double lat2) in test_distance() argument 54 bg::assign_values(p2, lon2, lat2); in test_distance() 66 lon2 * bg::math::d2r<double>(), in test_distance() 77 double lon2, double lat2) in test_distance_reverse() argument 79 test_distance<P1, P2, FormulaPolicy>(lon1, lat1, lon2, lat2); in test_distance_reverse() 80 test_distance<P1, P2, FormulaPolicy>(lon2, lat2, lon1, lat1); in test_distance_reverse()
|
D | vincenty.cpp | 108 void test_vincenty(double lon1, double lat1, double lon2, double lat2, in test_vincenty() argument 133 lon2 * d2r, in test_vincenty() 154 calc_t direct_lon2 = result_d.lon2; in test_vincenty() 162 check_deg("direct_lon2_deg", direct_lon2_deg, calc_t(lon2), tolerance, error); in test_vincenty() 185 bg::assign_values(p2, lon2, lat2); in test_vincenty() 194 void test_vincenty(double lon1, double lat1, double lon2, double lat2, in test_vincenty() argument 199 test_vincenty<P1, P2>(lon1, lat1, lon2, lat2, in test_vincenty() 206 double lon2, double lat2, in test_side() argument 228 bg::assign_values(p2, lon2, lat2); in test_side()
|
D | thomas.cpp | 42 void test_distance(double lon1, double lat1, double lon2, double lat2, double expected_km) in test_distance() argument 70 bg::assign_values(p2, lon2, lat2); in test_distance() 79 double lon2, double lat2, in test_side() argument 101 bg::assign_values(p2, lon2, lat2); in test_side()
|
/third_party/boost/boost/geometry/strategies/geographic/ |
D | distance_cross_track.hpp | 202 CT const& lon2, CT const& lat2, //p2 in non_iterative_case() argument 206 ::apply(lon1, lat1, lon2, lat2, spheroid); in non_iterative_case() 243 CT const& lon2, CT const& lat2, //p2 in bisection() argument 261 CT pr_lon = lon2; in bisection() 285 s14 -= inverse_distance_type::apply(res14.lon2, res14.lat2, pl_lon, pl_lat, in bisection() 287 pr_lon = res14.lon2; in bisection() 292 s14 += inverse_distance_type::apply(res14.lon2, res14.lat2, pr_lon, pr_lat, in bisection() 294 pl_lon = res14.lon2; in bisection() 299 res14.lon2, res14.lat2, in bisection() 305 std::cout << "p4=" << res14.lon2 * math::r2d<CT>() << in bisection() [all …]
|
D | distance.hpp | 92 static inline CT apply(CT lon1, CT lat1, CT lon2, CT lat2, in apply() argument 101 meridian_inverse::apply(lon1, lat1, lon2, lat2, spheroid); in apply() 111 >::apply(lon1, lat1, lon2, lat2, spheroid).distance; in apply() 122 CT lon2 = get_as_radian<0>(point2); in apply() local 125 return apply(lon1, lat1, lon2, lat2, m_spheroid); in apply()
|
D | mapping_ssf.hpp | 152 calculation_type lon2 = get_as_radian<0>(p2); in apply() local 157 return detail::spherical_side_formula(lon1, lat1, lon2, lat2, lon, lat); in apply()
|
/third_party/boost/libs/geometry/test/formulas/ |
D | direct.cpp | 33 r.lon2 = -r.lon2; in symmetrize_wrt_origin() 63 …check_one(result.lon2, expected.lon2, reference.lon2, reference_error, true, check_reference_only); in check_direct_sph() 90 result.lon2 *= r2d; in test_all() 97 result.lon2 *= r2d; in test_all() 104 result.lon2 *= r2d; in test_all() 118 result.lon2 *= r2d; in test_all() 133 result.lat2, result.lon2, result.reverse_azimuth, in test_all()
|
D | direct_meridian.cpp | 33 >(result.lon2, result.lat2); in check_meridian_direct() 39 >(reference.lon2, reference.lat2); in check_meridian_direct() 42 ss << "(" << result.lon2 * bg::math::r2d<double>() in check_meridian_direct() 45 check_one("lon:" + ss.str(), result.lon2, expected.lon, reference.lon2, in check_meridian_direct()
|
D | direct_accuracy.cpp | 79 BOOST_CHECK_CLOSE(longitude, results_6.lon2, 10171000 * CALCULATION_TOLERANCE); in test_main() 89 BOOST_CHECK_CLOSE(longitude, results_8.lon2, 10173000 * CALCULATION_TOLERANCE); in test_main()
|
/third_party/boost/boost/geometry/formulas/ |
D | spherical.hpp | 129 T2 const& lon2, in spherical_azimuth() argument 137 CT dlon = lon2 - lon1; in spherical_azimuth() 173 T2 const& lon2, T2 const& lat2) in spherical_azimuth() argument 175 return spherical_azimuth<ReturnType, false>(lon1, lat1, lon2, lat2).azimuth; in spherical_azimuth() 179 inline T spherical_azimuth(T const& lon1, T const& lat1, T const& lon2, T const& lat2) in spherical_azimuth() argument 181 return spherical_azimuth<T, false>(lon1, lat1, lon2, lat2).azimuth; in spherical_azimuth() 262 CT const lon2 = atan2(sin_alp0 * sin_sig2, cos_sig2); in spherical_direct() local 264 result.lon2 = lon1 + lon2 - omg1; in spherical_direct() 269 math::detail::normalize_angle_cond<radian>(result.lon2); in spherical_direct()
|
D | vertex_longitude.hpp | 286 CT& lon2, in apply() argument 302 return lon2; in apply() 306 if (math::equals(lon1, lon2)) in apply() 310 BOOST_ASSERT(lon1 < lon2); in apply() 314 sin(lon1 - lon2), in apply() 315 cos(lon1 - lon2), in apply() 326 if (std::abs(lon1 - lon2) > pi) in apply() 342 CT& lon2, in apply() argument 348 return lon2; in apply()
|
D | sjoberg_intersection.hpp | 43 CT const& lon2, CT const& lat2, CT const& lon_b2, CT const& lat_b2, in apply() 48 lon2, lat2, lon_b2, lat_b2, in apply() 60 CT const& lon2, CT const& lat2, CT const& lon_b2, CT const& lat_b2, in apply_alt() 65 CT const cos_lon2 = cos(lon2); in apply_alt() 66 CT const sin_lon2 = sin(lon2); 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() 98 CT const dlon2 = lon_b2 - lon2; in apply() 129 lon = lon2; in apply() 150 (std::min)(math::longitude_difference<radian>(lon2, lon), in apply() [all …]
|
D | result_direct.hpp | 22 : lon2(0) in result_direct() 29 T lon2; member
|
D | meridian_segment.hpp | 38 static inline SegmentType is_meridian(T lon1, T lat1, T lon2, T lat2) in is_meridian() argument 41 T diff = geometry::math::longitude_distance_signed<geometry::radian>(lon1, lon2); in is_meridian()
|
D | vincenty_inverse.hpp | 71 T2 const& lon2, in apply() 77 if (math::equals(lat1, lat2) && math::equals(lon1, lon2)) in apply() 94 CT L = lon2 - lon1; in apply() 208 quantities::apply(lon1, lat1, lon2, lat2, in apply()
|
D | thomas_inverse.hpp | 61 T2 const& lon2, 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()
|
D | meridian_direct.hpp | 72 result.lon2 = lo1; in apply() 103 >(result.lon2, result.lat2); in apply() 112 quantities::apply(lo1, la1, result.lon2, result.lat2, in apply()
|
D | vincenty_direct.hpp | 151 result.lon2 = lon1 + L; in apply() 163 quantities::apply(lon1, lat1, result.lon2, result.lat2, in apply() 175 math::detail::normalize_angle_cond<radian>(result.lon2); in apply()
|
D | andoyer_inverse.hpp | 62 T2 const& lon2, in apply() argument 70 if ( math::equals(lon1, lon2) && math::equals(lat1, lat2) ) in apply() 80 CT const dlon = lon2 - lon1; in apply()
|
/third_party/boost/boost/geometry/algorithms/detail/disjoint/ |
D | segment_box.hpp | 145 CT lon2 = geometry::get_as_radian<0>(p1_normalized); in apply() local 148 if (lon1 > lon2) in apply() 150 std::swap(lon1, lon2); in apply() 160 lon2, lat2, in apply() 178 azimuth_strategy.apply(lon1, lat1, lon2, lat2, alp1); in apply() 219 lon2, lat2, in apply()
|
/third_party/boost/boost/geometry/algorithms/detail/envelope/ |
D | intersects_antimeridian.hpp | 34 CoordinateType const& lon2, in apply() 47 math::larger(math::abs(lon1 - lon2), constants::half_period()); in apply()
|