Barend Gehrels
70ecdfdd19
[buffer] Fix direction code for some new cases.
...
The similar_direction function could be erroneous for corner cases,
refactored it out.
This also makes it a bit less dependent on infinite_line (cartesian)
2020-05-06 14:22:32 +02:00
Barend Gehrels
ef66e923cc
Merge pull request #708 from barendgehrels/feature/buffer-turn-in-original-revision
...
[buffer] remove rescaling from the turn-in-original check
2020-05-06 10:24:54 +02:00
Adam Wulkiewicz
f3d1e702d9
[relate] Add missing include.
2020-04-30 23:44:05 +02:00
Barend Gehrels
14059a2c69
[buffer] remove rescaling from the turn-in-original check
2020-04-29 13:49:24 +02:00
Barend Gehrels
c93594b20d
[buffer] add strategy to expand and
...
other review remarks
2020-04-29 12:27:45 +02:00
Barend Gehrels
13890d9801
[buffer] additional cleanup and fix sections with normal box type
2020-04-29 12:27:45 +02:00
Barend Gehrels
d4af24851e
[buffer] revise turn_in_piece visitor:
...
- avoid side_of_intersection
- use new abstraction piece_border to verify point-in-piece
- this replaces the robust_ring
- and more related
2020-04-29 12:27:43 +02:00
Adam Wulkiewicz
e825b50ccb
[srs] Fix EPSG 3785 definitions.
2020-04-16 18:28:54 +02:00
Mateusz Łoskot
b554a5f87d
Correct #689 with check for C++14 support instead of C++11 features ( #696 )
2020-04-15 18:58:20 +02:00
Mateusz Łoskot
2dbe5bf554
Deprecate C++03 in Boost 1.73 ( #689 )
...
Following discussion in #590 , we are identifying support for C++03
as a candidate for removal from future releases of Boost.Geometry.
Issue deprecation warning during compilation in C++03 conformance mode
Users can define BOOST_GEOMETRY_DISABLE_DEPRECATED_03_WARNING to disable it.
2020-03-29 00:19:58 +01:00
Adam Wulkiewicz
201530285a
Merge pull request #650 from awulkiew/feature/setops_output
...
Missing input combinations in intersection() and introduction of tupled-output.
2020-03-26 15:13:01 +01:00
Adam Wulkiewicz
99901e3304
Merge pull request #685 from tinko92/fix/missing_header
...
Add missing headers to precise_math.hpp
2020-03-26 15:12:31 +01:00
Adam Wulkiewicz
bf7ca7c59d
[distance] Fix dangling reference for MPt-Areal.
2020-03-25 17:53:34 +01:00
Adam Wulkiewicz
8f90ef41ea
[srs] Add initialization debugging to spheroid.
2020-03-25 17:52:49 +01:00
Adam Wulkiewicz
2b74e42436
Merge branch 'develop' into feature/setops_output
2020-03-24 14:38:46 +01:00
Tinko Bartels
b2ae7f5f19
Add missing headers to precise_math.hpp and add headers test for
...
extensions/triangulation.
2020-03-21 22:11:15 +01:00
Aditya Mohan
a4f08ea191
Add cross_product example to documentation ( #665 )
...
* Cross_Product Example
* Update cross_product
- Removes the first empty line
- Uses doxygen commands
- Adds result at the end as comments
- Mentions that the second point is undefined in Example 1
* Update Cross_Product
- Added a missing `
* Update imports.qbk
- Adds [import src/examples/arithmetic/cross_product.cpp]
* Create cross_product.qbk
* Update cross_product.hpp
Refers cross_product example
* Delete cross_product.qbk
Uneccessary
* Update
Deletes .qbk reference
* Update make_qbk.py
* Rename cross_product to cross_product.cpp
* Update
-Shifts example reference to line 115-116
Co-authored-by: Vissarion Fisikopoulos <fisikop@gmail.com >
2020-03-16 15:43:25 +02:00
Aditya Mohan
664f984bca
Add dot_product example to documentation ( #660 )
...
* A dot_product example for the documentation
Proposed above is the example of a dot product arithmetic operation involving different point concepts as operands. This aims to aid the user in understanding the concept more clearly when the user goes through the documentation.
* Update
- Indent by 4 spaces as per Boost's developer's guidelines for code
- Add appropriate copyright at the beginning of the file
* Update dot_product
- Adds Doxygen commands
- Added comment indicating example number
* Create dot_product.cpp
* Update imports.qbk
-Adds reference to example
* Update dot_product.hpp
-Adds reference to example
* Delete dot_product
Closes #658
2020-03-16 14:58:51 +02:00
Mateusz Łoskot
64de5b9edf
Add point_xyz as pre-defined geometry model ( #671 )
...
Add documentation, example and test for point_xyz.
2020-03-04 23:18:16 +01:00
Adam Wulkiewicz
b43a999106
Merge pull request #668 from awulkiew/fix/andoyer
...
Fix andoyer_inverse for close points.
2020-02-13 12:14:32 +01:00
Digvijay Janartha
60405cef79
[doc] Added missing algorithm examples in documentation. ( #667 )
...
* added perimeter documentation
* added overlaps documentation
* added covered_by documentation
* added disjoint documentation
* added crosses documentation
* added touches documentation
* fixed typos
* added examples with images to documentation
* completed linking process
* fixed year
2020-02-13 13:12:04 +02:00
Adam Wulkiewicz
fafe402307
[formulas] Fix andoyer_inverse for case of very close points.
2020-02-12 17:54:10 +01:00
Adam Wulkiewicz
2bcfea2a44
Merge pull request #639 from awulkiew/feature/rtree_refactor
...
R-tree improvements.
2020-01-24 22:44:29 +01:00
Adam Wulkiewicz
b8cbefb5df
[intersection] Remove unused typedef.
2020-01-23 21:39:51 +01:00
Adam Wulkiewicz
5372e6b7de
[intersection] Add tupled-output support for A/A combination.
2020-01-23 15:55:37 +01:00
Adam Wulkiewicz
07e7c38fc3
[overlay] Fix unused typedef warning.
2020-01-20 21:05:45 +01:00
Adam Wulkiewicz
7e7e9afd3f
[overlay] Add missing template keywords.
2020-01-20 20:44:02 +01:00
Adam Wulkiewicz
8320ec4c07
[intersection][overlay] Add support for tupled output in intersection(L/A).
...
Remove OLD_LA_BEHAVIOR code as it is disabled by default, not tested and
makes the implementation more complex.
2020-01-20 20:19:29 +01:00
Adam Wulkiewicz
c6ccd93748
[algorithms][core][util] Define BOOST_GEOMETRY_CXX11_TUPLE and use it in tuple-related code.
2020-01-19 19:09:12 +01:00
Adam Wulkiewicz
63153478f8
[overlay] Add support for PointLike/Areal combinations, incl. tupled output.
2020-01-18 18:42:24 +01:00
Adam Wulkiewicz
bc11d6295b
[setops] Add support for tupled output in intersection PointLike/Linear.
2020-01-08 01:18:07 +01:00
Barend Gehrels
35c5d67d4d
[buffer] Cleanup, remove unused functionality, calculate originals
...
and monotonic sections in another way
2019-12-18 10:13:18 +01:00
Adam Wulkiewicz
51323cc8fa
[setops] Add support for tupled output in intersection for PointLike geometries.
2019-12-06 18:34:43 +01:00
Adam Wulkiewicz
e6b1f6eb01
[algorithms] Allow passing tupled output geometries into intersection L/L.
...
In such case the algorithm expects a pair of tuple containing at least
range of points and range of linestrings. Linear and PointLike parts of
the output are returned separately.
2019-11-27 23:33:47 +01:00
Adam Wulkiewicz
9096a9be8d
[algorithms] Add tupled_output helper utils.
2019-11-27 23:33:12 +01:00
Adam Wulkiewicz
d9222e7309
[formulas] Fix odr-used constants and improve const-correctness in karney_inverse.
...
Using static const variables instead of static constexpr variables also
enables the use of user-defined types without constexpr constructor.
2019-11-20 00:52:11 +01:00
Vissarion Fisikopoulos
6aadc8f0c7
[strategies] Fixing Wunused-parameter warnings
2019-11-19 13:09:05 +02:00
Adam Wulkiewicz
1be86abf66
Merge branch 'develop' into feature/setops_output
2019-11-18 23:55:10 +01:00
Adam Wulkiewicz
abccc900b5
[util][formulas] Move difference_angle because of usage of C++11 and add const& to math util arguments.
2019-11-18 21:27:57 +01:00
Adam Wulkiewicz
735b3c53a4
[extensions][nsphere] Fix compilation errors.
2019-11-17 21:17:29 +01:00
Adam Wulkiewicz
fa5ce6d08d
[util][tuples] Add support for std::pair and std::tuple.
2019-11-16 21:44:38 +01:00
Adam Wulkiewicz
b31bec23a1
[util][srs] Move tuples metafunctions from srs to util.
...
Remove unused metafunctions.
2019-11-16 02:03:59 +01:00
Adam Wulkiewicz
aacdefae11
[index][util] Move tuples metafunctions from index to util.
2019-11-15 18:48:30 +01:00
Barend Gehrels
5c5fd7dbef
[overlay] refactor sort-by-side such that more limited input is possible.
...
Fix the distance measure, by default it should not return anything
2019-11-13 11:43:25 +01:00
Adam Wulkiewicz
940d01e4f5
[test][index] Check elements counts after an exception is thrown.
2019-11-12 18:07:32 +01:00
Adam Wulkiewicz
ed0869c589
[index] Improve rtree state after exception is thrown in insert().
...
If exception is thrown in split prevent keeping more elements in a node
that it is allowed. So even if a user calls insert() again there won't
be a problem with pushing elements out of bounds in the same node which
is already overflowed.
2019-11-12 18:02:48 +01:00
Adam Wulkiewicz
074122d619
[sectionalize] Enable #include, not affected by BOOST_GEOMETRY_USE_RESCALING anymore.
2019-11-07 23:53:19 +01:00
Adam Wulkiewicz
859ddb7a1e
[index] Make members_holder a member type of the rtree.
2019-11-07 22:40:51 +01:00
Adam Wulkiewicz
d6bafb9908
[doc][strategies] Fix errors in documentation of matrix transformers.
2019-11-06 16:48:16 +01:00
Adam Wulkiewicz
0af5060bbf
Merge pull request #479 from awulkiew/fix/empty_union
...
Fix for empty spherical union
2019-11-06 13:52:56 +01:00