2172 Commits

Author SHA1 Message Date
Barend Gehrels
8c13a57f09 [test] Changes in difference unit test 2019-07-17 09:47:56 +02:00
Adam Wulkiewicz
f17be7daba [test][algorithms] Update tests due to change of arguments in difference_insert and sym_difference_insert. 2019-06-28 21:47:36 +02:00
Adam Wulkiewicz
38ae42e442 Merge branch 'develop' into feature/undefined_cs 2019-06-28 14:29:52 +02:00
Barend Gehrels
283a0bc571 [buffer] fix line/line intersection point calculation for some cases,
now using general form (which will be used later more widely). This fixes
some numerical issues.
Including testcase, reported as #596
2019-06-26 14:45:42 +02:00
Vissarion Fisikopoulos
a38924a0f2
Merge pull request #595 from vissarion/fix/dist_pt_seg_short
Fix inaccuracy in geographic point-segment distance computation
2019-06-25 12:59:49 +03:00
Vissarion Fysikopoulos
5e0e1cf75c [strategy] Put bisection method for distance pt-sgmt into detail namespace 2019-06-25 12:31:30 +03:00
Adam Wulkiewicz
970bce222f [test] Update tests WRT recent changes related to CS-specific strategies propagation. 2019-06-24 12:21:19 +02:00
Adam Wulkiewicz
bfdd09c12c [test][overlay] Pass intersection strategy in sort_by_side test. 2019-06-04 20:45:59 +02:00
Barend Gehrels
d0981b0a98 [TEST] Remove define for union 2019-05-29 16:56:25 +02:00
Barend Gehrels
fb0c9d3b8e [TEST] Minor fixes in buffer tests 2019-05-29 16:54:52 +02:00
Barend Gehrels
1465e26502 [TEST] Add two testcases 2019-05-29 16:42:57 +02:00
Barend Gehrels
5eed0d779d [TEST] Add extra define BOOST_GEOMETRY_USE_KRAMER_RULE to indicate
using the Kramer-rule intersection strategy.
This can change some test behaviour
2019-05-29 15:53:29 +02:00
Barend Gehrels
861fc38533 [TEST] Unify different defines into BOOST_GEOMETRY_TEST_ENABLE_FAILURES 2019-05-29 15:48:44 +02:00
Vissarion Fysikopoulos
5cd6314aca [tests] Minor fixes in distance pt-segment 2019-05-29 15:53:58 +03:00
Vissarion Fysikopoulos
ea6dcda82c [strategies] [test] Use correctly units in pt-seg distance geo strategy 2019-05-28 16:37:59 +03:00
Barend Gehrels
229b42aee8 [TURNS] Disable start-turns, and take the closer point to measure distance,
which makes that measurement more precise.
2019-05-15 12:55:38 +02:00
Barend Gehrels
bcb9f60bec [test] add testcases 17,18,19,20 2019-05-01 22:08:57 +02:00
Barend Gehrels
9d5b160584
Merge pull request #582 from barendgehrels/feature/add_start_turn
Feature/add start turn
2019-05-01 22:08:02 +02:00
Vissarion Fysikopoulos
17831d71f8 [strategies] Bisection method for geo distance pt-sgmt 2019-04-23 16:50:10 +03:00
Barend Gehrels
b84918fcde [test] add testcase for FP precision without rescaling 2019-04-17 15:10:04 +02:00
Barend Gehrels
de5187f39c [test] update testcases w.r.t. disabling rescaling, add two cases 2019-04-03 13:58:40 +02:00
Adam Wulkiewicz
c659de4f41 [test][buffer] Fix type. 2019-03-28 14:08:19 +01:00
Vissarion Fisikopoulos
8f69777215
Fix disjoint(segment, box) in spherical_equatorial and geographic CS (#580)
* [algorithms] Remove azimuth optimization from spherical/geo disjoint segment-box
2019-03-27 10:01:14 +02:00
Adam Wulkiewicz
a43e25cfef [test][disjoint] Add spherical cases (issues: 466, 579). 2019-03-26 17:43:49 +01:00
Adam Wulkiewicz
30ebfb8cd5 [test][disjoint] Add failing cases of Seg/Box (issue 579). 2019-03-25 20:15:53 +01:00
Adam Wulkiewicz
7c82a8f14d [test][envelope] Add cases of spherical polygons (issues 466 and 471). 2019-03-21 20:19:15 +01:00
Vissarion Fysikopoulos
220fe13890 [strategy][test] Robust acos call and tests 2019-03-15 14:43:45 +02:00
Adam Wulkiewicz
392f73e796
Merge pull request #570 from vissarion/fix/vertex_longitude
Fix for distance between geometries
2019-03-14 19:41:27 +01:00
Vissarion Fysikopoulos
4d5aedf648 [test] Add test case that fail without swapping longitudes in box segment strategy 2019-03-13 15:43:57 +02:00
Barend Gehrels
96956c3519 [test] Change expectations because of failing tests on MSVC 2019-03-13 14:35:29 +01:00
Barend Gehrels
89b64c416a [test] Simplify conditional code as done earlier 2019-03-13 13:57:16 +01:00
Barend Gehrels
baaf2e3284 [test] add testcases for reported issues #566, and to mailing list at March 7 2019-03-13 13:56:44 +01:00
Barend Gehrels
6344e3c72e
Merge pull request #563 from barendgehrels/enhance/more-remove-rescale-preparations
Enhance/more remove rescale preparations
2019-03-06 09:47:34 +01:00
Barend Gehrels
24455aeab8 changes in comments 2019-03-05 20:31:20 +01:00
Adam Wulkiewicz
c2d6b56521 [test][line_interpolate] Fix dereference of non-dereferencable iterators. Remove typename keyword. Improve error message. 2019-03-04 18:31:02 +01:00
Barend Gehrels
3a025c43d5 [test] add testcase for issue #369. For this, add logarithmic
option to compare very small areas. Use this too in county and aimes
2019-03-02 19:13:15 +01:00
Barend Gehrels
afc2c87e02 [test] Add testcase for reported issue #548, which succeeds without rescaling 2019-03-02 17:51:09 +01:00
Barend Gehrels
e7ddb0a056 [test] Add testcase for reported issue 555: buffer deflate omits interior ring
It is OK when rescaling is turned off
2019-03-02 17:26:07 +01:00
Barend Gehrels
5314fdd8d9 [test] Simplify settings
(add one previously deleted validity value)
2019-03-02 17:07:59 +01:00
Barend Gehrels
7f23fcea98 [test] Harmonize define (four variants were used).
If defined, just ignore test_validity flag (such that validity is
always checked), same for sym_difference
2019-03-02 16:08:24 +01:00
Barend Gehrels
59c795a967 [test] Verify testcases (union, intersection, diff, buffer) w.r.t. turning off
rescaling.
Because of the preparation steps, many tests already succeed
2019-03-02 15:57:29 +01:00
Barend Gehrels
07dd079033 [CONFIG] Use a positive define (USE_RESCALING) instead of an unclear negative
one (NO_ROBUSTNESS). Precedes removing of the rescaling.
2019-03-02 13:39:50 +01:00
Adam Wulkiewicz
deee6ac6d7
Merge pull request #559 from barendgehrels/enhance/remove_no_self_defines
Enhance/remove no self defines
2019-02-27 17:12:56 +01:00
Vissarion Fisikopoulos
1c0f3e398a
Merge branch 'develop' into feature/line_interpolate_point_2 2019-02-27 15:13:37 +02:00
Barend Gehrels
d67688ee2b [TEST] Remove defines, in general "not no_selfturns" (= use them)
and remove other branch not using them.
Because self turns are now stable, default, and without them does not need
to be unit tested.
Plus it can make test cases with/without rescaling way more complex.
2019-02-23 14:35:34 +01:00
Barend Gehrels
cb27d880c7 [TEST] Remove NO_SELF from svg filename 2019-02-23 14:31:04 +01:00
Vissarion Fysikopoulos
03036b4b62 [algorithm] [strategy] [test] [doc] Rename line_interpolate_point to line_interpolate 2019-02-19 16:32:22 +02:00
Vissarion Fysikopoulos
d0331aa3eb [algorithm] [test] Assertion for possible division with zero in line_interpolate 2019-02-18 14:43:53 +02:00
Vissarion Fysikopoulos
f83cb027b5 [strategy] [test] Use radius in spherical line_interpolate strategy 2019-02-18 14:04:32 +02:00
Vissarion Fysikopoulos
4646d12521 Merge remote-tracking branch 'origin/develop' into feature/line_interpolate_point_2 2019-02-15 15:54:29 +02:00