Commit Graph

6988 Commits

Author SHA1 Message Date
Adam Wulkiewicz
278acf8ed1 [test][strategies] Properly initialize wkt2 member of helper class strategy_base. 2017-12-26 14:11:50 +01:00
Adam Wulkiewicz
b6287df886 [wkt] Rearrange initialize() code to avoid not returning from function (suppress warning). 2017-12-26 14:10:02 +01:00
Adam Wulkiewicz
2ea729b520 [algorithms][strategies][util] Fix unused parameter warnings. 2017-12-24 05:05:30 +01:00
Adam Wulkiewicz
cd8c50d712 [partition] Fix wrong overlay policy passing. 2017-12-24 05:04:42 +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
68bc3ee07a [dissolve] apply last change for dissolve too 2017-12-20 14:08:13 +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
7552200cfa [traverse] use new method operation_from_rank in two other places as well 2017-12-15 14:37:55 +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
f0d74e3386 [union] simplify cluster behaviour by skipping aggregation step 2017-12-15 12:34:25 +01:00
Barend Gehrels
2cd973df85 Merge branch 'develop' into feature/intvalid 2017-12-15 11:05:16 +01:00
Adam Wulkiewicz
c83bc33cb4 [overlay] Add missing includes in add_rings.hpp 2017-12-15 01:16:36 +01:00
Barend Gehrels
f0619cb19a [enrich] combine expressions, set cluster, add comments 2017-12-06 15:43:11 +01:00
Barend Gehrels
dc7c17347f [traverse] dont use blocked turns for region, and simplify
expressions by static consts
2017-12-06 15:42:27 +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
Barend Gehrels
b25596dcf1 [test] remove switch_source from debug-svgs 2017-12-06 12:20:00 +01:00
Barend Gehrels
536f001483 [traverse] update debug info with removed fields 2017-12-06 11:33:56 +01:00
Barend Gehrels
d52139934c [traverse] also remove now unused loop setting local region ids 2017-12-06 11:27:12 +01:00
Barend Gehrels
fa6d0ce2ee [traverse] replace switch_source by inspecting region ids locally 2017-12-06 11:23:27 +01:00
Barend Gehrels
d096cc8230 [traverse] use passed turn instead of turn index 2017-12-06 11:06:50 +01:00
Barend Gehrels
8f6cf2681b [traverse] remove from cluster switch_source which is not used anymore 2017-12-06 10:08:58 +01:00
Barend Gehrels
c5bff00b03 Merge branch 'develop' into feature/intvalid 2017-12-06 09:40:55 +01:00
Adam Wulkiewicz
9e882889f4 [formulas] Fix thomas direct formula for meridian segments (azi=0, lat1<0). 2017-12-04 22:31:26 +01:00
Adam Wulkiewicz
775b0e6199 [doc] Update 1.66 release notes. 2017-11-30 14:33:16 +01:00
Barend Gehrels
d1e0296171 [buffer][test] remove ignore_validity for two cases which are now always fine 2017-11-29 17:07:29 +01:00
Barend Gehrels
00a8dac019 [buffer][test] add test cases for fixed behaviour of deflated holes should
have minimal 3 points
2017-11-29 17:06:56 +01:00
Barend Gehrels
0e9e6caded [buffer][fix] in deflated buffers it could occur that a turn was missed
(so: not within original) and traveled to itself. This is fixed by checking
for deflated buffers (or inflated interior rings) if the minimum number
of turns is 3.
2017-11-29 16:27:01 +01:00
Barend Gehrels
c9ea4b50ed [test] Add validity check to robustness test of buffer 2017-11-29 14:39:20 +01:00
Barend Gehrels
99da88ac26 [test][buffer] remove checks for self-intersections which is replaced
by validity
2017-11-29 10:24:00 +01:00
Barend Gehrels
900219f408 [buffer][test] add test_area to ut_settings, and avoid checking the tests
with huge coordinate differences on area, because they are meant for
assertion-checks and they might be invalid,
self-intersecting or empty depending on machine and numerical properties.
2017-11-25 13:19:26 +01:00
Barend Gehrels
7ab31cd832 [buffer][test] remove default argument - change order 2017-11-24 22:32:33 +01:00
Barend Gehrels
66dfd90640 Merge branch 'feature/dissolve' into develop 2017-11-24 17:35:09 +01:00
Barend Gehrels
8690837e56 [dissolve][test] run suite for float too 2017-11-24 13:58:56 +01:00
Barend Gehrels
52e26ab6c1 [dissolve] minor, fix line length 2017-11-24 13:32:19 +01:00
Barend Gehrels
bf0ebd31c5 [dissolve][fix] use rescale policy to fix some cases defined as <float> 2017-11-24 13:31:59 +01:00
Barend Gehrels
93862fa638 [dissolve][test] add testcase which was already fixed by one of the
earlier fixes
2017-11-24 12:54:10 +01:00
Barend Gehrels
9c6040f4de [dissolve][test] add comments to testcases, including a possible todo item 2017-11-24 12:31:17 +01:00
Barend Gehrels
13ee521b2f [dissolve][test] add case #dissolve_mail_2017_10_26_c which is fixed by
making sure count_left/count_right are not used
2017-11-24 12:23:03 +01:00
Barend Gehrels
b65b212f99 [dissolve] make sure that for dissolve both startable and selection of
union operation does not make use of counts
2017-11-24 12:21:59 +01:00
Barend Gehrels
66112af890 [dissolve][test] add second testcase which is fixed already
(be it that it generates two points which might be removed)
2017-11-24 12:09:55 +01:00
Barend Gehrels
6b474e536a [dissolve][test] add reported testcase which should generate a hole 2017-11-24 12:02:45 +01:00
Barend Gehrels
e474309feb [dissolve] fix selecting the right turn for traveling to itself
This fixes the reported testcase #dissolve_mail_2017_10_26_a
2017-11-24 12:01:35 +01:00
Barend Gehrels
381e8e8414 Merge branch 'develop' into feature/dissolve 2017-11-24 09:19:26 +01:00
Adam Wulkiewicz
ec4c17ad15 [extensions][test] Fix Boost inspect issues (tabs). 2017-11-24 01:18:59 +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
Barend Gehrels
48c58beb3e Merge branch 'develop' of https://github.com/boostorg/geometry into develop 2017-11-23 23:36:38 +01:00