3416 Commits

Author SHA1 Message Date
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
Yuriy Chernyshov
3502521e0a Modernize noexcept specifications 2023-09-01 18:57:00 +03: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
Vissarion Fisikopoulos
6cf09dc70c Merge branch 'develop' of github.com:boostorg/geometry into fix/convex_hull_compare_strategies 2023-06-16 16:46:29 +03:00
Vissarion Fisikopoulos
c1f7a1adbf Pass strategy to compare policy and use exact fp comparison in convex hull 2023-06-16 16:46:18 +03:00
Barend Gehrels
04796496c6 [test] change boost random to std random in robustness tests 2023-06-10 13:56:26 +02:00
Vissarion Fisikopoulos
c479ca194e
Merge pull request #1152 from vissarion/fix/cxx11_macros
Remove CXX11/14 related macros
2023-05-25 14:37:17 +03:00
Vissarion Fisikopoulos
6012885253 Remove CXX11/14 related macros 2023-05-23 15:16:08 +03:00
Vissarion Fisikopoulos
e2f0e579b8 [test] Remove trailing whitespaces in envelope_expand 2023-05-22 16:45:27 +03:00
Vissarion Fisikopoulos
bd2709766f [test] Relaxing envelope test due to invalid box computation 2023-05-22 16:43:14 +03:00
Vissarion Fisikopoulos
4b1073ce2e [test] Add missing includes 2023-05-17 17:30:59 +03:00
Adam Wulkiewicz
4bae6ef471 [test] Add missing includes 2023-05-17 14:53:01 +02:00
Adam Wulkiewicz
d697d1e9c4 [test] Fix signed/unsigned comparison warnings 2023-05-17 13:00:15 +02:00
Barend Gehrels
a8bd9a0b0d [partition] minor changes and added robustness test 2023-05-08 20:31:50 +02:00
Barend Gehrels
03489caa55 [fix] support different geometry types
This fixes #1139 , and more required code changes.

Including unit test.
2023-05-08 20:31:01 +02:00
Barend Gehrels
ee83f57f59 [test] add custom, non copiable, non indexable geometries 2023-04-23 13:31:00 +02:00
Barend Gehrels
83dab2d98c use auto instead of iterator types, and related 2023-04-23 13:31:00 +02:00
Barend Gehrels
b1bebca453 [union] fix issue 1100 2023-04-19 19:03:16 +02:00
Vissarion Fisikopoulos
a1ecf6a511
Merge pull request #1120 from vissarion/fix/buffer_tests
Fix buffer tests by using more accurate area computation
2023-03-31 10:51:24 +03:00
Barend Gehrels
47d29f9f7e restyle enrich intersection points 2023-03-22 11:29:58 +01:00
Vissarion Fisikopoulos
792fbf9761 Remove trailing whitespaces in buffer tests 2023-03-17 15:22:38 +02:00
Vissarion Fisikopoulos
4a6c2b0169 Fix buffer tests by using more accurate area computation 2023-03-17 15:20:38 +02:00
Barend Gehrels
ec7f9c9887 [union] fix missing interior ring and double traversed exterior ring
fixes: #1109 and #1108
keeps fixed: #1081
2023-02-22 13:34:29 +01:00
Barend Gehrels
f92671b933 [wkt] support tabs, newlines and code cleanup 2023-01-04 10:57:15 +01:00
Barend Gehrels
6a7224e369 [buffer] add spheroid to buffer strategies as an optional constructor parameter 2022-12-27 12:57:57 +01:00
Barend Gehrels
a908a21efe [overlay] fix cluster by adapting tolerance
Fixes #1081
2022-11-23 14:20:43 +01:00
Vissarion Fisikopoulos
e933682d1c
Merge pull request #1091 from vissarion/fix/custom_point_issue
Fix mutable point issue and typos in boundary_checker.
2022-11-16 16:09:32 +02:00
Vissarion Fisikopoulos
c26217e810 Add test with custom points. 2022-11-16 15:48:01 +02:00
Vissarion Fisikopoulos
7596f674ab
Merge pull request #1074 from vissarion/feature/fix_area_special_case_clean
Fix special case of area for segments that pass through a pole.
2022-11-16 15:05:20 +02:00
Vissarion Fisikopoulos
1663d2bb0b
Merge pull request #1087 from vissarion/fix/kanrey_direct_units2
Make all direct formulas consistent
2022-11-16 15:04:55 +02:00
Barend Gehrels
75742b0d24 [turn] fix distance measure for equal points
Fixes #1076
2022-11-16 14:00:43 +01:00
Barend Gehrels
455822d6b1 [test] cleanup already succeeding testcases 2022-11-16 14:00:43 +01:00
Barend Gehrels
fcb992de6c [test] add case for issue #1084 2022-11-16 14:00:43 +01:00
Vissarion Fisikopoulos
7aa8e54a10 Simplify conversion to/from radians in direct formula tests. 2022-11-11 13:04:43 +02:00
Vissarion Fisikopoulos
e14fe0530c Make all direct formulas consistent for input and output (all in radians) 2022-11-09 16:44:18 +02:00
Barend Gehrels
09d135464b [buffer] harmonize number of points 2022-11-09 11:46:34 +01:00
Vissarion Fisikopoulos
465024b157 [area] [test] Add test cases for segments passing through the south pole. 2022-10-21 18:43:29 +03:00
Vissarion Fisikopoulos
863e94382c [area] [test] Add test cases with segments passing through the pole. 2022-10-21 17:31:21 +03:00
Vissarion Fisikopoulos
938f6f6bc1
Merge pull request #1046 from vissarion/feature/covered_by_box_mpoly
Support covered_by() for box, geometry combinations
2022-10-13 14:40:33 +03:00
Barend Gehrels
ba23318b1d [buffer] add testcases for (multi) polygon buffer for geographic 2022-10-13 09:40:10 +02:00
Barend Gehrels
475684732c buffer: add end round and join miter 2022-10-12 11:59:48 +02:00
Barend Gehrels
b18db001b8 [test] add optional csv output to view buffer test cases in qgis 2022-09-09 09:54:56 +02:00
Barend Gehrels
49004c5ddd [buffer] add join_round and side_straight for geographic
Including tests and testcode
2022-08-03 11:19:11 +02:00