571 Commits

Author SHA1 Message Date
Barend Gehrels
aa2162f56b fix: add condition to handle_imperfect_touch
Fixes #1345
2024-11-20 17:20:59 +01:00
Barend Gehrels
d7698b1c8a fix: distinguish turn to discard in case of start turns
Fixes #1342
2024-11-18 18:09:50 +01:00
Barend Gehrels
792428dca4 fix: extra round over ring in #1226 and #1326
This can occur in a sequence of touch and then touch_interior
2024-11-16 08:56:19 +01:00
Vissarion Fisikopoulos
5848f62f05
Merge branch 'develop' into fix/remove_unused 2024-08-09 16:32:44 +03:00
Vissarion Fisikopoulos
a4c05fdfaa Remove BOOST_GEOMETRY_DEBUG_ASSEMBLE 2024-08-09 16:31:37 +03:00
Barend Gehrels
adc9044da2 test: add test cases for issues fixed in next commit 2024-07-30 19:30:16 +02:00
Vissarion Fisikopoulos
dbe4f78dda Remove BOOST_GEOMETRY_RESCALE_TO_ROBUST 2024-05-29 15:38:09 +03:00
Vissarion Fisikopoulos
0a752a6575 Remove BG_IF_RESCALED macro 2024-05-29 15:37:58 +03:00
Vissarion Fisikopoulos
d3ed449e39 Remove rescaling: remove BOOST_GEOMETRY_USE_RESCALING and update BoostGeometryWriteExpectedFailures 2024-05-29 15:34:00 +03:00
Vissarion Fisikopoulos
38051ad095 Remove deprecated rescaling code 2024-05-29 15:29:03 +03:00
Vissarion Fisikopoulos
c02a8f6747 Fix CCW and isolated turns 2024-03-27 11:45:37 +02:00
Barend Gehrels
52fc1f62b3 [test] add cases for issues #1229 #1231 #1244 and some test refactoring 2024-03-13 09:30:47 +00:00
Barend Gehrels
682994c28a remove alternatives and add for convex hull 2024-02-28 11:17:55 +00:00
Barend Gehrels
881ec1574f Add cmake files for clang/mac/darwin/arm64 2024-02-28 11:17:55 +00:00
Vissarion Fisikopoulos
d87bc244db [test] Remove tests using rescaling 2024-02-13 13:38:31 +02:00
Vissarion Fisikopoulos
68a225daff Fix numerical issue for segments sharing a common point 2024-02-13 13:38:26 +02:00
Tinko Bartels
ead9ea07f2 Fixes for miscellaneous gcc/clang warnings in the test suite. 2023-10-06 19:20:16 +08:00
Barend Gehrels
3f5c044abc [fix] include of boost range size 2023-09-29 13:00:34 +02:00
Barend Gehrels
96ba473fa4 placement of const 2023-09-29 13:00:34 +02:00
Barend Gehrels
0237a9d966 [test] add test for issue 1103 2023-09-29 13:00:34 +02:00
Barend Gehrels
4c6b365329 [test] add unit test for issue #1138 which was fixed by eb879fe 2023-09-29 13:00:34 +02:00
Barend Gehrels
eb879fe621 [fix] avoid current get_distance_measure which can make sides indistinguishable 2023-09-13 20:48:58 +02:00
Barend Gehrels
fd209ffbf5 [fix] overlay threshold for sort_by_side
Fixes: issue #1186
2023-09-13 20:29:38 +02:00
Barend Gehrels
88ea9049ff [intersection] remove closing point correctly
* the function (in namespace detail) is split and two parts are renamed on purpose, because functionality is changed
* tests are added
* intersection.cpp split into new file intersection_integer.cpp
* testing point count now if specified
2023-09-13 20:08:21 +02:00
Vissarion Fisikopoulos
2cda943f1a
Merge branch 'develop' into fix/convex_hull_compare_strategies 2023-07-05 15:41:33 +03:00
Adam Wulkiewicz
fa4ff35d6a Fix Visual Studio warnings
- C4100 Unreferenced formal parameter
- C4127 Conditional expression is constant
- C4456 Declaration hides previous local declaration
- C4701 Potentially uninitialized local variable used
- C4702 Unreachable code
2023-07-01 17:58:04 +02:00
Vissarion Fisikopoulos
c1f7a1adbf Pass strategy to compare policy and use exact fp comparison in convex hull 2023-06-16 16:46:18 +03:00
Vissarion Fisikopoulos
6012885253 Remove CXX11/14 related macros 2023-05-23 15:16:08 +03:00
Barend Gehrels
83dab2d98c use auto instead of iterator types, and related 2023-04-23 13:31:00 +02:00
Barend Gehrels
b1bebca453 [union] fix issue 1100 2023-04-19 19:03:16 +02:00
Barend Gehrels
47d29f9f7e restyle enrich intersection points 2023-03-22 11:29:58 +01:00
Barend Gehrels
ec7f9c9887 [union] fix missing interior ring and double traversed exterior ring
fixes: #1109 and #1108
keeps fixed: #1081
2023-02-22 13:34:29 +01:00
Barend Gehrels
a908a21efe [overlay] fix cluster by adapting tolerance
Fixes #1081
2022-11-23 14:20:43 +01:00
Barend Gehrels
75742b0d24 [turn] fix distance measure for equal points
Fixes #1076
2022-11-16 14:00:43 +01:00
Barend Gehrels
455822d6b1 [test] cleanup already succeeding testcases 2022-11-16 14:00:43 +01:00
Vissarion Fisikopoulos
c011ebfb4f
Merge pull request #1015 from vissarion/fix/remove_rescaling_from_set_ops
[tests] Add test case in intersection
2022-07-06 18:30:30 +03: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
ea376ad819 [algorithms][test] Fix remove_duplicate_turns used in L/L setops.
Pass strategy to P/P equality check.

Drop algorithms/equals.hpp dependency from set operations.
2022-06-08 14:53:43 +02:00
Vissarion Fisikopoulos
4e46493031 [test] Add issue 630 as test case 2022-06-08 12:39:29 +03:00
Tinko Bartels
2ee0967344 Allow start for self-turns for difference overlay operations and enable corresponding test case. 2022-06-06 09:24:37 +02:00
Adam Wulkiewicz
fcfaaff17b [test][algorithms] Alter the expected results of union and sym_difference. 2022-06-02 15:41:12 +02:00
Adam Wulkiewicz
c132af9587 [test][algorithms] Add tests for GC in intersection, sym_difference and union. 2022-06-02 15:41:12 +02:00
Barend Gehrels
4960865920 fix compilation error (svg), warnings (unused), style (return), examples and cmake (C++14) 2022-06-01 11:42:20 +02:00
Adam Wulkiewicz
7491d255e6
Merge pull request #997 from awulkiew/feature/gc9
Add support for GeometryCollection in difference()
2022-05-24 16:45:29 +02:00
Adam Wulkiewicz
003fe21d27 [test][difference] Add test case for GC output and non-GC inputs. 2022-05-16 12:52:54 +02:00
Adam Wulkiewicz
2e56818783 [test][difference] Add test cases for difference of GCs. 2022-05-07 16:21:17 +02:00
Adam Wulkiewicz
f80cacc4cb [relate] Refactor relate utilities and implementation.
Implement boundary_checker and follow helpers for geometry collection.
They are commented-out for now because they are not used anywhere.
The code is there in case they were needed in the future.
2022-05-03 14:16:45 +02:00
Barend Gehrels
577de29211 [fix] disjoint and relate with const types 2022-04-13 10:09:53 +02:00
Barend Gehrels
8774b7b2d7 [major change] change the default, disable rescaling by default 2022-02-23 12:49:58 +01:00