Vissarion Fisikopoulos
954f9ee532
[tests] Remove duplicate check_inverse function
2021-07-05 16:04:56 +03:00
Vissarion Fisikopoulos
f940c16fd6
Remove sum_error function
2021-07-05 16:04:40 +03:00
Vissarion Fisikopoulos
37ada5f9b0
[formulas] Implement detail namespace for karney_inverse formula
2021-02-22 18:59:10 +02:00
Vissarion Fisikopoulos
538a97de3d
[formulas] [test] Enable series expansions inverse formulas and relevant distance strategies
2021-01-07 17:27:00 +02:00
Adam Wulkiewicz
36298d6324
[formulas] Normalize resulting longitudes in direct formulas.
2020-07-31 19:44:18 +02:00
Adam Wulkiewicz
d3b96b17af
[test] Close comment to suppress gcc warning.
2020-07-02 17:22:12 +02:00
Mateusz Łoskot
96db897fc5
Rename Jamfile.v2 to Jamfile ( #679 )
...
There is no reason to maintain the legacy .v2 file extension,
which is unnecessary clutter, may be confusing.
2020-03-08 23:50:18 +01:00
Adam Wulkiewicz
12f3dea6e6
[test][formulas] Add tests for inverse formulas (commented out for now due to inconsistencies).
2020-02-12 17:59:34 +01:00
Adam Wulkiewicz
a826d99c6c
[test][formulas] Extract karney_inverse tests into separate file.
2019-11-06 00:17:39 +01:00
Vissarion Fisikopoulos
8f1e5068ae
Merge pull request #500 from BoostGSoC18/feature/karney_inverse
...
Introduce formula for Karney's inverse geodesic method
2019-10-31 17:00:31 +02:00
Adam Wulkiewicz
a03155b46d
[test][formulas] Add test case (issue 612).
2019-09-20 00:57:21 +02:00
Adeel Ahmad
c5b684f74c
[tests]: Add test for small angles for Kayney's inverse method
2019-04-06 21:16:44 +02:00
Adeel Ahmad
9885d3b68a
[test] Add tests involving tiny angles for latitude, longitude, and azimuth
2019-03-31 11:17:17 +02:00
Vissarion Fysikopoulos
265517f69a
[test] Add test for series expansion comparision with geographiclib
2019-03-20 14:43:38 +02:00
Adam Wulkiewicz
c7a4c12f71
[test][formulas] Add tests for negative distance in direct formulas.
2019-03-12 01:42:39 +01:00
Adam Wulkiewicz
2b85597ca0
[test][formulas][strategies] Change expected results of geo intersection.
2018-08-27 23:48:13 +02:00
Adeel Ahmad
2ff1824683
[formulas][test] Update copyright information
2018-07-16 19:06:20 +05:00
Adeel Ahmad
73a2e2b8a4
Merge branch 'feature/geodesic_direct' into feature/karney_inverse
2018-07-09 16:15:41 +05:00
Adeel Ahmad
535ae96a86
[test] Add nearly antipodal points dataset for inverse geodesic problem
...
These values are collected from GeodTest which is associated
with GeographicLib:
https://zenodo.org/record/32156
The conversion to C++ array format is done using this Python script:
https://github.com/adl1995/boost-geometry-extra/blob/master/geographiclib-dataset-parse-inverse.py
Geodesic scale (M12) is absent from the GeodTest dataset, so it is
manually generated using GeographicLib using this C++ script:
https://github.com/adl1995/boost-geometry-extra/blob/master/geographicLib-direct-antipodal.cpp
2018-07-03 13:31:15 +05:00
Adeel Ahmad
4f04310859
[formulas][test] Add Karney's inverse method in inverse test cases
...
The compilation is successful with gcc version (7.2.0),
but not with version (5.4.1). The accepted tolerance
is set to (0.0000001). Currently, all tests are not
passing, which indicates an error in the calculation.
Additionally, some changes have been made in
karney_inverse.hpp
2018-07-03 11:02:48 +05:00
Adeel Ahmad
687df8e18a
Merge branch 'develop' into feature/geodesic_direct
...
Conflicts:
include/boost/geometry/util/math.hpp
test/formulas/direct.cpp
The conflicting files have been updated.
2018-06-29 14:31:15 +05:00
Adeel Ahmad
78411f63c8
[doc][util][formulas][test] Add copyright information in updated files
2018-06-18 18:05:11 +05:00
Vissarion Fysikopoulos
12f7a2239b
[formulas] Add coordinates and reverse azimuth flags to spherical direct formula
2018-06-18 14:31:45 +03:00
Vissarion Fysikopoulos
cc2ded01ee
[formulas] [tests] Change thomas direct interface
2018-06-18 14:08:58 +03:00
Vissarion Fysikopoulos
88469892dd
[formulas] Rename elliptic_meridian_arc formula to meridian
2018-06-18 12:52:05 +03:00
Vissarion Fysikopoulos
c1299d7a32
[formulas] [tests] Add revarse_azimuth and quantities computation to direct meridian formula plus tests
2018-06-18 12:03:13 +03:00
Vissarion Fysikopoulos
bc3189f9fd
[formulas] [tests] Interface for direct meridian formula and tests
2018-06-15 10:25:05 +03:00
Vissarion Fysikopoulos
97fa9c177f
[tests] Adding tests for spherical and thomas 1st order direct formulas
2018-06-12 16:00:09 +03:00
Vissarion Fysikopoulos
afb575fbf5
[tests] Add tests for meridian direct formula
2018-06-12 15:52:58 +03:00
Adeel Ahmad
2cba2fa83f
[test] Calculate geodesic scale (M12) using high precision arithmetic
...
Instructions for building GeographicLib are given here:
https://geographiclib.sourceforge.io/html/highprec.html
It requires the use of libquadmath package, which is present
in g++-7 by default. The cmake command used is:
cmake -DCMAKE_CXX_COMPILER=g++-7 -DGEOGRAPHICLIB_PRECISION=4 ..
Internally, GeographicLib makes use of float128 as part of Boost
Multiprecision library. To output full precision values, use:
std::setprecision(std::numeric_limits<float128>::max_digits10)
2018-06-12 12:00:52 +05:00
Adeel Ahmad
fe1b9ff8ba
[test] Update geodesic scale (M12) in GeographicLib dataset
...
M12 is calculated manually using GeographicLib. Previously,
GEOGRAPHICLIB_PRECISION was set to 2 (default) with series
order set to 6. The updated values are generated with
GEOGRAPHICLIB_PRECISION set to 3 and series order set to 7.
Build instructions are provided here:
https://geographiclib.sourceforge.io/html/install.html
2018-06-09 16:17:42 +05:00
Adeel Ahmad
96074e2ab2
[test] Use series order 2 for Karney's direct method
...
Boost Geometry dataset is created with series order 2. Therefore,
the tests fail at all other values.
2018-06-09 16:15:55 +05:00
Adeel Ahmad
a10815366a
[test] Add comment providing dataset source and how it is parsed
2018-06-05 10:21:49 +05:00
Adeel Ahmad
1ed5f103f4
[formulas] Move SeriesOrder to the end of template parameter list
2018-06-04 19:09:07 +05:00
Adeel Ahmad
6ff97a6991
[test] Test Karney's method on antipodal points dataset
2018-05-31 16:36:16 +05:00
Adeel Ahmad
3c21b13c91
[test] Add geodesic length to antipodal points dataset
...
The geodesic length is calculated manually using GeographicLib/Geodesic.hpp
in C++. However, this value differs when calculated using the
CLI tool GeodSolve.
2018-05-31 16:28:09 +05:00
Adeel Ahmad
fdbb3886d3
[test] Add nearly antipodal points dataset for direct geodesic problem
...
Dataset is collected from:
https://zenodo.org/record/32156
It is then parsed using a Python script.
2018-05-30 12:14:33 +05:00
Adeel Ahmad
afe7bc679c
[test] Add direct Karney's method to direct.cpp test cases
2018-05-28 16:46:20 +05:00
Adam Wulkiewicz
6598f5af2e
Merge branch 'develop' into feature/projections
...
Conflicts:
test/formulas/inverse.cpp
2017-10-11 19:57:14 +02:00
Adam Wulkiewicz
d8f2d23863
[test][formulas] Print test name/id in error msg in inverse formulas test.
2017-10-03 01:56:53 +02:00
Adam Wulkiewicz
c194e1221e
[test][formulas] Add formulas_ prefix to vertex_longitude test name.
2017-06-30 17:00:40 +02:00
Vissarion Fysikopoulos
2f27952b2f
[test] activating vertex_longitude tests
2017-05-08 15:58:20 +03:00
Vissarion Fysikopoulos
4f7956d5ae
[disjoint] more cleaning code
2017-05-05 15:57:36 +03:00
Vissarion Fysikopoulos
b7d5f4b849
[disjoint] cleaning code
2017-05-05 14:17:52 +03:00
Vissarion Fysikopoulos
5cdae7c693
[disjoint] [vertex_longitude] Reviewing cases of disjoint, create new tests, fix corner cases
2017-05-02 18:44:26 +03:00
Vissarion Fysikopoulos
fe1c91577f
many cases working, still testing
2017-04-26 12:59:03 +03:00
Adam Wulkiewicz
73beed3ee9
[test][formulas] Update includes after moving srs from core.
2017-04-22 02:20:46 +02:00
Vissarion Fysikopoulos
842a121cf6
[vertex_longitude] [test] Unit tests and corner cases for vertex_longitude formula
2017-04-07 18:07:29 +03:00
Vissarion Fysikopoulos
d02616948c
[formula] [vertex_longitude] Fixing ellipsoidal formula
2017-04-04 18:03:57 +03:00
Adam Wulkiewicz
6fa7b888e5
[test][formulas] Tweak eps threshold in inverse formula test (for mingw-gcc).
2017-03-03 03:53:29 +01:00