Commit Graph

5824 Commits

Author SHA1 Message Date
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
bac0973d28 Fix BOOST_GEOMETRY_CONSTEXPR call in index 2024-03-27 14:20:43 +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
78894ef697 [fix] assign next turn
Fixes issue #1250
2024-03-13 09:29:38 +00:00
Adam Wulkiewicz
8b920254c2 [line_interpolate] Fix infinite loop 2024-03-04 20:22:51 +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
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
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
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
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
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
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
5663d76db1 Merge pull request #1194 from awulkiew/fix/centroid_average_warning
[strategies] Fix msvc conversion warning in centroid::average
2023-09-08 13:18:51 +03:00
Vissarion Fisikopoulos
323b2ff91c Merge pull request #1195 from Lastique/feature/use_invoke_swap
Switch to `boost::core::invoke_swap`. Add missing includes.
2023-09-08 13:17:22 +03:00
Andrey Semashev
c741907296 Switch to boost::core::invoke_swap. Add missing includes.
boost::swap is deprecated and will be removed. Use boost::core::invoke_swap
as a replacement.

Also add missing includes.
2023-09-03 03:23:51 +03:00
Yuriy Chernyshov
929ca720bf Fix for extensions too 2023-09-01 18:58:18 +03:00
Yuriy Chernyshov
3502521e0a Modernize noexcept specifications 2023-09-01 18:57:00 +03:00
Adam Wulkiewicz
f52f1820ab [strategies] Fix msvc conversion warning in centroid::average 2023-09-01 16:20:40 +02:00
Yuriy Chernyshov
871767ef62 Optimize std::string::find performance a bit 2023-08-24 13:19:53 +03:00
Yuriy Chernyshov
30fa56673c Fix -Wunused-parameter warning 2023-08-24 09:10:54 +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
4c65c0d936 [within] Fix special case of segment pole endpoint 2023-07-14 12:19:15 +03:00
Vissarion Fisikopoulos
9bbb8b8a41 Update rescaling deprecation warning message 2023-07-07 13:48:53 +03:00
Vissarion Fisikopoulos
8b7e9d0749 Merge branch 'fix/convex_hull_compare_strategies' of github.com:vissarion/geometry into fix/convex_hull_compare_strategies 2023-07-06 16:27:13 +03:00
Vissarion Fisikopoulos
f719a26b44 Pass equals policy to strategies from less policy 2023-07-06 16:26:26 +03:00