Commit Graph

9262 Commits

Author SHA1 Message Date
Barend Gehrels d9eface3e8 [util] move bounds to geometry::util 2024-03-26 18:18:21 +01:00
Barend Gehrels 993b36515c [fix] replace decltype by typename for some compilers 2024-03-26 18:17:55 +01:00
Barend Gehrels 425263e166 remove unused source and deprecate many 2024-03-22 17:51:55 +00: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 78894ef697 [fix] assign next turn
Fixes issue #1250
2024-03-13 09:29:38 +00:00
Vissarion Fisikopoulos 29a209d329
Merge pull request #1257 from awulkiew/fix/constexpr_line_interpolate
[line_interpolate] Fix infinite loop
2024-03-05 11:15:52 +02:00
Adam Wulkiewicz 8b920254c2 [line_interpolate] Fix infinite loop 2024-03-04 20:22:51 +01:00
Adam Wulkiewicz 88d0076ba8
Merge pull request #1247 from awulkiew/feature/constexpr
Use if constexpr macro instead of condition macro.
2024-02-29 22:58:35 +01:00
Adam Wulkiewicz cb2f53d9d9 Use if constexpr macro instead of condition macro 2024-02-29 21:53:09 +01:00
Barend Gehrels acaed28f12 fix: set turns in closed clusters as non traversable 2024-02-28 16:34:05 +00:00
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