Vissarion Fysikopoulos
0fb5cabe67
[algorithms] Fix box/segment distance for segment bottom of box
2018-01-11 13:01:00 +02:00
Vissarion Fysikopoulos
27d8955188
[algorithms] Some solution for correcting distance seg-box for spherical anf geo CS
2017-12-21 15:16:02 +02:00
Vissarion Fysikopoulos
ea181b43f1
[algorithms] [strategies] [tests] Fix meridian distance point to meridian segment
2017-12-13 19:37:13 +02:00
Vissarion Fysikopoulos
a0b78391e0
[strategies] [tests] Multipoint box distance support and tests.
2017-12-05 15:43:54 +02:00
Vissarion Fysikopoulos
4b9cf1288d
[stategies] Clean-up code for pt/box box/box strategies
2017-12-04 17:32:17 +02:00
Vissarion Fysikopoulos
e4a587c0f4
[strategies] [tests] Test degenerate pt/box and box/box cases; fix a bug in pt-sgmt distance strategy
2017-12-01 14:58:16 +02:00
Vissarion Fysikopoulos
0a3204a494
Merge remote-tracking branch 'origin/develop' into feature/distance_box
2017-11-30 16:03:56 +02:00
Adam Wulkiewicz
cdf766d175
[test] Fix Boost inspect issues (license, tabs, non-asci character, no-newline).
2017-11-24 01:18:26 +01:00
Vissarion Fysikopoulos
5b56157fcf
[tests] Activate pt-box box-box tests
2017-11-13 14:23:29 +02:00
Vissarion Fysikopoulos
fcc114ee85
[strategies] Meridian distance without creating points
2017-11-13 13:28:40 +02:00
Vissarion Fysikopoulos
236ee9aba5
[strategies] Fix bugs in pt-segmt distance; parametric latitude use and sign of derivative
2017-11-09 17:16:47 +02:00
Vissarion Fysikopoulos
10e88b6bda
Merging with develop; use new pt-sgmt distance interface
2017-11-08 13:09:07 +02:00
Vissarion Fysikopoulos
c2ac26eab9
[strategies] [tests] Fix pt-sgmt strategy for special meridian segments passing through poles
2017-11-07 17:35:05 +02:00
Vissarion Fysikopoulos
8d29c629d0
[test] Special case handling for Pt-Sgmt distance when segment contains the pole
2017-11-01 21:01:35 +02:00
Vissarion Fysikopoulos
1c5d10fb77
[formulas] Thomas formula return zero for distance between poles. Fixed by calling meridian formula for this case.
2017-11-01 19:44:28 +02:00
Vissarion Fysikopoulos
5a7ccaff35
[tests] Fix expected results in perimeter tests and add few cases
2017-11-01 19:03:52 +02:00
Vissarion Fysikopoulos
f458d8d28e
[formulas] [strategies] Distance point-segment use the meridian formula. Use new static version of distance strategy.
2017-11-01 17:42:48 +02:00
Adam Wulkiewicz
639f70a44a
[formula][test] Remove/update includes (srs).
2017-10-31 19:38:28 +01:00
Vissarion Fysikopoulos
866b297482
[formulas] [tests] Distance point-segment; normalization and some changes in the method and tests
2017-09-21 13:22:51 +01:00
Vissarion Fysikopoulos
d9f3641795
[formulas] [strategies] [tests] Code simplification for special cases and some unit test cases
2017-09-19 18:01:43 +03:00
Vissarion Fysikopoulos
02de7cc212
[formulas] [strategies] Fix cross track distance for both spherical and geographic
2017-09-19 15:13:33 +03:00
Vissarion Fysikopoulos
47e2f0b4e9
[test] Tests for small and large distances from point to segment
2017-09-12 16:45:31 +03:00
Vissarion Fysikopoulos
3e97db55ab
[test] Tests for geographic distance of pointlike-linear geometries
2017-09-12 14:08:50 +03:00
Vissarion Fysikopoulos
dbe6df7ad3
[formulas] [strategies] [distance] Change interface and earth radius in distance point segment geographic formula
2017-08-30 15:04:01 +03:00
Vissarion Fysikopoulos
0c8e12d1bb
[distance] [test] Geo box-box distance tests
2017-07-25 13:51:37 +03:00
Vissarion Fysikopoulos
1728b7a706
[distance] [test] Geo point-box tests
2017-07-25 12:25:04 +03:00
Vissarion Fysikopoulos
f015a04d80
[distance] Distance box-box strategy and tests
2017-07-24 12:12:30 +03:00
Vissarion Fysikopoulos
b8453a3caf
[distance] [test] Clean code in distance test and point segment formula
2017-07-18 13:05:15 +03:00
Vissarion Fysikopoulos
36232a3cdb
[distance] Spheroid passed as parameter, more general strategy getter for distance strategy
2017-07-13 12:52:52 +03:00
Vissarion Fysikopoulos
8b33899ec7
[distance] Point-segment distance formula, strategy and tests
2017-07-13 09:59:10 +03:00
Adam Wulkiewicz
623f3f5fd0
[test][distance][overlay] Add missing includes.
2017-04-26 06:22:47 +02:00
Adam Wulkiewicz
409e97304e
[test][distance] Suppress unused parameter warning.
2017-01-06 20:05:32 +01:00
Adam Wulkiewicz
edc0adc95a
[test] Add missing TypeOf includes (after dropping Serialization dependency).
2017-01-04 16:44:44 +01:00
Barend Gehrels
798906441a
Rename concepts in unit tests
2016-07-27 16:18:00 +02:00
Adam Wulkiewicz
e47ea29910
[test][distance] Add test cases for spherical equatorial CS mentioned in ticket 11982.
2016-02-12 23:46:17 +01:00
Adam Wulkiewicz
34048498ec
[test][distance] Add a test case with NaN coordinates.
2015-10-08 17:42:59 +02:00
Menelaos Karavelas
7dd56e8b87
[test][algorithms][distance] add more test cases for distance(point, box) in the
...
spherical equatorial coordinate system
2015-06-19 01:16:48 +03:00
Menelaos Karavelas
70d0281dc5
[test][algorithms][distance] add unit test for distance(point, box)
...
in the spherical equatorial coordinate stystem
2015-06-13 01:52:22 +03:00
Adam Wulkiewicz
158271682c
[test][distance] Specify/change the test names.
2015-06-07 16:48:15 +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
Menelaos Karavelas
7658231aa4
Merge branch 'develop' of https://github.com/boostorg/geometry into fix/remove_deprecated_include_paths
...
Conflicts:
test/algorithms/set_operations/difference/difference.cpp
2015-03-31 14:30:04 +03:00
Barend Gehrels
90fcd83f30
[test] Remove bigobj flag from Jamfiles
...
now that it is defined in the upper level
2015-03-22 22:58:24 +01:00
Menelaos Karavelas
29c460b546
[test][algorithms] remove deprecated includes referring to the
...
include/boost/geometry/multi/ directory; polish and simplify some includes;
2015-03-12 02:10:14 +02:00
Menelaos Karavelas
556637448f
[test][algorithms][distance] add test case where distance computed is a NaN
2015-03-11 10:51:03 +02:00
Menelaos Karavelas
a33fb12f2e
[test][algorithms][distance] add test case where distance overflows
2015-03-11 10:50:41 +02:00
Menelaos Karavelas
c519fb80e3
[test][algorithms][distance] remove last argument in tester calls (not needed)
2015-03-11 10:49:55 +02:00
Menelaos Karavelas
bb25a857ee
[test][algorithms][distance] update copyright year
2015-03-11 10:49:18 +02:00
Menelaos Karavelas
c8d6269b09
[test][algorithms][distance] polish and update code; re-factor some parts;
...
allow testing against test cases where distance computed is not a finite
floating-point value;
2015-03-11 10:48:46 +02:00
Menelaos Karavelas
218044919a
[test][algorithms][distance] fix MSVC warning C4100 complaining about an unreferenced formal parameter
2015-02-11 19:51:36 +02:00
Adam Wulkiewicz
a3469a4715
[test][algorithms] Fix unused parameter warnings.
2015-02-03 12:18:38 +01:00
Adam Wulkiewicz
23d3e60767
Merge pull request #197 from mkaravel/feature/support_for_one_point_geometries
...
Feature/support for one point geometries
2015-01-28 23:24:42 +01:00
Menelaos Karavelas
af9b0c76fe
[test][algorithms][distance] replace use of internal Boost.Test tools
...
by BOOST_CHECK and BOOST_CHECK_CLOSE
2015-01-24 14:51:18 +02:00
Menelaos Karavelas
3c443862d4
[test][algorithms][distance] add test cases of linear and/or areal
...
geometries that contain ranges with less than two points
2015-01-22 18:26:03 +02:00
Adam Wulkiewicz
2dfc5ccce3
Merge pull request #192 from mkaravel/feature/distance
...
[test][algorithms][distance][spherical_equatorial] add one more test case of antipodal points
2015-01-12 18:01:03 +01:00
Menelaos Karavelas
83d61147dd
[test][algorithms][distance][spherical_equatorial] add one more test case
...
of antipodal points
2015-01-12 16:11:46 +02:00
Menelaos Karavelas
ceb1102c46
[test][algorithms][distance] explicitly initialize variable to avoid
...
maybe-uninitialized-warning
2015-01-12 15:59:23 +02:00
Menelaos Karavelas
cb26608452
[test][strategies][spherical][cross track] add test cases where the distance
...
of the point from the spherical segment is small (1e-3 or smaller)
2014-12-05 10:56:37 +02:00
Menelaos Karavelas
db51e59aae
[test][algorithms][distance][spherical equatorial] update unit test to account
...
for the changes in the cross track strategy (that now has a comparable counterpart)
2014-11-19 23:55:51 +02:00
Menelaos Karavelas
445fa3fd8e
[test][algorithms][distance][spherical equatorial] print, in debug mode, the
...
radius of the strategy; change the label in one of the test cases;
2014-11-18 08:30:06 +02:00
Menelaos Karavelas
46bb719a63
[test][algorithms][distance] add unit test for testing distance
...
computations for pointlike/linear geometries in the spherical equatorial
coordinate system
2014-11-07 23:28:05 +02:00
Menelaos Karavelas
3f19ebab75
[test][algorithms][distance] cleanup unit test for distances of
...
pointlike/pointlike geometries in the spherical equatorial coordinate system;
add testing when a comparable strategy is passed;
2014-11-07 23:26:54 +02:00
Menelaos Karavelas
111d9537a1
[test][distance] add algorithm (used in unit tests) for computing the distance
...
in a brute force manner, using BG's distance only for the following combinations:
* point/point
* point/segment
* segment/segment
2014-11-07 23:25:11 +02:00
Menelaos Karavelas
2c3d9e898b
[test][distance] cleanup common code for distance unit tests in the
...
spherical_equatorial coordinate system
2014-11-07 23:24:19 +02:00
Menelaos Karavelas
1b638c66fc
[test][distance] add some more P/L and L/L test cases; some of them
...
have triggered the bug in the Cartesian segment-segment intersection
strategy and the distance has produced wrong results; with the fix
in the Cartesian segment-segment intersection strategy, the distance
computation test cases added succeed;
2014-11-04 22:06:18 +02:00
Menelaos Karavelas
96243eb580
[test][distance] add test cases for multipoint/polygon and
...
multipoint/multipolygon with points inside the polygon/multipolygon
2014-11-03 20:58:58 +02:00
Adam Wulkiewicz
7e1e794dd0
[test] Move from_wkt to main test directory and tweak #includes.
2014-10-30 00:52:10 +01:00
Adam Wulkiewicz
aaa96982cf
[test] Move distance() tests to separate directory.
2014-10-30 00:32:02 +01:00