Commit Graph

20 Commits

Author SHA1 Message Date
Adam Wulkiewicz
7d2026dd84 Merge branch 'develop' into feature/projections
Conflicts:
	include/boost/geometry/geometry.hpp
	test/Jamfile.v2
2018-01-21 01:51:04 +01:00
Adam Wulkiewicz
cdf766d175 [test] Fix Boost inspect issues (license, tabs, non-asci character, no-newline). 2017-11-24 01:18:26 +01:00
Adam Wulkiewicz
f152c55df4 [test][strategies] Add missing includes. 2017-10-18 01:02:45 +02:00
Adam Wulkiewicz
207549e474 [test][strategies] Add test cases for distance::geographic and side::geographic strategies. 2017-04-22 02:21:42 +02:00
Adam Wulkiewicz
509cb089a5 Merge pull request #355 from awulkiew/feature/geo_intersection
Geographic formulas
2016-08-13 19:38:50 +02:00
Barend Gehrels
798906441a Rename concepts in unit tests 2016-07-27 16:18:00 +02:00
Adam Wulkiewicz
fc67d2ef0e [test][strategies] Update #include of formulas moved to different directory. 2016-07-14 02:06:01 +02:00
Adam Wulkiewicz
1108a468ed [test][strategies] Use new bg::formula namespace. 2016-07-14 00:58:19 +02:00
Adam Wulkiewicz
db3474943b [algorithms][strategies] Simplify the geographic geodesic formulas.
Get rid of formulas objects and implement the formulas as a struct
template taking parameters enabling the formula parts (e.g. distance
and/or azimuth) with apply() static member function. This way the code is
more clear as all temporary values are created directly in the algorithms.
Furthermore there are no uninitialized values and it's not required to
keep a flag indicating if the distance or azimuth can be calculated.

Use the new implementation of formulas in geographic distance and side
strategies.

Alter the unit test.
2015-07-06 17:12:02 +02:00
Adam Wulkiewicz
dac2fe1d5f [test][strategies] Fix compilation errors after merging - comment out unused lines. 2015-05-13 15:44:05 +02:00
Adam Wulkiewicz
f94e51ebe3 Merge branch 'develop' into feature/geographic
Conflicts:
	test/strategies/vincenty.cpp
2015-05-13 15:33:46 +02:00
Menelaos Karavelas
535a7049f9 [geometry] replace uses of constants math::d2r and math::r2d by corresponding free functions 2015-05-08 12:23:23 +03:00
Adam Wulkiewicz
6b438738d8 [test][strategies] Use BOOST_GEOMETRY_CONDITION macro for constant conditions. 2015-02-11 15:54:13 +01:00
Adam Wulkiewicz
2713b7cf5d [test][strategies] Add the tests for geographic side strategies. 2015-01-27 15:38:53 +01:00
Adam Wulkiewicz
8c04a59076 [algorithms][strategies][test] Unify the geographic inverse formulas interface.
Rename vincenty_inverse azimuth12() to azimuth() and comment out the azimuth21().
Modify the test accordingly.
2015-01-25 18:53:27 +01:00
Adam Wulkiewicz
d08c444fef [test] In vincenty strategy test use more robust angle checking. Support user-defined types. 2014-12-13 02:51:14 +01:00
Adam Wulkiewicz
e399a6bfc8 [test] Fix/tweak test of vincenty direct formula. 2014-12-11 17:28:30 +01:00
Adam Wulkiewicz
0d8c46efe7 [algorithms][test] Add vincenty_direct formula algorithm. 2014-12-11 15:40:15 +01:00
Adam Wulkiewicz
de3187f180 [strategies][test] Add distance_ prefix to andoyer and vincenty file names. 2014-12-10 00:22:05 +01:00
Adam Wulkiewicz
545c58a824 [strategies] Move andoyer and vincenty distance strategies from extensions. 2014-11-24 22:51:58 +01:00