Barend Gehrels
aa2162f56b
fix: add condition to handle_imperfect_touch
...
Fixes #1345
2024-11-20 17:20:59 +01:00
Barend Gehrels
d7698b1c8a
fix: distinguish turn to discard in case of start turns
...
Fixes #1342
2024-11-18 18:09:50 +01:00
Barend Gehrels
792428dca4
fix: extra round over ring in #1226 and #1326
...
This can occur in a sequence of touch and then touch_interior
2024-11-16 08:56:19 +01:00
Barend Gehrels
adc9044da2
test: add test cases for issues fixed in next commit
2024-07-30 19:30:16 +02:00
Vissarion Fisikopoulos
dbe4f78dda
Remove BOOST_GEOMETRY_RESCALE_TO_ROBUST
2024-05-29 15:38:09 +03:00
Vissarion Fisikopoulos
0a752a6575
Remove BG_IF_RESCALED macro
2024-05-29 15:37:58 +03:00
Vissarion Fisikopoulos
d3ed449e39
Remove rescaling: remove BOOST_GEOMETRY_USE_RESCALING and update BoostGeometryWriteExpectedFailures
2024-05-29 15:34:00 +03:00
Vissarion Fisikopoulos
c02a8f6747
Fix CCW and isolated turns
2024-03-27 11:45:37 +02:00
Barend Gehrels
52fc1f62b3
[test] add cases for issues #1229 #1231 #1244 and some test refactoring
2024-03-13 09:30:47 +00:00
Barend Gehrels
682994c28a
remove alternatives and add for convex hull
2024-02-28 11:17:55 +00:00
Barend Gehrels
881ec1574f
Add cmake files for clang/mac/darwin/arm64
2024-02-28 11:17:55 +00:00
Vissarion Fisikopoulos
d87bc244db
[test] Remove tests using rescaling
2024-02-13 13:38:31 +02:00
Vissarion Fisikopoulos
68a225daff
Fix numerical issue for segments sharing a common point
2024-02-13 13:38:26 +02:00
Tinko Bartels
ead9ea07f2
Fixes for miscellaneous gcc/clang warnings in the test suite.
2023-10-06 19:20:16 +08:00
Barend Gehrels
96ba473fa4
placement of const
2023-09-29 13:00:34 +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
2cda943f1a
Merge branch 'develop' into fix/convex_hull_compare_strategies
2023-07-05 15:41:33 +03:00
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
c1f7a1adbf
Pass strategy to compare policy and use exact fp comparison in convex hull
2023-06-16 16:46:18 +03:00
Vissarion Fisikopoulos
6012885253
Remove CXX11/14 related macros
2023-05-23 15:16:08 +03:00
Barend Gehrels
83dab2d98c
use auto instead of iterator types, and related
2023-04-23 13:31:00 +02:00
Barend Gehrels
455822d6b1
[test] cleanup already succeeding testcases
2022-11-16 14:00:43 +01: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
ea376ad819
[algorithms][test] Fix remove_duplicate_turns used in L/L setops.
...
Pass strategy to P/P equality check.
Drop algorithms/equals.hpp dependency from set operations.
2022-06-08 14:53:43 +02:00
Vissarion Fisikopoulos
4e46493031
[test] Add issue 630 as test case
2022-06-08 12:39:29 +03:00
Adam Wulkiewicz
c132af9587
[test][algorithms] Add tests for GC in intersection, sym_difference and union.
2022-06-02 15:41:12 +02:00
Barend Gehrels
4960865920
fix compilation error (svg), warnings (unused), style (return), examples and cmake (C++14)
2022-06-01 11:42:20 +02:00
Adam Wulkiewicz
7ce0594e0a
[test][intersection] Test boxes in separate file and add geographic tests.
2022-01-27 18:30:26 +01:00
Barend Gehrels
3806c5dc32
[side] use side_by_triangle by default
2021-12-30 11:16:48 +01:00
Barend Gehrels
c86bb2d07e
fix: use policy instead of define
2021-12-15 10:29:38 +01:00
Barend Gehrels
2a7db45d07
[test] take car alternate tests are test properly in old (rescaling) and new (no rescaling) regime
2021-11-17 11:21:54 +01:00
Barend Gehrels
4a62f77853
[linear linear]: remove assertion/exception (it's fragile), adapt test and fix test svg creation
2021-11-17 11:21:54 +01:00
Barend Gehrels
ef1b8e33f9
[side] make the default for no-rescaling triangle to avoid regressions when rescaling is turned off
...
Tests are now tested in both modes
2021-10-20 10:25:28 +02:00
Adam Wulkiewicz
789281a5d1
Merge pull request #881 from awulkiew/feature/test_dependencies
...
Drop dependencies in tests.
2021-07-30 13:18:22 +02:00
Barend Gehrels
14df20453f
[test] remove the non used KRAMER define and rephrase/include/exclude some tests
2021-07-28 13:09:26 +02:00
Adam Wulkiewicz
08f7e66f79
[test] Drop library dependencies in tests.
...
If possible drop type_traits, mpl, typeof, foreach, assign.
Rearrange some includes.
2021-07-22 19:46:51 +02:00
Barend Gehrels
afa1f458a0
[test] add testcases (currently going well)
2021-07-21 11:13:45 +02:00
Barend Gehrels
40c6544a9b
[test] add cases for issues #869 and #861
2021-06-23 10:17:54 +02:00
Barend Gehrels
1d4b2e5df2
[test] adapt testcases and / or expectations
2021-06-02 11:46:31 +02:00
Barend Gehrels
e098a85f5a
[test] add testcase for issue #838
2021-04-07 11:13:58 +02:00
Barend Gehrels
eee7fc53ea
[clusters] detection is refactored to a simpler sweeping algorithm
...
This fixes a part (around 30%) of the remaining errors in the recursive buffer check
2021-04-07 11:13:20 +02:00
Adam Wulkiewicz
429423cdb1
Merge pull request #768 from awulkiew/feature/strategies_relate
...
Support umbrella strategies in relops, setops, index, buffer and more.
2021-02-16 13:32:17 +01:00
Adam Wulkiewicz
bec798d60f
Merge pull request #779 from awulkiew/fix/test_range_includes
...
[test] Include only necessary headers of Boost.Range.
2021-02-12 18:58:25 +01:00
Adam Wulkiewicz
ab28baae28
Merge branch 'develop' into feature/strategies_relate
2021-01-31 21:08:38 +01:00
Barend Gehrels
abaa211d3a
[sort_by_side] fix cases where the cluster point is approached by segments, but the last point before is colocated with the turn itself
...
This fixes 50% of the errors currently found by recursive_polygons_buffer (when rescaling is turned off)
2020-12-02 14:19:50 +01:00
Adam Wulkiewicz
4c6f569d2d
[test] Include only necessary headers of Boost.Range.
2020-11-26 04:59:40 +01:00
Barend Gehrels
42bd7cfe95
[turns] fix precision when turns are arriving or leaving.
...
Then their fractions should be 1 or 0 (and not nearly so)
2020-11-25 10:21:16 +01:00
Adam Wulkiewicz
6b74f7c8a3
Support umbrella strategies in relops, setops, index, buffer and more.
...
Also is_simple, is_valid and extensions like dissolve and nsphere relops.
Add umbrella strategies:
- relate: used in setops, relops, buffer, is_xxx, dissolve, etc.
- index: used in rtree
- io: used in wkt read/write and extensions/shapefile
Replace `point_box_by_side` agnostic strategy with CS-specific strategies.
Fix passing of strategies (no defaults when user-defined strategy is
passed) in places like buffer and distance.
Alter tests accordingly.
2020-10-21 17:42:02 +02:00
Barend Gehrels
9989780d41
Merge pull request #758 from barendgehrels/test/add_limits
...
Conform the countset, replace many #ifdefs with expectation limits
2020-10-21 10:21:17 +02:00
Barend Gehrels
5f677775ef
[TEST] Conform the countset, replace many #ifdefs with expectation limits and apply it for float, double, long double (in many tests)
2020-10-21 10:18:56 +02:00