9427 Commits

Author SHA1 Message Date
Barend Gehrels
1f8b6e02ec Add enumerate to prepare for 17 and 23 2024-04-24 15:56:20 +02:00
Adam Wulkiewicz
f079580d43 [strategies] Fix spherical closest_points strategy for PointOfSegment different than model::point 2024-04-05 22:41:59 +02:00
Vissarion Fisikopoulos
713fe69938
Merge pull request #1270 from vissarion/release_notes_1_85
Release notes for 1.85
2024-04-02 09:15:42 +03:00
Barend Gehrels
b8ac50f1c7 test: add test case for issue #1262 2024-04-01 18:03:26 +02:00
Vissarion Fisikopoulos
ec9542d4ef Release notes for 1.85 2024-04-01 14:20:18 +03:00
Vissarion Fisikopoulos
e9494279c7
Merge pull request #1263 from vissarion/fix/invalid_setops
Fix CCW and isolated turns
2024-04-01 12:56:30 +03:00
Vissarion Fisikopoulos
38ba463284
Merge pull request #1268 from vissarion/fix/constexpr_index
Fix BOOST_GEOMETRY_CONSTEXPR call in index (including support for c++17)
2024-04-01 12:56:14 +03:00
Vissarion Fisikopoulos
bfa6d4ac86 Merge branch 'develop' into fix/constexpr_index 2024-03-29 10:45:23 +02:00
Vissarion Fisikopoulos
f8e440de93
Merge pull request #1267 from vissarion/fix/missing_headers
Add missing headers for is_inverse_spheroidal_coordinates function
2024-03-29 10:43:51 +02:00
Vissarion Fisikopoulos
7c4879b55a Fix BOOST_GEOMETRY_CONSTEXPR call in index (including support for c++17) 2024-03-29 10:41:47 +02:00
Vissarion Fisikopoulos
40712c0bc2 Add missing headers for is_inverse_spheroidal_coordinates function 2024-03-28 16:18:13 +02:00
Vissarion Fisikopoulos
6a7d340932
Merge pull request #1265 from vissarion/fix/index_constexpr_err
Fix BOOST_GEOMETRY_CONSTEXPR call in index
2024-03-28 13:03:11 +02:00
Vissarion Fisikopoulos
bac0973d28 Fix BOOST_GEOMETRY_CONSTEXPR call in index 2024-03-27 14:20:43 +02:00
Vissarion Fisikopoulos
c02a8f6747 Fix CCW and isolated turns 2024-03-27 11:45:37 +02:00
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
Adam Wulkiewicz
51cf51a25d Add alias templates for core and util traits
Add C++17 variable templates for traits behind #ifdef

Use aliases in several algorithms
2024-03-06 23:53:03 +01: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