2569 Commits

Author SHA1 Message Date
Barend Gehrels
b98ea78b25 chore: modernize ring and related types to ring_t and related 2024-11-04 19:32:20 +01:00
Barend Gehrels
60ad3bdd6f chore: replace typename coordinate_system with coordinate_system_t and add detail meta function coordinate_system_unit 2024-11-01 19:35:05 +01:00
Barend Gehrels
7d4c687fd8 chore: replace typename tag / cs_tag with tag_t / cs_tag_t 2024-10-31 20:04:30 +01:00
Barend Gehrels
08a71cf124 chore: change coordinate_type to coordinate_type_t and use 'using' at those places 2024-10-30 14:24:54 +01:00
Barend Gehrels
19f22c2475 chore: change point_type to point_type_t and use 'using' at those places 2024-10-21 15:47:38 +02:00
Barend Gehrels
8d2d399746 feat: use tag_cast_t more and extract primary_single_tag 2024-10-09 17:34:41 +02:00
Vissarion Fisikopoulos
1ca9ac0bc3
Merge pull request #1320 from vissarion/add_test_cases
[test] Add test case for goegrphic intersection for polygons touching North Pole
2024-10-03 12:14:08 +03:00
Vissarion Fisikopoulos
5c78d6714c [test] Add test case for goegrphic intersection for polygons touching North Pole 2024-10-03 12:12:26 +03:00
Vissarion Fisikopoulos
26fb3e5698
Merge pull request #1296 from vissarion/fix/remove_unused
Some simplifications
2024-09-30 11:58:38 +03:00
Barend Gehrels
81cc9d635f feat: deprecate duplicate unused strategy distance_projected_point_ax 2024-08-20 21:57:26 +02: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
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