Commit Graph

5860 Commits

Author SHA1 Message Date
Vissarion Fisikopoulos
e63d71d396 Make all direct formulas consistent for input and output (all in radians) 2022-11-23 11:52:25 +02:00
Barend Gehrels
0154d4acac [turn] fix distance measure for equal points
Fixes #1076
2022-11-23 11:51:54 +02:00
Vissarion Fisikopoulos
080168068c Make some variables in math utilities const. 2022-11-23 11:40:04 +02:00
Vissarion Fisikopoulos
b6b496f138 Remove unused count variables in intersection points. 2022-11-23 11:39:54 +02:00
Vissarion Fisikopoulos
43f8a63a55 Fix implicit convertion warning. 2022-11-23 11:39:46 +02:00
stefan301
83216bb634 Fix c++20 compilation errors related to conditional expression with int and floating_point_type
A floating_point_type with implicit conversions can lead to this C++20 compilation error:

boost\boost\geometry\algorithms\detail\overlay\get_turn_info.hpp(233,1): error C2445: result type of conditional expression is ambiguous: types '<floating_point_type>' and 'int' can be converted to multiple common types
2022-11-23 11:39:03 +02:00
Adam Wulkiewicz
ca14e7840f Merge branch 'develop' 2022-08-03 10:12:49 +02:00
Adam Wulkiewicz
379f0c364a [index] Fix and improve rtree experimental features
Fix access specifier preventing use of experimental iterators.
Allow more granular control over enabled experimental features.
2022-07-19 22:56:05 +02:00
Barend Gehrels
070e3517c4 fix compiler error, addresses issue #1012 2022-07-13 14:38:53 +02:00
Adam Wulkiewicz
947dca1562 [index] Fix msvc warning and refactor the code 2022-07-09 20:44:21 +02:00
Adam Wulkiewicz
4241b6a777 [area] Fix box area return type 2022-07-09 20:34:39 +02:00
Adam Wulkiewicz
cd46e228a3 [projections] Fix compilation errors in pj_generic_inverse and add namespaces 2022-07-09 20:34:07 +02:00
Adam Wulkiewicz
7ced0ca03e Merge branch 'develop' into bg-prepare 2022-07-06 13:57:22 +02:00
Adam Wulkiewicz
b6f0bbd389 Merge pull request #1030 from awulkiew/fix/buffer
[buffer] Use output_point_type with helper geometries instead of model::point
2022-07-06 13:56:24 +02:00
Adam Wulkiewicz
89f01bf44b Merge pull request #1029 from awulkiew/fix/touches
Fix compilation of touches for geometry collections with gcc-10
2022-07-06 13:56:10 +02:00
Barend Gehrels
1837ddc7f1 [buffer] fix for integer overflow 2022-07-06 08:24:11 +02:00
Adam Wulkiewicz
afa220b1ec [buffer] Use output_point_type with helper geometries instead of model::point
This fixes compilation errors when output point type is different.
2022-07-02 17:22:23 +02:00
Adam Wulkiewicz
4edce6d99d [relate] Remove unused variable 2022-07-02 01:13:25 +02:00
Adam Wulkiewicz
aec94ce79c [relate][touches] Fix -1 to size_t template argument conversion of topological dimension
GC's topological dimension -1 was converted to size_t in static_mask_touches.

Furthermore now relate is not calculated for GCs holding only PointLike geometries.
2022-07-02 01:03:04 +02:00
Adam Wulkiewicz
fbcff8b708 Merge branch 'develop' into bg-prepare 2022-06-30 01:45:02 +02:00
Adam Wulkiewicz
756412ae0f [intersection] Add template keywords in static member function template calls 2022-06-30 01:44:16 +02:00
Adam Wulkiewicz
16232f4968 Merge branch 'develop' into bg-prepare 2022-06-29 23:36:07 +02:00
Adam Wulkiewicz
6402c9d043 Merge pull request #1027 from awulkiew/feature/buffer
Allow const inputs in buffer()
2022-06-29 22:55:01 +02:00
Adam Wulkiewicz
d8d6162404 Merge pull request #1024 from awulkiew/feature/simplify
Allow different input and output types in simplify
2022-06-29 22:54:34 +02:00
Adam Wulkiewicz
12530bf62f Merge pull request #1017 from awulkiew/feature/gc12
Add support for GC and DG in buffer().
2022-06-29 22:53:27 +02:00
Adam Wulkiewicz
369f996555 [buffer] Add/fix comments 2022-06-29 22:51:52 +02:00
Adam Wulkiewicz
2bd3ddf442 [crosses] Add const keywords 2022-06-29 22:32:10 +02:00
Adam Wulkiewicz
838f276815 Merge branch 'develop' into feature/gc11 2022-06-29 22:28:43 +02:00
Adam Wulkiewicz
b6a367596a Merge pull request #1011 from awulkiew/feature/gc10
Add support for GC in intersection, sym_difference and union.
2022-06-29 22:11:46 +02:00
Adam Wulkiewicz
c730b27e23 [intersection] Rename functions add const keywords 2022-06-29 22:05:55 +02:00
Adam Wulkiewicz
c986f45977 Merge branch 'develop' into bg-prepare 2022-06-29 21:41:20 +02:00
Barend Gehrels
2462357198 [buffer] remove close_to_offset and min_distance, add edge_min_fraction 2022-06-29 11:57:24 +02:00
Barend Gehrels
9f33365496 [buffer] add empty side type 2022-06-29 11:57:24 +02:00
Barend Gehrels
e5613cb8ad [buffer] fix min distance boundary which should not have been used without rescaling
This fixes issue #988
2022-06-29 11:57:24 +02:00
Adam Wulkiewicz
09f5bc64a1 [buffer] Allow const inputs and fix empty check 2022-06-28 15:59:42 +02:00
Adam Wulkiewicz
01d5066d16 [geometries] Add helper linestring and ring 2022-06-28 15:58:59 +02:00
Adam Wulkiewicz
cfdf045101 [intersection][union] Replace typedef with using, fix formatting 2022-06-25 01:09:37 +02:00
Adam Wulkiewicz
5c840aa7de [simplify] Add missing template keyword 2022-06-25 00:47:22 +02:00
Adam Wulkiewicz
6a6dba760a [simplify] Allow different input and output geometries
Update comments
2022-06-25 00:37:27 +02:00
Vissarion Fisikopoulos
6d57aedf7f Merge pull request #1013 from tinko92/fix/overlay-identical-branches
Fixes warning with -Wduplicated-branches in overlay for union (issue #443).
2022-06-23 13:57:11 +03:00
Barend Gehrels
88a0d710aa [side] added side_rounded_input and unit test 2022-06-22 11:14:59 +02:00
Adam Wulkiewicz
5cbd49df8f [buffer] Remove shadowing template parameters 2022-06-14 23:23:21 +02:00
Adam Wulkiewicz
bd24df98ef [buffer] Add support for GC 2022-06-14 22:55:53 +02:00
Adam Wulkiewicz
2d12cfc987 [buffer] Refactor buffer interface.
Add DG support for buffer version taking all of the parameters.
Divide buffer.hpp into interface and implementation parts.
Move implementation to dispatch namespace.
Expect geometry as output (POTENTIALLY BREAKING).
Use bg::clear() to clear output geometry instead of member function
clear() (POTENTIALLY BREAKING).
Check concept for output geometry instead value_type (POTENTIALLY
BREAKING).
2022-06-14 22:04:52 +02:00
Adam Wulkiewicz
ad619be0df [buffer] Add support for DG 2022-06-14 20:46:36 +02:00
Adam Wulkiewicz
2fb17a14ab [relate] Fix yet another special case and add optimization
Add result handler wrapper forcing the A/A algorithm to set II, IE and
EI parts of the result.

Implement breaking mechanism in gc_group_elements.
2022-06-14 18:12:19 +02:00
Adam Wulkiewicz
e0cbdd2ab7 [relate] Fix relate for other special cases 2022-06-14 00:50:42 +02:00
Adam Wulkiewicz
6f8868348c [relate] Fix special case
Pass boundary checkers of original multilinestrings to preserve
boundaries after dividing.
2022-06-10 01:46:10 +02:00
Adam Wulkiewicz
75e5b4d625 [relation] Add support for DG 2022-06-09 15:54:09 +02:00
Adam Wulkiewicz
7dc4ef539d [touches] Add support for GC 2022-06-09 13:49:57 +02:00