Commit Graph

2201 Commits

Author SHA1 Message Date
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
Adam Wulkiewicz
4a6d8075ec Merge branch 'develop' into feature/point_order 2019-03-08 16:56:33 +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
8f2f5932a1 [test][point_order] Add tests for calculate_point_order() algorithm. 2019-03-01 21:28:04 +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
Vissarion Fysikopoulos
8700f3703d [test] Add tests for non standard spheroids and fix andoyer cases in line_interpolate 2019-02-14 16:39:11 +02:00
Barend Gehrels
c46e4625a7 [buffer] rename strategy (review result) 2019-02-13 11:44:13 +01:00
Vissarion Fysikopoulos
0ab93f5280 [strategy] Remove azimuth precomputation from line_interpolate strategies 2019-02-12 16:54:04 +02:00
Vissarion Fysikopoulos
127de58eaf [test] Test edge cases for line_intrpolate 2019-02-11 17:03:15 +02:00
Vissarion Fysikopoulos
033c9c7aaf [test] Test for input distance longer than linestring length for line_intrpolate 2019-02-11 16:37:08 +02:00
Vissarion Fysikopoulos
6d837b55ef [test] Test for negative input distance for line_intrpolate 2019-02-11 16:05:50 +02:00
Vissarion Fysikopoulos
c5354453ac [test] Test for line_intrpolate regarding round off errors 2019-02-11 15:58:17 +02:00
Barend Gehrels
e9149afdae [buffer][test] review, use double quote for local includes 2019-02-09 18:31:22 +01:00
Barend Gehrels
1bc84aeef8 Merge branch 'develop' into feature/buffer_point_geographic 2019-02-09 17:03:40 +01:00
Adam Wulkiewicz
4714ea458c
Merge pull request #553 from vissarion/bug/distance_spheroid
Pass spheroid correctly in geographic comparable strategies
2019-02-08 16:49:47 +01:00
Barend Gehrels
a1aa082c17
Merge pull request #551 from barendgehrels/feature/remove_rescaling_preparations
Feature/remove rescaling preparations
2019-02-07 19:09:54 +01:00
Vissarion Fysikopoulos
05102586b0 [strategy] [test] Return strategy correctly from get_comparable in box-box; add tests for those cases 2019-02-06 15:20:53 +02:00
Vissarion Fysikopoulos
b242878b8e [test] Remove some unused parameters 2019-02-06 15:14:49 +02:00
Vissarion Fysikopoulos
da6a2dd186 [strategy] [test] Return strategy correctly from get_comparable in pt-seg and pt-box; add tests for those cases 2019-02-06 15:11:59 +02:00
Barend Gehrels
e9b81ed877 [test] add testcases, minor changes in existing testcases 2019-01-30 16:22:02 +01:00
Adam Wulkiewicz
2e19b75876 [setops] Disable validity testing for several cases. 2019-01-25 21:13:28 +01:00
Vissarion Fysikopoulos
b02c5e2aae [algorithm] [strategy] Change line_interpolate_point to use distance instead of fraction 2019-01-25 16:49:03 +02:00
Barend Gehrels
809d33bb5a Merge branch 'develop' of https://github.com/boostorg/geometry into develop 2019-01-23 21:58:57 +01:00
Barend Gehrels
38cf379448 [test] Add testcase for reported issue 2019-01-23 21:58:51 +01:00
Barend Gehrels
7cbfd53bf2 [test] add missing area strategy 2019-01-16 13:08:23 +01:00
Barend Gehrels
787a4071c5 [test] Add new test to Jamfile 2019-01-16 12:07:47 +01:00
Barend Gehrels
fc312fed46 [test] use envelope_strategy to support unit test 2019-01-09 20:34:23 +01:00
Barend Gehrels
253d210c53 Merge branch 'develop' into feature/buffer_point_geographic 2019-01-09 20:24:31 +01:00
Barend Gehrels
5348d02ae3 [test] add unit test for geographic point buffer 2019-01-09 16:30:33 +01:00
Barend Gehrels
9ce1c0b7c7 [test] Add area strategy to unit test function to be able to use another
than the default
2019-01-09 16:28:49 +01:00
Adam Wulkiewicz
6e75922962 [test][within] Add missing include. 2019-01-03 15:50:56 +01:00
Barend Gehrels
3f26e34f43 [test] Remove side-of-intersection from tests 2019-01-01 12:51:46 +01:00
Barend Gehrels
d5e3fe996d [test] pass the buffer itself 2018-12-19 11:49:35 +01:00
Barend Gehrels
78735951c8 [test] add number of points to unit test settings 2018-12-19 11:16:32 +01:00
Adam Wulkiewicz
5f39dfe6af [test][algorithms] Add missing includes in hausdorff distance test. 2018-12-18 04:33:42 +01:00
Vissarion Fysikopoulos
d553d82d56 Resolve conflicts and merge with develop 2018-12-17 14:02:20 +02:00
Adam Wulkiewicz
4c099bdd50 Merge branch 'develop' into feature/undefined_cs 2018-12-16 15:16:39 +01:00
Adam Wulkiewicz
60d1f8fa28
Merge pull request #531 from barendgehrels/feature/get_turn_info_add_retrieve_policy
Feature/get turn info add retrieve policy
2018-12-14 22:46:47 +01:00
Barend Gehrels
b5d44b7428 [test] fix get_turn_info test 2018-12-08 18:55:47 +01:00
Barend Gehrels
2c14e92289 [test] put ranges first 2018-12-08 17:59:02 +01:00
Barend Gehrels
64126a9173 [get_turn_info][test] add point_type, rename policy 2018-12-04 23:12:20 +01:00
Barend Gehrels
2653bf5e7b [get_turn_info] Adapt unit test to latest state 2018-12-04 19:42:46 +01:00
Barend Gehrels
5bf8066f36 [get_turn_info] process review remarks, rename policies, methods
Postpone getting pk/qk in collinear_opposite
2018-12-01 13:22:03 +01:00
Barend Gehrels
c12b048742 [test] fix get_turn_info unit test by adding correct strategy 2018-11-28 20:32:21 +01:00
Adam Wulkiewicz
d19254842c Merge branch 'develop' into feature/undefined_cs 2018-11-28 02:35:38 +01:00
Barend Gehrels
a556829348 [is_valid] revert part of commit 465e487b8c 2018-11-25 11:17:28 +01:00
Adam Wulkiewicz
688bb5e290 [test][overlay] Test two specific get_turns L/L cases only for double coordinate type. 2018-11-23 03:05:26 +01:00
Barend Gehrels
445dcac39a [test] fix get_turn_info test for new retrieve_policy 2018-11-21 23:07:23 +01:00
Vissarion Fysikopoulos
c5b0f851a9 [test] Compute intermediate points inexactly 2018-10-29 16:29:20 +02:00
Vissarion Fysikopoulos
87dfbe07a8 [doc] Line interpolate point algorithm and strategies 2018-10-26 17:03:24 +03:00
Vissarion Fysikopoulos
d8b95f0e94 Merge branch 'develop' into feature/line_interpolate_point_2 2018-10-24 16:50:53 +03:00
Vissarion Fysikopoulos
133177a620 [algorithms] Compute length using correct strategy in line interpolate points 2018-10-17 12:38:53 +03:00
Adam Wulkiewicz
a0eb54fc27 [test][within] Update P/B within strategies. 2018-10-15 01:23:15 +02:00
Adam Wulkiewicz
bcd6e69b41 [test][partition] Use disjoint Box/Box strategy in partition test. 2018-10-13 12:46:33 +02:00
Adam Wulkiewicz
d29acd1a2c Merge branch 'develop' into feature/undefined_cs 2018-10-12 22:12:13 +02:00
Adam Wulkiewicz
e70603926d [test][similarity] Fix conversion warning and formatting in discrete_hausdorff_distance test. 2018-10-12 22:11:56 +02:00
Adam Wulkiewicz
ef432a7fd2 Merge branch 'develop' into feature/undefined_cs 2018-10-12 21:19:22 +02:00
Adam Wulkiewicz
c15b32944d [test][is_valid] Add test failing with midpoint in point_on_border. 2018-10-12 19:40:29 +02:00
Mateusz Łoskot
f2d5fae490
Replace boost::ignore_unused_variable_warning with boost::ignore_unused
The former is provided by Boost.ConceptCheck.
The latter is an improved equivalent provided by Boost.Core.

Related to #513
2018-10-12 15:16:46 +02:00
Adam Wulkiewicz
38cbc162a0 Merge branch 'develop' into feature/undefined_cs 2018-10-12 03:52:06 +02:00
Adam Wulkiewicz
9ebdda95cc [test][is_valid] Add test case failing with Midpoint passed to point_on_border. 2018-10-12 03:35:33 +02:00
Adam Wulkiewicz
dcaadf6257 [test][envelope][strategies] Update strategies used for testing. 2018-10-12 03:34:35 +02:00
Vissarion Fysikopoulos
020be50d58 [tests] Add tests for line interpolate points algorithm with multipoints 2018-10-10 17:08:36 +03:00
Vissarion Fysikopoulos
c36a4c29f1 [algorithms] [strategies] [tests] Rename strategy for interpolation of points. 2018-09-25 13:00:34 +03:00
Vissarion Fysikopoulos
53c5dc1e27 [algorithms] [tests] Add special cases for line_interpolate_point algorithm and tests 2018-09-20 15:56:50 +03:00
Vissarion Fysikopoulos
3de61f311c [algoritms] [tests] Add tests for cartesian line_interpolate_point and fix bug in algorithm. 2018-09-19 16:33:32 +03:00
Adam Wulkiewicz
75fa0ec513 [test][similarity] Move test hpp files and remove geometry.hpp include. 2018-09-15 14:05:19 +02:00
Yaghyavardhan singh khangarot
cc69fc28a2 [test][similarity] Added test cases for geographic strategies 2018-08-30 23:22:49 +05:30
Yaghyavardhan singh khangarot
5aa539d58e Updated 2018-08-16 02:10:38 +05:30
yaghyavardhan singh khangarot
f526bb8f54
Merge branch 'develop' into feature/similarity 2018-08-15 20:15:42 +05:30
Yaghyavardhan singh khangarot
cbb635b1f6 [test][similarity] Updated indentation in test files 2018-08-15 19:23:33 +05:30
Yaghyavardhan singh khangarot
60ea4b2ee5 [test][similarity] Updated 2018-08-15 18:23:30 +05:30
Yaghyavardhan singh khangarot
8fdf0ad40a [algorithms] Updated the function's names 2018-08-13 19:53:49 +05:30
Yaghyavardhan singh khangarot
3b22b04588 [test][similarity] Rename Hausdorff Distance and Frechet Distance test files 2018-07-31 22:04:14 +05:30
Adam Wulkiewicz
4782cb191d [test][algorithms] Move relops tests dirs to algorithms/ dir. 2018-07-27 19:00:19 +02:00
Adam Wulkiewicz
9d763b9e52
Merge pull request #499 from vissarion/fix/expand_make_inverse
Fix make_inverse and expand issue
2018-07-09 13:39:36 +02:00
Vissarion Fysikopoulos
f04c25f43d [algorithms] [util] Rename is_inverse utility and update copyright notes 2018-07-09 12:58:34 +03:00
Yaghyavardhan singh khangarot
263a75ff9e [test][similarity] Added test for edge cases 2018-07-07 17:39:50 +05:30
Vissarion Fysikopoulos
9efcb83bb3 [algorithms] [tests] Move include for make.hpp to correct place 2018-07-06 16:08:01 +03:00