2559 Commits

Author SHA1 Message Date
Vissarion Fisikopoulos
5c78d6714c [test] Add test case for goegrphic intersection for polygons touching North Pole 2024-10-03 12:12:26 +03:00
Barend Gehrels
81cc9d635f feat: deprecate duplicate unused strategy distance_projected_point_ax 2024-08-20 21:57:26 +02:00
Vissarion Fisikopoulos
0b4aa21839
Merge pull request #1300 from barendgehrels/fix/issue-1293-1294-1295
traverse first through non clustered turns, remove cluster exits, make priority consistent
2024-08-08 16:24:59 +03:00
Barend Gehrels
9cff67b90b fix: remove remaining policies 2024-07-31 17:03:51 +02:00
Barend Gehrels
adc9044da2 test: add test cases for issues fixed in next commit 2024-07-30 19:30:16 +02:00
Vissarion Fisikopoulos
7785bd6771
Merge pull request #1283 from vissarion/fix/covered_by_multiple_poles
Fix covered_by incorrect results
2024-07-24 16:44:42 +03:00
Vissarion Fisikopoulos
aa840ec555 [test] Test case for polygon with multiple points representing South pole 2024-05-30 12:07:55 +03: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
Barend Gehrels
69588ff2bf [test] add cmake lists for 143 algorithms 2024-05-21 19:45:31 +02:00
Barend Gehrels
b8ac50f1c7 test: add test case for issue #1262 2024-04-01 18:03:26 +02: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
40712c0bc2 Add missing headers for is_inverse_spheroidal_coordinates function 2024-03-28 16:18:13 +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
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
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
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
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
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
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
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
efec40628b
Merge pull request #1162 from vissarion/fix/convex_hull_compare_strategies
Fix convex hull issue by passing compare strategies
2023-07-28 11:38:21 +03:00
Vissarion Fisikopoulos
0ecc1263c7
Merge pull request #1177 from vissarion/fix/within_segment_pole
[within] Fix the case when a segment has as an endpoint a pole
2023-07-27 15:03:27 +03:00
Vissarion Fisikopoulos
7c8c60625c
Add missing headers so that all headers compile independently (#1154)
* Add missing headers so all header files compile independently

* Add github actions script to check if all headers compile independently

* Remove unused headers from algorithms (not detail) and core and fix headers in tests

* Fix typo in headers.yml and missing header in srs
2023-07-25 22:56:12 +03:00
Vissarion Fisikopoulos
3b44904c80 [test] Move tests from within to covered_by 2023-07-14 16:01:20 +03:00
Vissarion Fisikopoulos
4c65c0d936 [within] Fix special case of segment pole endpoint 2023-07-14 12:19:15 +03:00
Vissarion Fisikopoulos
2cda943f1a
Merge branch 'develop' into fix/convex_hull_compare_strategies 2023-07-05 15:41:33 +03:00
Adam Wulkiewicz
b6a7349125
Merge pull request #1160 from awulkiew/fix/vs_warnings
Fix Visual Studio warnings
2023-07-01 18:10:43 +02: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