Commit Graph

9454 Commits

Author SHA1 Message Date
Vissarion Fisikopoulos
83d8b511d2 [doc] Update polygon concept documentation. 2022-12-01 12:08:53 +02:00
Vissarion Fisikopoulos
6fb30ddda6 Revert doc index.html changes 2022-12-01 12:00:12 +02:00
Vissarion Fisikopoulos
0eef592588 Adding CONTRIBUTING.md file. 2022-12-01 12:00:12 +02:00
Vissarion Fisikopoulos
64ff1f4379 Remove documentation creation from documentation as duplicate to the wiki. 2022-12-01 12:00:09 +02:00
Vissarion Fisikopoulos
3902225c96 Remove guidelines from documentation as duplicates to the github wiki. 2022-12-01 11:58:57 +02:00
Adam Wulkiewicz
c307a21da7 [index] Fix dangling references when Indexable is returned by value by IndexableGetter. 2022-12-01 11:57:33 +02:00
Barend Gehrels
5b56ee9960 [overlay] fix cluster by adapting tolerance
Fixes #1081
2022-11-24 12:03:10 +02:00
Vissarion Fisikopoulos
9369fd3990 Add test with custom points. 2022-11-23 11:56:34 +02:00
Vissarion Fisikopoulos
f7734cca5e Fix mutable point issues and typos in boundary_checker. 2022-11-23 11:56:27 +02:00
Michael Haubenschild
6624133406 Use std::is_base_of instead of boost::is_base_of to remove the dependency 2022-11-23 11:56:04 +02:00
Vissarion Fisikopoulos
f8606ee57a Add comment for comparison with == in area formulas. 2022-11-23 11:55:08 +02:00
Vissarion Fisikopoulos
e0c3af3056 Declare variables const in area formulas. 2022-11-23 11:55:08 +02:00
Vissarion Fisikopoulos
124b8098e8 Use std::floor and change convention in subtraction (lon12 = lon2 - lon1). 2022-11-23 11:55:08 +02:00
Vissarion Fisikopoulos
b546595101 [area] [test] Add test cases for segments passing through the south pole. 2022-11-23 11:55:08 +02:00
Vissarion Fisikopoulos
c2f461a904 [area] [test] Add test cases with segments passing through the pole. 2022-11-23 11:55:08 +02:00
Vissarion Fisikopoulos
7739f9cb88 Create and use trapezoidal formula function in area formulas. 2022-11-23 11:55:08 +02:00
Vissarion Fisikopoulos
ac7fd9bfa0 Stylistic changes in area formulas. 2022-11-23 11:55:08 +02:00
Vissarion Fisikopoulos
18430c935b Fix special case of area for segments that pass through a pole. 2022-11-23 11:55:08 +02:00
Vissarion Fisikopoulos
e6b2bdb879 Fix style in karney direct formula. 2022-11-23 11:53:24 +02:00
Vissarion Fisikopoulos
0abcbe6c6a Simplifications in karney direct formulas. 2022-11-23 11:53:17 +02:00
Vissarion Fisikopoulos
94ea86271f Update copyright comments. 2022-11-23 11:53:09 +02:00
Vissarion Fisikopoulos
d9c248142f Simplify conversion to/from radians in direct formula tests. 2022-11-23 11:53:02 +02:00
Vissarion Fisikopoulos
e63d71d396 Make all direct formulas consistent for input and output (all in radians) 2022-11-23 11:52:25 +02:00
Barend Gehrels
0154d4acac [turn] fix distance measure for equal points
Fixes #1076
2022-11-23 11:51:54 +02:00
Vissarion Fisikopoulos
080168068c Make some variables in math utilities const. 2022-11-23 11:40:04 +02:00
Vissarion Fisikopoulos
b6b496f138 Remove unused count variables in intersection points. 2022-11-23 11:39:54 +02:00
Vissarion Fisikopoulos
43f8a63a55 Fix implicit convertion warning. 2022-11-23 11:39:46 +02:00
stefan301
83216bb634 Fix c++20 compilation errors related to conditional expression with int and floating_point_type
A floating_point_type with implicit conversions can lead to this C++20 compilation error:

boost\boost\geometry\algorithms\detail\overlay\get_turn_info.hpp(233,1): error C2445: result type of conditional expression is ambiguous: types '<floating_point_type>' and 'int' can be converted to multiple common types
2022-11-23 11:39:03 +02:00
Adam Wulkiewicz
ca14e7840f Merge branch 'develop' boost-1.81.0.beta1 boost-1.80.0 2022-08-03 10:12:49 +02:00
Mateusz Łoskot
ce73f57309 build: Add cxx14 requirements to root Jamfile (#1043)
The library requires C++14 so it should not even be tried
to build with any older C++ versions, i.e. `cxxstd` < 14.
It means, `b2 cxxstd=11 libs/geometry/test`  will build nothing.

Related to discussion in #1012
2022-07-22 17:15:04 +02:00
Adam Wulkiewicz
b354162798 Merge pull request #1042 from awulkiew/fix/rtree_experimental
[index] Fix and improve rtree experimental features
2022-07-20 16:51:05 +02:00
Adam Wulkiewicz
379f0c364a [index] Fix and improve rtree experimental features
Fix access specifier preventing use of experimental iterators.
Allow more granular control over enabled experimental features.
2022-07-19 22:56:05 +02:00
Barend Gehrels
070e3517c4 fix compiler error, addresses issue #1012 2022-07-13 14:38:53 +02:00
Adam Wulkiewicz
1be04bf84d Merge pull request #1036 from awulkiew/fix/various
Fix various errors and warnings
2022-07-11 20:29:16 +02:00
Adam Wulkiewicz
947dca1562 [index] Fix msvc warning and refactor the code 2022-07-09 20:44:21 +02:00
Adam Wulkiewicz
4241b6a777 [area] Fix box area return type 2022-07-09 20:34:39 +02:00
Adam Wulkiewicz
cd46e228a3 [projections] Fix compilation errors in pj_generic_inverse and add namespaces 2022-07-09 20:34:07 +02:00
Vissarion Fisikopoulos
c011ebfb4f Merge pull request #1015 from vissarion/fix/remove_rescaling_from_set_ops
[tests] Add test case in intersection
2022-07-06 18:30:30 +03:00
Adam Wulkiewicz
d1ad57d6e6 Merge branch 'bg-prepare' boost-1.80.0.beta1 2022-07-06 15:14:09 +02:00
Adam Wulkiewicz
c0cf13aa35 Merge branch 'develop' into bg-prepare 2022-07-06 15:13:43 +02:00
Adam Wulkiewicz
d02858e68a [test][buffer] Add missing include 2022-07-06 15:13:17 +02:00
Adam Wulkiewicz
906d9d4f1b Merge branch 'bg-prepare' 2022-07-06 14:25:13 +02:00
Adam Wulkiewicz
cf7a9a4dfb Merge branch 'develop' into bg-prepare 2022-07-06 14:24:36 +02:00
Adam Wulkiewicz
df1e15d32f [test][disjoint] Add missing include 2022-07-06 14:23:34 +02:00
Adam Wulkiewicz
a6e98ec9e5 Merge branch 'bg-prepare' 2022-07-06 13:57:49 +02:00
Adam Wulkiewicz
7ced0ca03e Merge branch 'develop' into bg-prepare 2022-07-06 13:57:22 +02:00
Adam Wulkiewicz
b6f0bbd389 Merge pull request #1030 from awulkiew/fix/buffer
[buffer] Use output_point_type with helper geometries instead of model::point
2022-07-06 13:56:24 +02:00
Adam Wulkiewicz
89f01bf44b Merge pull request #1029 from awulkiew/fix/touches
Fix compilation of touches for geometry collections with gcc-10
2022-07-06 13:56:10 +02:00
Barend Gehrels
1837ddc7f1 [buffer] fix for integer overflow 2022-07-06 08:24:11 +02:00
Adam Wulkiewicz
afa220b1ec [buffer] Use output_point_type with helper geometries instead of model::point
This fixes compilation errors when output point type is different.
2022-07-02 17:22:23 +02:00