Commit Graph

8536 Commits

Author SHA1 Message Date
Adam Wulkiewicz
bb7cf70069 [index] Fix get_strategy return value and take care about references to temporaries. 2019-07-01 14:46:55 +02:00
Adam Wulkiewicz
c3e8642f52 [strategies] Remove typename keywords. 2019-07-01 14:45:58 +02:00
Adam Wulkiewicz
0c77558db2 [test] Divide cs::undefined relops test into two deparate files. 2019-06-30 22:17:26 +02:00
Adam Wulkiewicz
ea72a91746 [ci] Test cs::undefined 1 job at a time to decrease memory consumption. 2019-06-30 20:00:06 +02:00
Adam Wulkiewicz
cfb0f27381
Merge pull request #605 from awulkiew/feature/undefined_cs
Define CS-specific behavior of algorithms only with strategy (part 2).
2019-06-30 17:27:08 +02:00
Adam Wulkiewicz
4a279fefc3 [ci] Add cs::undefined tests to CircleCI script. 2019-06-29 21:06:04 +02:00
Adam Wulkiewicz
b73a401480 [test] Add cs::undefined tests. 2019-06-28 23:30:04 +02:00
Adam Wulkiewicz
f17be7daba [test][algorithms] Update tests due to change of arguments in difference_insert and sym_difference_insert. 2019-06-28 21:47:36 +02:00
Adam Wulkiewicz
614c05423e [algorithms] Pass strategy into get_rescale_policy() internally used to get envelope and expand strategies. 2019-06-28 21:45:01 +02:00
Adam Wulkiewicz
850c58f464 [strategies] Add getters for expand box strategies in envelope box strategies. 2019-06-28 21:43:55 +02:00
Adam Wulkiewicz
03fdd412b0 [strategies] Add envelope_box_strategy_type to intersection strategies. 2019-06-28 21:43:03 +02:00
Adam Wulkiewicz
60894adf03 Merge branch 'develop' into feature/undefined_cs 2019-06-28 15:10:01 +02:00
Adam Wulkiewicz
b4634fdb45 [algorithms][io] Add missing includes. 2019-06-28 14:35:28 +02:00
Adam Wulkiewicz
38ae42e442 Merge branch 'develop' into feature/undefined_cs 2019-06-28 14:29:52 +02:00
Adam Wulkiewicz
39e19c469c [algorithms] Remove typedef in is_valid. 2019-06-28 14:12:40 +02:00
Barend Gehrels
48c6e2b02d
Merge pull request #607 from barendgehrels/fix/various_warnings
Fix/various warnings
2019-06-27 18:10:28 +02:00
Barend Gehrels
4252e34f2f
Merge pull request #606 from barendgehrels/fix/buffer_miter_intersection_point
Fix of issue #596 - [buffer] fix line/line intersection point calculation for some cases,
2019-06-27 18:09:36 +02:00
Adam Wulkiewicz
33014baa5d
Merge pull request #572 from awulkiew/fix/azimuth_validity
Fix azimuth validity in geographic_point_circle buffer strategy.
2019-06-26 15:25:37 +02:00
Barend Gehrels
e46c6ee70f [fix] add method which was added later, for integer types 2019-06-26 14:54:58 +02:00
Barend Gehrels
c905acf964 [const] disable various compiler warnings 2019-06-26 14:53:35 +02:00
Barend Gehrels
6dcf062d8f [valid] Fix warning (iterator variables shadow earlier declarations)
by moving the code to a specific function
2019-06-26 14:51:54 +02:00
Barend Gehrels
283a0bc571 [buffer] fix line/line intersection point calculation for some cases,
now using general form (which will be used later more widely). This fixes
some numerical issues.
Including testcase, reported as #596
2019-06-26 14:45:42 +02:00
Vissarion Fisikopoulos
a38924a0f2
Merge pull request #595 from vissarion/fix/dist_pt_seg_short
Fix inaccuracy in geographic point-segment distance computation
2019-06-25 12:59:49 +03:00
Vissarion Fysikopoulos
5e0e1cf75c [strategy] Put bisection method for distance pt-sgmt into detail namespace 2019-06-25 12:31:30 +03:00
Adam Wulkiewicz
970bce222f [test] Update tests WRT recent changes related to CS-specific strategies propagation. 2019-06-24 12:21:19 +02:00
Adam Wulkiewicz
d772e36632 [algorithms] Propagate CS-specific strategies in algorithms. 2019-06-24 12:20:04 +02:00
Adam Wulkiewicz
7bf8c0dca8 [strategies] Add headers to strategies.hpp 2019-06-24 12:19:21 +02:00
Adam Wulkiewicz
cf6d5b4618 [index] Allow passing strategy into the rtree with bgi::parameters<>. 2019-06-24 12:18:45 +02:00
Adam Wulkiewicz
147c5711c0 [strategies] Implement index/rtree (umbrella) strategies. 2019-06-24 12:17:52 +02:00
Adam Wulkiewicz
be9114bb66 [policies] Get CSTag in rescale_policy_type, by default taken from Geometry type. 2019-06-24 12:16:35 +02:00
Adam Wulkiewicz
1d07ed1b3d [policies] Get default compare strategy with 2 different point types. 2019-06-24 12:14:48 +02:00
Adam Wulkiewicz
9777b2a0cb [strategies] Add strategies getters in disjoint and distance strategies (Seg/Box). 2019-06-24 12:09:06 +02:00
Adam Wulkiewicz
4c40b5ffb1 [strategies] Do not use BoxIn type as temporary type (may be non-mutable). 2019-06-24 12:05:07 +02:00
Adam Wulkiewicz
f62214787d [strategies] Add model() getter to geographic side strategy. 2019-06-24 12:04:07 +02:00
Adam Wulkiewicz
a24578181f [strategies] Allow now specifying Point types in point_in_poly_* strategies. 2019-06-24 12:03:23 +02:00
Vissarion Fysikopoulos
d226019924 [strategies] Initialize delta_g4 in newton method for pt-segment distance 2019-06-18 15:17:10 +03:00
Vissarion Fysikopoulos
5e509c0639 [stategies] Add meridian case optimization for degenerate segments 2019-06-18 15:15:11 +03:00
Vissarion Fysikopoulos
30979a59e0 [strategies] Avoid divisions by zero 2019-06-13 12:09:43 +03:00
Barend Gehrels
b930d33565
Merge pull request #594 from barendgehrels/test/changes-in-defines
Test/changes in defines
2019-06-05 10:51:25 +02:00
Barend Gehrels
d5d0564a1d [doc] Document define. 2019-06-05 10:48:39 +02:00
Adam Wulkiewicz
ec62cc9afa [strategies] Refactor within/covered_by Box/Box strategies. 2019-06-04 22:43:29 +02:00
Adam Wulkiewicz
bfdd09c12c [test][overlay] Pass intersection strategy in sort_by_side test. 2019-06-04 20:45:59 +02:00
Adam Wulkiewicz
2832223ba6 [algorithms][strategies] Propagate CS-specific strategies in algorithms. 2019-06-04 20:04:38 +02:00
Vissarion Fysikopoulos
cc15b8cbd0 [tests] Remove output strings from cross_track geo distance 2019-06-03 11:54:15 +03:00
Vissarion Fysikopoulos
ffdf6f8dd2 [stategies] Remove unused calls to formulas for azimuth and distance computation 2019-05-31 16:05:07 +03:00
Barend Gehrels
d0981b0a98 [TEST] Remove define for union 2019-05-29 16:56:25 +02:00
Barend Gehrels
fb0c9d3b8e [TEST] Minor fixes in buffer tests 2019-05-29 16:54:52 +02:00
Barend Gehrels
c59ad6a07b [TEST] Add robustness test to find corner cases in floating point precision 2019-05-29 16:47:46 +02:00
Barend Gehrels
1465e26502 [TEST] Add two testcases 2019-05-29 16:42:57 +02:00
Barend Gehrels
5eed0d779d [TEST] Add extra define BOOST_GEOMETRY_USE_KRAMER_RULE to indicate
using the Kramer-rule intersection strategy.
This can change some test behaviour
2019-05-29 15:53:29 +02:00