9452 Commits

Author SHA1 Message Date
Vissarion Fisikopoulos
a58b5a59c2 Merge pull request #1251 from vissarion/fix/test_nan
Fixes compile error in tests and add removed tests for is_simple and is_valid
2024-02-28 13:31:05 +02:00
Barend Gehrels
682994c28a remove alternatives and add for convex hull 2024-02-28 11:17:55 +00:00
Barend Gehrels
aa508bf53a fix boost unit test framework in cmake and add cmake files 2024-02-28 11:17:55 +00:00
Barend Gehrels
1e54b3475f updated cmake files with review hints 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
d76ce3b0c1 Fix numeric_cast namespace in tests 2024-02-28 13:13:02 +02:00
Vissarion Fisikopoulos
bc03fb2305 Add removed tests for is_simple and is_valid with geometries whose coordinates are close to the maximum double 2024-02-28 13:12:55 +02:00
Vissarion Fisikopoulos
68c086110f Merge pull request #1246 from barendgehrels/fix/compiler-errors-converter-base-of
fix compilation of converter and is_base_of
2024-02-26 11:52:10 +02:00
Vissarion Fisikopoulos
fe18b6cb67 Merge pull request #1237 from vissarion/fix/seg_intersection_on_same_point
Fix numerical issue for segments sharing a common point
2024-02-26 11:42:14 +02:00
Barend Gehrels
a31a4e15d6 [util] replace is_base_of by is_multi where applicable 2024-02-25 16:23:15 +00:00
Barend Gehrels
123c920b92 fix compilation of converter and is_base_of
by introducting boost::geometry::detail::numeric_cast
2024-02-25 11:07:45 +00:00
Barend Gehrels
16a7423bfa pass strategy to sort by side 2024-02-24 09:26:27 +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
Vissarion Fisikopoulos
98fdf7144f Merge pull request #1209 from tinko92/fix/convex_hull_robust_side_fp_equals
Use fp_equals comparison in side_strategy for convex_hull.
2024-02-13 11:11:10 +02:00
Vissarion Fisikopoulos
a55b44d0d7 Merge pull request #1227 from arunsathiya/develop
ci: Use GITHUB_OUTPUT envvar instead of set-output command
2024-01-26 08:59:07 +02:00
Arun
b08c580a0b Quote envvar to match documentation 2024-01-22 16:48:27 -08:00
Vissarion Fisikopoulos
3238ac919a Merge pull request #1220 from FantasqueX/fix-msvc-get-distance-measure-test
Fix get_distance_measure test failure using MSVC
2024-01-12 10:54:27 +02:00
Arun
a8827ea3b3 ci: Use GITHUB_OUTPUT envvar instead of set-output command 2023-12-30 11:53:44 -08:00
Letu Ren
a12a36f2ff Fix get_distance_measure test failure using MSVC
Log is listed as follows.
```
Running 1 test case...
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_3 ctype: e tr_side: -1 dm_side: 1
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_4 ctype: e tr_side: -1 dm_side: 1
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_5 ctype: e tr_side: -1 dm_side: 0
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_6 ctype: e tr_side: -1 dm_side: 0
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_7 ctype: e tr_side: -1 dm_side: 0
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_8 ctype: e tr_side: -1 dm_side: 0
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_9 ctype: e tr_side: -1 dm_side: 0
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_10 ctype: e tr_side: -1 dm_side: 0
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_11 ctype: e tr_side: -1 dm_side: 0
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_12 ctype: e tr_side: -1 dm_side: 0

*** 10 failures are detected in the test module "Test Program"
```

The reason is that in MSVC the long double type is identical to the double type. We should treat 64-bit long double as double. Modification to float is made for consistency.
2023-12-08 15:56:34 +08:00
Vissarion Fisikopoulos
fa3623528e Merge pull request #1218 from vissarion/release-notes-1.84
Release notes for 1.84
2023-12-05 15:24:04 +02:00
Vissarion Fisikopoulos
b9737c5a4d Release notes for 1.84 2023-12-04 13:42:11 +02:00
Vissarion Fisikopoulos
17ca646a32 Merge pull request #1204 from tinko92/fix/misc-test-warnings
Fixes for miscellaneous gcc/clang warnings in the test suite.
2023-12-01 15:10:06 +02:00
Vissarion Fisikopoulos
64844cee10 Merge pull request #1205 from tinko92/fix/unused-access-hpp-in-overlay
Remove some access.hpp includes in overlay
2023-12-01 15:03:42 +02:00
Tinko Bartels
1d5330e330 Use fp_equals comparison in side_strategy for convex_hull. 2023-10-17 01:38:50 +08:00
Tinko Bartels
ead9ea07f2 Fixes for miscellaneous gcc/clang warnings in the test suite. 2023-10-06 19:20:16 +08:00
Tinko Bartels
b390a2c0df Clean up unused code in get_turns.hpp 2023-10-04 20:25:23 +08:00
Tinko Bartels
bc45baff0c Move intersection_box_box from overlay to intersection. 2023-10-02 13:57:30 +08:00
Tinko Bartels
7b7b3ebd9e Removed unused includes of access.hpp in overlay. 2023-10-02 13:53:24 +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
5eb6209162 [multi precision] avoid constexpr which is not supported by boost multiprecision 2023-09-29 13:00:34 +02:00
Barend Gehrels
bce027fd92 [fix] rename indices for issue 1169 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
7dd809acd8 [doc] updated comments 2023-09-29 13:00:34 +02:00
Vissarion Fisikopoulos
065674e134 Add missing headers 2023-09-13 20:51:24 +02:00
Yuriy Chernyshov
ac9d88dc3e Replace virtual with override in exception::what() (extensions part) 2023-09-13 20:50:49 +02:00
Yuriy Chernyshov
6a1bc5e514 Replace virtual with override in exception::what() 2023-09-13 20:50:49 +02:00
Yuriy Chernyshov
1c97e9fe34 Use boost::size to allow accessing ring size via range_size method 2023-09-13 20:50:19 +02:00
Barend Gehrels
0ee3d33de5 [test] add unit test for get_distance_measure showing its failures 2023-09-13 20:48:58 +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
5663d76db1 Merge pull request #1194 from awulkiew/fix/centroid_average_warning
[strategies] Fix msvc conversion warning in centroid::average
2023-09-08 13:18:51 +03:00
Vissarion Fisikopoulos
323b2ff91c Merge pull request #1195 from Lastique/feature/use_invoke_swap
Switch to `boost::core::invoke_swap`. Add missing includes.
2023-09-08 13:17:22 +03:00
Vissarion Fisikopoulos
92c7462a8c Merge pull request #1191 from georgthegreat/noexcept
Modernize noexcept specifications
2023-09-08 12:59:01 +03:00
Andrey Semashev
c741907296 Switch to boost::core::invoke_swap. Add missing includes.
boost::swap is deprecated and will be removed. Use boost::core::invoke_swap
as a replacement.

Also add missing includes.
2023-09-03 03:23:51 +03:00
Yuriy Chernyshov
929ca720bf Fix for extensions too 2023-09-01 18:58:18 +03:00
Yuriy Chernyshov
3502521e0a Modernize noexcept specifications 2023-09-01 18:57:00 +03:00