Commit Graph

5766 Commits

Author SHA1 Message Date
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
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
568179a9c0 Merge branch 'develop' of github.com:boostorg/geometry into fix/whitespaces 2023-05-23 10:28:05 +03:00
Vissarion Fisikopoulos
ab5e61d6eb Declare move ctor as defaul to avoid ambiguous call errors (also declare as default the move assignment operator) 2023-05-17 17:30:50 +03:00
Adam Wulkiewicz
20fc428bf3 [buffer] Fix compilation error with gcc-6
Use this keyword explicitly when calling member function in lambda.
2023-05-17 14:39:30 +02:00
Adam Wulkiewicz
2cffbef040 [index] Remove Boost.Move and Boost.Preprocessor emulation of move semantics and variadic templates 2023-05-16 11:47:57 +02:00
Adam Wulkiewicz
7071251a4f Merge pull request #1140 from awulkiew/feature/dependencies
Drop dependencies, replace boost with std, remove includes
2023-05-16 10:44:31 +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
Adam Wulkiewicz
6cca7094c4 [extensions] Drop Boost.SharedPtr dependency 2023-04-24 18:01:54 +02:00
Adam Wulkiewicz
092ab9da34 Drop dependencies, replace boost with std, remove includes
Drop Boost.SmartPtr dependency
Drop Boost.Utility (Call Traits) dependency
Replace boost::array with std::array
Replace boost::minmax_element with std::minmax_element
Remove unneeded headers of Boost.Tuple and Boost.Algorithm
Include specific headers from Boost.StringAlgo and Boost.Thread
Use auto for iterator types
2023-04-24 18:01:31 +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
Barend Gehrels
47d29f9f7e restyle enrich intersection points 2023-03-22 11:29:58 +01:00
Vissarion Fisikopoulos
dfcbb75602 Merge pull request #1113 from barendgehrels/issue-1108-fix-interior-ring-for-union
[union] fix missing interior ring and double traversed exterior ring
2023-03-07 17:23:33 +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
Adam Wulkiewicz
e09baa4320 [comparable_distance] Add support for dynamic geometries 2023-02-18 20:16:30 +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
Vissarion Fisikopoulos
eb38231d36 Remove trailing whitespaces from include and index directories 2022-12-07 15:53:21 +02:00
Vissarion Fisikopoulos
cb857743e4 Merge pull request #1096 from vissarion/fix/doc_concepts
Fix concept documentation
2022-12-01 11:06:31 +02:00
Vissarion Fisikopoulos
a8f06d635e Merge pull request #1080 from awulkiew/fix/bounded_indexable
[index] Fix dangling references when Indexable is returned by value by IndexableGetter.
2022-12-01 11:04:46 +02:00
Barend Gehrels
a908a21efe [overlay] fix cluster by adapting tolerance
Fixes #1081
2022-11-23 14:20:43 +01:00
Vissarion Fisikopoulos
25fb8b3a1d Remove unused concept documentation. 2022-11-17 17:02:53 +02: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
f046734780 Merge pull request #1083 from haubenmi/fix-missing-include
Fix a missing include for using boost::is_base_of
2022-11-16 15:05:51 +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
Vissarion Fisikopoulos
a5d94e57ce Add comment for comparison with == in area formulas. 2022-11-16 13:24:21 +02:00
Vissarion Fisikopoulos
b510c3ee74 Declare variables const in area formulas. 2022-11-16 13:23:20 +02:00
Vissarion Fisikopoulos
9a4335a57d Fix style in karney direct formula. 2022-11-14 10:47:55 +02:00
Vissarion Fisikopoulos
b2c3b9721e Fix mutable point issues and typos in boundary_checker. 2022-11-11 17:57:46 +02:00
Vissarion Fisikopoulos
d24c857e62 Simplifications in karney direct formulas. 2022-11-11 13:55:29 +02:00
Vissarion Fisikopoulos
e0f74e40ba Update copyright comments. 2022-11-11 13:09:19 +02:00
Michael Haubenschild
0e961c6ad2 Use std::is_base_of instead of boost::is_base_of to remove the dependency 2022-11-11 09:18:16 +01: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
Barend Gehrels
cf98fb5564 [buffer] rearrange template parameters 2022-11-09 11:46:34 +01:00
Barend Gehrels
1df1e7021e [buffer] harmonize geographic strategy code and share code 2022-11-09 11:46:34 +01:00
Vissarion Fisikopoulos
4a255ab4b3 Merge pull request #1078 from vissarion/fix/warnings
Fix a few warnings
2022-11-08 10:46:45 +02:00
Vissarion Fisikopoulos
ca150c49ee Make some variables in math utilities const. 2022-11-02 08:40:58 +02:00
Adam Wulkiewicz
7ee08ef98d [index] Fix dangling references when Indexable is returned by value by IndexableGetter. 2022-11-01 20:11:07 +01:00
Vissarion Fisikopoulos
ae4c906679 Remove unused count variables in intersection points. 2022-10-24 12:40:29 +03:00
Vissarion Fisikopoulos
419590c41c Fix implicit convertion warning. 2022-10-24 12:40:15 +03:00
Vissarion Fisikopoulos
0dbf2a7a0c Use std::floor and change convention in subtraction (lon12 = lon2 - lon1). 2022-10-24 11:20:51 +03:00
Vissarion Fisikopoulos
17fc72688b Create and use trapezoidal formula function in area formulas. 2022-10-21 11:05:51 +03:00
Vissarion Fisikopoulos
1c7d3fb837 Stylistic changes in area formulas. 2022-10-20 22:10:44 +03:00