Barend Gehrels
5b56ee9960
[overlay] fix cluster by adapting tolerance
...
Fixes #1081
2022-11-24 12:03:10 +02:00
Barend Gehrels
0154d4acac
[turn] fix distance measure for equal points
...
Fixes #1076
2022-11-23 11:51:54 +02: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
Adam Wulkiewicz
fcfaaff17b
[test][algorithms] Alter the expected results of union and sym_difference.
2022-06-02 15:41:12 +02: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
Barend Gehrels
8774b7b2d7
[major change] change the default, disable rescaling by default
2022-02-23 12:49:58 +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
Adam Wulkiewicz
b5d2793190
[test] Enable bm::cpp_rational union test.
2021-10-27 23:55:31 +02:00
Adam Wulkiewicz
26b6d9292b
[test] Fix define disabling bm::cpp_rational.
2021-10-27 16:35:40 +02:00
Barend Gehrels
1e7903dff1
[test] exclude cpp_rational because it fails on develop
2021-10-26 17:30:31 +02: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
Barend Gehrels
da4dee76a7
[test] exclude most of the types, keep only one per family
2021-10-08 16:28:09 +02:00
Barend Gehrels
48516c8d32
[coordinate_types] support for Boost.Rational and Boost.Multiprecision
...
including a unit test
2021-09-29 12:44:49 +02:00
Barend Gehrels
1030bd0d70
[test] add cases for issues #690 #875 #876
2021-08-04 14:07:01 +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
75d8f9e9b9
[intersection] fix intersection points outside of the segments
2021-04-28 10:31:21 +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
4e8ff81131
[sort_by_side] add epsilon to approximately_equals
2020-12-16 10:31:14 +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
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
Barend Gehrels
45d624af9b
[cleanup] remove HAVE_TTMATH and other occurances of ttmath
2020-10-07 14:05:28 +02:00
Barend Gehrels
3272220a3c
[test][doc] Clean up numeric types in tests and adapt documentation
2020-09-30 11:20:44 +02:00
Adam Wulkiewicz
5ca542fc4f
Merge pull request #726 from awulkiew/feature/strategies
...
Umbrella strategies.
2020-08-28 16:16:25 +02:00
Adam Wulkiewicz
52cceae021
[strategies] Relocate area, envelope and expand strategies.
2020-08-05 22:59:13 +02:00
Barend Gehrels
dfbbfc0a87
[turns] if the touch-interior touches near the end (near the IP), then handle
...
it as if it is a touch
2020-08-05 10:43:35 +02:00
Barend Gehrels
0969372147
[get_turns] use distance measures for side, and handle situation
...
with an imperfect touch (floating point issue)
2020-07-22 11:53:48 +02:00
Barend Gehrels
761170b0b4
[intersection] check for disjoint-by-range.
...
Without it, in FP calculations, for nearly collinear segments, it might happen that an intersection is calculated even if the ranges are farther apart from each other
2020-07-15 12:45:34 +02:00
Adam Wulkiewicz
a5b46d0f8b
[algorithms][strategies] Add umbrella strategies for area, envelope and expand.
2020-07-10 12:58:23 +02:00
Barend Gehrels
a09b9f4b51
[test] update testsuite, write expected failures (if all failures are enabled),
...
use optional counts for difference tests.
2020-06-10 14:27:42 +02:00
Adam Wulkiewicz
0a134c070a
[test][setops] Add tupled-output tests for difference, sym_difference and union.
2020-04-13 15:59:19 +02:00
Mateusz Łoskot
96db897fc5
Rename Jamfile.v2 to Jamfile ( #679 )
...
There is no reason to maintain the legacy .v2 file extension,
which is unnecessary clutter, may be confusing.
2020-03-08 23:50:18 +01:00
Barend Gehrels
331e7f80c9
[TEST] add testcases for reported issues
2019-11-23 14:03:40 +01:00
Barend Gehrels
2989992d37
[test] Write test configuration and make ccw order in tests optional
2019-11-13 12:52:33 +01:00
Barend Gehrels
fbf333c8a7
[test] updates in expectations and defines
2019-11-13 12:05:24 +01:00
Barend Gehrels
090e2c4e4a
[test] add testcase for issue #630
2019-11-13 11:48:44 +01:00
Adam Wulkiewicz
0f9e61ceac
[test][union] Add spherical A/A case.
2019-10-30 02:15:13 +01:00
Adam Wulkiewicz
1b33b57c47
Merge branch 'develop' into fix/empty_union
2019-10-29 18:57:12 +01:00
Barend Gehrels
33ea069ac0
[TEST] Test updates, most importantly the check on validity which now
...
only reports if input is considered as valid.
2019-07-17 14:23:29 +02:00