Commit Graph

8674 Commits

Author SHA1 Message Date
Vissarion Fisikopoulos
fb9b1d40ff Replace side_by_triangle with side_robust 2021-06-30 13:00:21 +03:00
Barend Gehrels
174c380da2 [traverse] modernize code and add documentation, make clusters const 2021-06-30 10:24:29 +02:00
Barend Gehrels
40c6544a9b [test] add cases for issues #869 and #861 2021-06-23 10:17:54 +02:00
Adam Wulkiewicz
6cc847be63 Merge pull request #866 from awulkiew/fix/rtree_serialization
Fix rtree serialization load for 1-level tree with number of elements lesser than min.
2021-06-18 11:52:41 +02:00
Adam Wulkiewicz
d1be5614fe [index] Fix rtree serialization load for 1-level tree with number of elements lesser than min. 2021-06-11 13:29:17 +02:00
Adam Wulkiewicz
14aa054593 [ci] Run one test of disjoint and buffer at a time to avoid errors. 2021-06-03 17:25:19 +02:00
Adam Wulkiewicz
e1571b3083 Merge pull request #850 from awulkiew/feature/gc
Add DynamicGeometry and GeometryCollection.
2021-06-03 16:14:50 +02:00
Adam Wulkiewicz
c9edabe0f7 [test][disjoint] Add cases for DG and GC with explicitly defined strategies. 2021-06-03 16:03:51 +02:00
Adam Wulkiewicz
bac1e432ae [append] Replace typedefs with using. 2021-06-03 16:03:06 +02:00
Adam Wulkiewicz
b1b29ec41d [clear] Add support for GeometryCollection in clear(). 2021-06-02 22:48:20 +02:00
Adam Wulkiewicz
620e02f4b6 Check all subgeometry types in DG and GC concept checks. 2021-06-02 22:29:39 +02:00
Adam Wulkiewicz
fd32e7b88e Replace typedef with using in trait specializations for DGs and GC.
Add missing curly braces.
Remove unneeded comments.
2021-06-02 14:07:43 +02:00
Adam Wulkiewicz
4c84757d68 Merge branch 'develop' into feature/gc 2021-06-02 13:54:10 +02:00
Adam Wulkiewicz
8e3785ed67 Merge pull request #855 from awulkiew/feature/strategies_improvements
Umbrella strategies improvements
2021-06-02 13:40:15 +02:00
Adam Wulkiewicz
3f0087a861 [length] Add TODO comment. 2021-06-02 13:39:12 +02:00
Barend Gehrels
e22bf290b1 [test] changes in recursive polygons buffer test 2021-06-02 11:46:31 +02:00
Barend Gehrels
1d4b2e5df2 [test] adapt testcases and / or expectations 2021-06-02 11:46:31 +02:00
Barend Gehrels
798726a542 [overlay] fix cluster order 2021-06-02 11:46:31 +02:00
Adam Wulkiewicz
e966bdd370 [length] Add support for DynamicGeometry and GeometryCollection in length(). 2021-06-02 01:30:18 +02:00
Adam Wulkiewicz
7adb72e81a Support Boost.Variant with disabled variadic templates regardless of the compiler.
Variadic templates can be disabled in Boost.Variant by defining
BOOST_VARIANT_DO_NOT_USE_VARIADIC_TEMPLATES.

Also support DG and GC in:
- comparable_distance_result
- default_length_result
- distance_result
2021-06-01 15:22:47 +02:00
Adam Wulkiewicz
ef89b4cf55 [concepts] Implement DynamicGeometry and GeometryCollection concepts.
Add concepts::concept_type<> utility for generic concept definitions.

Replace tag dispatching in concepts::check() with
concepts::concept_type<>.
2021-05-30 17:11:57 +02:00
Adam Wulkiewicz
a8db9241f2 [io] Bring back support of proxy interior rings (e.g. Boost.Polygon) in wkt read. 2021-05-30 01:25:23 +02:00
Adam Wulkiewicz
9849f23b5c Add DynamicGeometry adaptation for std::any. 2021-05-29 23:09:12 +02:00
Adam Wulkiewicz
6e71295d64 Add DynamicGeometry adaptation for std::variant. 2021-05-28 18:36:39 +02:00
Adam Wulkiewicz
d690364aa0 Reenable 2-argument visit specializations (disabled for test purposes). 2021-05-28 18:35:08 +02:00
Adam Wulkiewicz
251f7d15e0 Move algorithms/visit.hpp to algorithms/detail/visit.hpp 2021-05-28 17:30:26 +02:00
Adam Wulkiewicz
c7ae87d15c Merge branch 'develop' into feature/gc 2021-05-28 17:09:11 +02:00
Adam Wulkiewicz
d523cb9989 Minor changes related to DG and GC support.
Remove unneeded comments.
Replace typedef with using.
Change names and formatting.
2021-05-28 17:07:57 +02:00
Peter Dimov
f39365963a Add CMakeLists.txt 2021-05-28 05:27:47 +03:00
Adam Wulkiewicz
0da9625973 Merge pull request #841 from Siddharth-coder13/doc
Fixed ring concept non-existent header file
2021-05-28 01:59:06 +02:00
Adam Wulkiewicz
667471e5ed Improve visit traits and algorithms.
Add support for rvalue references in visit traits and algorithms.
Move visit algorithms to detail namespace.
Rename visit_iterator trait to iter_visit.
Add tests for visit traits and algorithms.
Remove unneeded comments.
2021-05-28 01:48:26 +02:00
Vissarion Fisikopoulos
5702548348 Add missing cases for geographic segment-box disjoint (#853) 2021-05-26 10:49:06 +03:00
Adam Wulkiewicz
6eb2c28ac7 Merge pull request #854 from vissarion/fix/line_interpolate
Update line_interpolate tests
2021-05-25 12:18:18 +02:00
Vissarion Fisikopoulos
cade8d6ba6 Make line innterpolate tests more robust 2021-05-25 10:51:35 +03:00
Adam Wulkiewicz
b90a3116a5 [algorithms] Include default strategies with corresponding algorithms. 2021-05-24 21:30:32 +02:00
Adam Wulkiewicz
dda2898215 [is_convex] Add support for Polygons. 2021-05-24 21:30:32 +02:00
Adam Wulkiewicz
e06f6e6cdf [is_convex] Add support for umbrella strategies. 2021-05-24 21:30:32 +02:00
Adam Wulkiewicz
94353d9f15 [strategies] Remove strategy getters from legacy strategies. 2021-05-24 21:30:32 +02:00
Adam Wulkiewicz
ec3b3b5de2 [strategies] Remove SeriesOrder from umbrella strategies and improve the implementation.
Use custom versions of enable_if for distance() getters.
Use default keyword in default ctors.
Remove unneeded strategy_converter specialization.
2021-05-24 21:30:32 +02:00
Adam Wulkiewicz
c6c8ab8c9c [is_simple][is_valid] Pass umbrella strategy into equals_point_point. 2021-05-24 21:30:32 +02:00
Adam Wulkiewicz
3157ddfe7d [ci] Fix minimal test compilation error with clang-9 at GitHub. 2021-05-24 21:07:23 +02:00
Vissarion Fisikopoulos
00f8c5a2bf Update line_interpolate tests 2021-05-24 17:51:08 +03:00
Adam Wulkiewicz
83f18e8d8d [test] Add missing include in approximately_equals test. 2021-05-21 19:06:44 +02:00
Adam Wulkiewicz
b858969108 Merge pull request #840 from awulkiew/feature/strategies_rest
Umbrella strategies for various algorithms.
2021-05-21 16:55:45 +02:00
Adam Wulkiewicz
a5c8258d56 [io] Add support for GeometryCollection in WKT read and write. 2021-05-21 02:00:45 +02:00
Adam Wulkiewicz
a1ccbcdea7 [io][util] Add support for DynamicGeometry in read_wkt()
Replace variant support in wkt write.
Add util::sequence_find_if.
2021-05-20 00:42:04 +02:00
Barend Gehrels
10142a6703 [turns] have all discarding of start_turns in one place and clean up clusters before assigning 2021-05-19 09:27:44 +02:00
Barend Gehrels
1a3f425583 [geographic] avoid compiler warnings 2021-05-19 09:16:56 +02:00
Barend Gehrels
0b36bbe550 [turns] avoid compiler warning, issue #834 2021-05-19 09:16:56 +02:00
Adam Wulkiewicz
52c2723ef3 [algorithms] Reimplement variant support using DynamicGeometry concept in several algorithms.
Also add basic support for GeometryCollection.
2021-05-19 01:11:43 +02:00