Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
b9b0f85
[util] Add functions to normalize / sum two given values (angles)
adl1995 Jun 5, 2018
49e0a4f
Merge branch 'feature/geodesic_direct' into feature/karney_inverse
adl1995 Jun 6, 2018
7561d68
[util] Add function for returning NaN (not a number)
adl1995 Jun 6, 2018
2e064c0
[formulas] Arrange points in canonical form for inverse geodesic problem
adl1995 Jun 6, 2018
efd30c8
Merge branch 'feature/geodesic_direct' into feature/karney_inverse
adl1995 Jun 7, 2018
276e8e6
[formulas] Add function for computing the length at the meridians
adl1995 Jun 7, 2018
0344ba5
[formulas] Handle case for equatorial points in inverse problem
adl1995 Jun 11, 2018
485a2f9
[formulas] Find starting point for inverse problem (short lines)
adl1995 Jun 11, 2018
71fbc86
Merge branch 'feature/geodesic_direct' into feature/karney_inverse
adl1995 Jun 12, 2018
5bb581c
[formulas] Flip sign of cos_lam12
adl1995 Jun 12, 2018
2bde1c1
[formulas] Solve the astroid equation for inverse problem
adl1995 Jun 12, 2018
15d5cd6
[formulas] Perform normalization on starting guess if it passes the s…
adl1995 Jun 12, 2018
2aac402
Merge branch 'feature/geodesic_direct' into feature/karney_inverse
adl1995 Jun 14, 2018
642a84c
Merge branch 'feature/geodesic_direct' into feature/karney_inverse
adl1995 Jun 14, 2018
06fc06d
[formulas] Add function lambda12 to regulate bracketing range in Karn…
adl1995 Jun 14, 2018
490b4df
Merge branch 'feature/geodesic_direct' into feature/karney_inverse
adl1995 Jun 19, 2018
2ddad45
[util] Move difference_angle function to normalize_spheroidal_coordin…
adl1995 Jun 19, 2018
ead0b18
[formulas] Update bracketing values in Newton's method
adl1995 Jun 19, 2018
02577bd
[formulas] Use midpoint of bracket when value lies outside of range
adl1995 Jun 20, 2018
6d0720b
[formulas] Ensure reduced length and geodesic scale are computed in c…
adl1995 Jun 20, 2018
12bd41f
[formulas] Store values from Karney's inverse method in result_invers…
adl1995 Jul 2, 2018
4f04310
[formulas][test] Add Karney's inverse method in inverse test cases
adl1995 Jul 3, 2018
535ae96
[test] Add nearly antipodal points dataset for inverse geodesic problem
adl1995 Jul 3, 2018
1a52eac
[formulas] Resolve inaccuracy in starting point for Newton's method
adl1995 Jul 6, 2018
73a2e2b
Merge branch 'feature/geodesic_direct' into feature/karney_inverse
adl1995 Jul 9, 2018
6432dfe
[formulas][util] Reformat code in karney_inverse to use coefficient c…
adl1995 Jul 10, 2018
daf03b4
[formulas] Use namespace alias se for series_expansion in karney_inverse
adl1995 Jul 10, 2018
55c1691
[formulas] Fix incorrect argument to meridian_length() function
adl1995 Jul 13, 2018
b44e3ae
[formulas] Remove unused variable a12 in karney_inverse
adl1995 Jul 13, 2018
2ff1824
[formulas][test] Update copyright information
adl1995 Jul 16, 2018
1bfeba1
[strategies] Add distance strategy for Karney's inverse formula
adl1995 Jul 20, 2018
3b6ad80
[formulas][util] Remove math::round_angle() function and use original…
adl1995 Mar 17, 2019
05ae463
[util] Remove math::NaN() function
adl1995 Mar 17, 2019
9885d3b
[test] Add tests involving tiny angles for latitude, longitude, and a…
adl1995 Mar 31, 2019
c5b684f
[tests]: Add test for small angles for Kayney's inverse method
adl1995 Apr 6, 2019
607f5c3
[formulas][util] Use math::round_angle() function for lat1 and lat2
adl1995 Oct 26, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/boost/geometry/formulas/karney_direct.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ class karney_direct
CT const ep2 = e2 / math::sqr(one_minus_f);

CT sin_alpha1, cos_alpha1;
math::sin_cos_degrees<CT>(math::round_angle<CT>(azi12), sin_alpha1, cos_alpha1);
math::sin_cos_degrees<CT>(azi12, sin_alpha1, cos_alpha1);

// Find the reduced latitude.
CT sin_beta1, cos_beta1;
math::sin_cos_degrees<CT>(math::round_angle<CT>(lat1), sin_beta1, cos_beta1);
math::sin_cos_degrees<CT>(lat1, sin_beta1, cos_beta1);
sin_beta1 *= one_minus_f;

math::normalize_unit_vector<CT>(sin_beta1, cos_beta1);
Expand Down
Loading