Commit Graph

162 Commits

Author SHA1 Message Date
Vissarion Fisikopoulos
20a463346d Fix deprecated header for floating_point_comparison 2019-11-14 15:42:45 +02:00
Adam Wulkiewicz
84bf7e2f3a Merge pull request #616 from awulkiew/feature/srs_and_shapefile
Improvements of srs transformations and shapefile loading.
2019-10-25 14:16:02 +02:00
Tinko Bartels
97f397672e GSoC acknowledgement, unused parameter removal, simplify type selection in side_robust 2019-10-11 00:44:55 +02:00
Tinko Bartels
a39bf3ff13 Add robust cartesian side and in_circle predicates. 2019-08-23 14:24:56 +02:00
Adam Wulkiewicz
6c1b6a349e [test][shapefile] Add test checking endianness of double in runtime. 2019-08-21 18:56:58 +02:00
Barend Gehrels
6c9a7e0314 Merge pull request #613 from barendgehrels/feature/changes-for-selfturns-and-tests
Feature/changes for selfturns and tests
2019-08-10 15:17:30 +02:00
Adam Wulkiewicz
4a94c7ec52 [meta] Set "boost-version" of extensions and index sublibs to "hidden". 2019-08-06 01:44:34 +02:00
Adam Wulkiewicz
f30578bda5 [meta] Set "status" of extensions and index sublibs to "hidden". 2019-08-05 17:50:17 +02:00
Barend Gehrels
b3686c98e4 [test] Exclude one currently failing testcase 2019-07-17 16:49:38 +02:00
Adam Wulkiewicz
70994a3a32 [doc] Fix redirection in index.html files of sublibs. 2019-04-12 21:03:50 +02:00
Vissarion Fisikopoulos
f8ae5f2173 [extensions] [test]Deactivate old tests (#576) 2019-04-08 10:34:32 +03:00
Adam Wulkiewicz
4f3e66dfaa [meta] Add dummy dirs/files as workaround for sublibs checks in regression matrix. 2019-03-29 22:52:23 +01:00
Adam Wulkiewicz
6af84a3a49 [test] Move tests of extensions headers to extensions/test directory. 2018-11-27 21:17:16 +01: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
Barend Gehrels
4d7b8ce686 [DISSOLVE] Add testcase for reported problem 2018-08-30 13:56:18 +02:00
Barend Gehrels
d0ca69a058 [dissolve/overlay] when adding intersection point, check on collinearity
to avoid adding three points in a row. If these points were already part
of the input, then they are just added as is.
2018-01-26 12:40:35 +01:00
Adam Wulkiewicz
7d2026dd84 Merge branch 'develop' into feature/projections
Conflicts:
	include/boost/geometry/geometry.hpp
	test/Jamfile.v2
2018-01-21 01:51:04 +01:00
Barend Gehrels
a06da3995a [test] add clockwise option to dissolve test - which is not completely
working yet.
2018-01-12 18:08:37 +01:00
Barend Gehrels
38f586eba9 [test] just always do the reversed version, there is no need anymore
to make this optional
2018-01-12 17:33:59 +01:00
Barend Gehrels
4641bacc87 [dissolve/traversal] examine shortcuts over more turns to fix the last reported
cases
2018-01-12 17:29:18 +01:00
Barend Gehrels
29bb764bfc [dissolve][test] enhance debug information by showing positive/negative rings 2018-01-12 16:29:17 +01:00
Barend Gehrels
9f16a17145 [dissolve] add generated rings to output to be able to judge intermediate
results better
2018-01-12 15:29:54 +01:00
Barend Gehrels
65060df2e5 [dissolve] remove redundant ring_type as planned, and rename out_vector
to ring_container_type, as done in overlay
2018-01-12 14:51:46 +01:00
Barend Gehrels
841641c99e [dissolve] fix case where travel information was not correct. 2018-01-12 14:45:39 +01:00
Barend Gehrels
9e494199c6 [dissolve][test] testcase #dissolve_16 is correct now 2018-01-12 14:04:10 +01:00
Barend Gehrels
c828dcf34b [dissolve] handle interior rings as planne. This fixes some of the remaining
issues.
2018-01-12 13:56:50 +01:00
Barend Gehrels
74741357e2 [dissolve] handle rings separately (phase 1) and iterate it in reverse
if the orientation is not correct. Exterior rings only for now, to be
continued.
This fixes all order problems and makes implementation agnostic from
orientation of input. This is reflected in the updated unit test.
2018-01-12 12:27:15 +01:00
Barend Gehrels
2b59d7c867 [dissolve] introduce Reverse to be able to (later) apply dissolve in two directions,
not only to support cw/ccw, but more to only use one version (positive area)
instead of processing cw input which is effectively ccw.
2018-01-12 11:18:25 +01:00
Barend Gehrels
5cf534bd53 [dissolve] fix the reported star cases if they would go in other direction.
In case a turn travels to itself and it is not the start turn, the other
option should be taken (even if one of them is preferred)
2018-01-12 10:11:04 +01:00
Barend Gehrels
377c69d598 [dissolve] update test program to skip the second/third version more conveniently 2018-01-03 18:16:22 +01:00
Barend Gehrels
7a4582a50b [dissolve] update svg creation in unittest 2018-01-03 18:15:10 +01:00
Barend Gehrels
85297586d9 [dissolve] add two derived cases to test program, and update test program 2018-01-03 18:13:56 +01:00
Barend Gehrels
ce41dacdd5 [dissolve] add star-test to dissolve unit test, including adding an optional
reverse operation for test cases
2017-12-14 15:27:21 +01:00
Barend Gehrels
b25596dcf1 [test] remove switch_source from debug-svgs 2017-12-06 12:20:00 +01:00
Barend Gehrels
8690837e56 [dissolve][test] run suite for float too 2017-11-24 13:58:56 +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
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
Adam Wulkiewicz
ec4c17ad15 [extensions][test] Fix Boost inspect issues (tabs). 2017-11-24 01:18:59 +01:00
Adam Wulkiewicz
2bf59e7a17 Merge branch 'develop' into feature/projections 2017-10-31 16:38:59 +01:00
Barend Gehrels
7ccda4bfc5 [test] add testcases for dissolve, some still failing 2017-10-20 16:34:18 +02:00
Barend Gehrels
36e70aa1ce [dissolve] move/partly enable other testcases 2017-10-20 15:14:57 +02:00
Barend Gehrels
8484bcc923 [test] Move and enable acute/obtuse heptagrams which are fixed now 2017-10-20 15:14:02 +02:00
Barend Gehrels
b39b9a319b [dissolve] reject negative child rings of negative parents (the parents
are reversed later), the same way as positive child rings of positive parents
are removed. This fixes the hexagram case and also dissolve_10 (both ccw)
2017-10-20 15:11:19 +02:00
Barend Gehrels
4382d85fb4 [dissolve] add testcase which is derived from (d) but has another spike,
or is horizontal instead of vertical
2017-10-20 12:48:54 +02:00
Barend Gehrels
13a8d13cb6 [dissolve] fix cases where turns were missed because 1) they were on adjacent
segments and 2) vertical segments were not sectionalized properly for this purpose.
2017-10-20 12:48:13 +02:00
Barend Gehrels
aa6778e83c [test] dissolve algorithm cannot use bg::correct, because orientation is
unknown and can be wrong. Orientation should not be reversed. Therefore
correct_closure is split of from correct, and can (should) be used to
close the geometries correctly. Only then some cases of dissolve can be
fixed. bg::dissolve can itself not close the rings by design of the library
(it would require drastic changes)
2017-10-19 16:38:49 +02:00
Adam Wulkiewicz
6598f5af2e Merge branch 'develop' into feature/projections
Conflicts:
	test/formulas/inverse.cpp
2017-10-11 19:57:14 +02:00