Barend Gehrels
f054f092a2
[test] update two other testcases for difference
2018-01-26 13:20:56 +01:00
Barend Gehrels
34dfbba271
[test] adapt point expectations for union/difference/intersection
...
because we now skip some collinear points
2018-01-26 13:02:06 +01:00
Adam Wulkiewicz
6d0d53c41e
Merge branch 'develop' into feature/area_strategies
2018-01-16 14:45:48 +01:00
Barend Gehrels
7b1297bb86
[test] update expectations
2018-01-05 21:56:07 +01:00
Barend Gehrels
6b637c91c0
Merge branch 'feature/intvalid' into develop
2018-01-04 21:42:43 +01:00
Barend Gehrels
26a50a2bbd
[traverse] fix case #case_141_multi which is isolated with multiple
...
connections
2018-01-01 16:28:32 +01:00
Barend Gehrels
bc77fca531
[test] add new case also to intersection/union
2017-12-31 17:17:46 +01:00
Barend Gehrels
9f00c8501b
[union] skip discarding i/e turns for union because this causes some turns
...
to be missed. This fixes the new case #case_recursive_boxes_88
2017-12-31 17:17:21 +01:00
Barend Gehrels
10e79329c1
[test] update a few testcases (comments, defines)
2017-12-31 17:15:45 +01:00
Barend Gehrels
19d0015a81
[test] enable a testcase now fixed
2017-12-29 14:21:04 +01:00
Barend Gehrels
f704579ed0
[overlay] by default use self-turns. This reverses definition
...
of define SELF to NO_SELF. Including all unit tests.
2017-12-29 13:17:42 +01:00
Adam Wulkiewicz
b4d2f10f2b
[test][algorithms] Add centroid() cases and fix MSVC x64 conversion warnings.
2017-12-27 01:55:36 +01:00
Adam Wulkiewicz
3b80d1ae71
[test] Fix unused parameter warnings.
2017-12-26 14:12:16 +01:00
Adam Wulkiewicz
7ebd447aee
[test][algorithms] Use new area strategy interface.
2017-12-22 03:40:01 +01:00
Barend Gehrels
0f4712bdfb
[test] add recent testcases to the other test scenarios
2017-12-20 16:54:51 +01:00
Barend Gehrels
f6c67daba6
[difference] fix cases where ii turns were not discarded, this
...
was a todo-item, it was not yet done for difference.
Including unit testcase using this.
2017-12-20 16:22:27 +01:00
Barend Gehrels
b28b312141
[difference] fix cases where potential inner rings have same area as
...
outer rings (located elsewhere), due to an earlier optimization
2017-12-20 14:07:51 +01:00
Barend Gehrels
11cff883b0
[intersection] Fix newly found case by removing some conditions from
...
handle_self_turns and setting ii-self-turns as non-startable instead of
discarding them.
2017-12-16 18:52:39 +01:00
Barend Gehrels
556896c7cc
[traverse] need to select on operations in selecting ranks, it is not
...
done later. Small regression found by recursive_polygons
2017-12-15 14:37:17 +01:00
Barend Gehrels
5d99d1608d
[overlay] fix new #case_recursive_boxes_82 by greatly simplifying the code.
...
patterns/aggregations were added to solve specific intersection problems
and validity in the past. In the meantime self-turns and isolation information
is much better, and those code is not needed anymore.
This also fixes the #mysql_regression_1_65_2017_08_31
This also makes union/intersection code for handling clusters much more similar
2017-12-15 13:20:41 +01:00
Barend Gehrels
18eb8c5cd7
[test] add new testcase to union/difference
2017-12-06 15:39:53 +01:00
Barend Gehrels
080f0f22f4
[traverse] fix case where hole of one of the inputs formed a
...
disconnected interior (invalid). In the end it is fixed by only
deleting code. This code is not really old but added to fix some
cases, which are finally fixed in a more generic way.
It fixes a new case and also enhances #case_141_multi
2017-12-06 14:25:42 +01:00
Adam Wulkiewicz
88cb906b53
[test][union] Modify geographic union test wrt recent changes (by default invalid polygons are not returned).
2017-11-23 00:09:05 +01:00
Adam Wulkiewicz
fef1d69d19
[test][difference] Add geo case with antipodal endpoints.
2017-11-20 21:09:41 +01:00
Barend Gehrels
44f61d05bb
Merge branch 'develop' of https://github.com/boostorg/geometry into develop
2017-11-19 16:01:09 +01:00
Adam Wulkiewicz
a2d889ca05
[test][union] Conditionally check union's invalid output exception.
2017-11-15 21:34:37 +01:00
Barend Gehrels
9577300b85
[difference] add testcase for ticket 9942, and a simplified version of it
2017-11-15 12:02:08 +01:00
Adam Wulkiewicz
0413013fbc
[test][union] Add geographic union tests (big result, negative area).
2017-11-11 02:07:36 +01:00
Adam Wulkiewicz
9eefd8284e
[test][intersection] Fix compilation error when failing tests are enabled.
2017-11-10 22:09:19 +01:00
Adam Wulkiewicz
968035415f
Merge pull request #424 from awulkiew/fix/geographic_preceding
...
Fix preceding/exceeding in geographic CS
2017-10-25 23:28:14 +02:00
Adam Wulkiewicz
6665497ecc
Merge pull request #423 from awulkiew/fix/setops_la
...
Fix L/A set operations
2017-10-25 23:28:02 +02:00
Barend Gehrels
48843415b0
[test] add condition for robustness in some cases
2017-10-23 15:24:39 +02:00
Barend Gehrels
1e0ecf37c7
[test] remove line which was still there unintended
2017-10-23 15:24:10 +02:00
Barend Gehrels
dd6958b903
[test] add last testcase also to intersection/difference
2017-10-23 15:19:13 +02:00
Barend Gehrels
9024c5f095
[test] Add testcase for incorrectly generated interior ring
2017-10-23 14:57:11 +02:00
Barend Gehrels
433b5fae58
[test] add ticket_12503 to intersection (OK)/difference (failing)
2017-10-23 13:46:39 +02:00
Barend Gehrels
8dee4ab1c8
[is_valid] check reported testcase, it is valid now. Also add it to
...
union to check the self-intersection-points (which are many)
2017-10-23 13:12:39 +02:00
Barend Gehrels
15b8bcbd79
[test] modify cases for tickets 12751 and 12752 which are (a/b) now
...
both valid if self-turns are used
2017-10-23 12:19:27 +02:00
Barend Gehrels
704488a731
[test] add last testcase to union/difference too
2017-10-23 12:17:52 +02:00
Barend Gehrels
94ce58de02
[overlay] fix bug in new code, it should check for the operation because
...
it can happen that union travels to itself and that is irrelevant
2017-10-23 11:26:21 +02:00
Barend Gehrels
1a7b13dadc
[test] add last testcases to union/difference
2017-10-11 14:38:28 +02:00
Barend Gehrels
b20aeba724
[overlay] fix cases where non-traversed rings were incorrectly added.
...
This also changes the order of checks
2017-10-11 13:54:48 +02:00
Barend Gehrels
3010148541
[test] add last testcases to union/difference
2017-10-11 13:52:31 +02:00
Barend Gehrels
4d1b094e6a
[overlay] discard self-turns i/u for intersection traveling to themselves
2017-10-11 12:58:29 +02:00
Barend Gehrels
a5507f2e68
[test] add testcases to union/difference
2017-10-04 18:22:18 +02:00
Barend Gehrels
65a5c2ba53
[overlay] fix bug (it always returned false), and it should not consider
...
all turns in a cluster here. This fixes #case_recursive_boxes_76
Including unit test
2017-10-04 18:12:37 +02:00
Barend Gehrels
0c5038233f
[test] add last testcases also to union/difference tests
2017-10-04 15:29:34 +02:00
Barend Gehrels
c5710b2ab9
[overlay] skip ranks of isolated regions
2017-10-04 14:00:40 +02:00
Barend Gehrels
5369afe1c5
[test] add last testcase, plus 3 missing ones, also to union/difference tests
2017-09-27 13:23:26 +02:00
Barend Gehrels
210b662597
[overlay] correct (partly) the behaviour of isolation detection for
...
an isolated ring, connected to another isolated ring which is
connected multiple times to it
2017-09-27 13:05:25 +02:00