Barend Gehrels
805ff654e8
feat: major rewrite of traversal
2025-04-25 19:47:35 +02:00
Barend Gehrels
41709b5717
test: add test cases
2025-01-10 18:32:05 +01:00
Barend Gehrels
82ef735271
test: add set_ops_areal_areal which tests all operations
2024-12-10 19:02:45 +01:00
Barend Gehrels
54b300ab37
test: verify failures and remove some rescaling remainings
2024-12-09 18:22:08 +01:00
Vissarion Fisikopoulos
a9c3a242ca
Merge pull request #1346 from barendgehrels/fix/issue-1345
...
fix: add condition to handle_imperfect_touch
2024-11-25 14:12:16 +01:00
Barend Gehrels
ff033a3d4e
fix: avoid blocking rings for some non union conditions
...
Fixes #893
Fixes #1299
2024-11-24 15:41:59 +01:00
Barend Gehrels
0edb67322d
fix: add condition to handle_as_touch
...
Fixes #1288
2024-11-24 11:10:47 +01: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
Tinko Bartels
2ee0967344
Allow start for self-turns for difference overlay operations and enable corresponding test case.
2022-06-06 09:24:37 +02:00
Barend Gehrels
9c18680f31
[fix] for integer coordinates, segment intersection now rounds to nearest point
2022-02-07 10:33:15 +01:00
Barend Gehrels
e99cfde120
[intersection] use balance between distance-to-end and length-of-segments to determine to use a or b
2021-09-13 09:27:47 +02:00
Barend Gehrels
42edbd30f2
[test] add testcase for issue #888 polygon 53
2021-07-28 13:10:28 +02:00
Barend Gehrels
01f8e23b0c
[traverse] reverse meaning of isolation in difference
2021-07-28 13:10:28 +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
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
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
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
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
3272220a3c
[test][doc] Clean up numeric types in tests and adapt documentation
2020-09-30 11:20:44 +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
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
df7137e76d
[test] Changes in difference multi unit test
2019-07-17 09:47:57 +02:00
Barend Gehrels
861fc38533
[TEST] Unify different defines into BOOST_GEOMETRY_TEST_ENABLE_FAILURES
2019-05-29 15:48:44 +02:00
Barend Gehrels
89b64c416a
[test] Simplify conditional code as done earlier
2019-03-13 13:57:16 +01:00
Barend Gehrels
5314fdd8d9
[test] Simplify settings
...
(add one previously deleted validity value)
2019-03-02 17:07:59 +01:00
Barend Gehrels
7f23fcea98
[test] Harmonize define (four variants were used).
...
If defined, just ignore test_validity flag (such that validity is
always checked), same for sym_difference
2019-03-02 16:08:24 +01:00
Barend Gehrels
59c795a967
[test] Verify testcases (union, intersection, diff, buffer) w.r.t. turning off
...
rescaling.
Because of the preparation steps, many tests already succeed
2019-03-02 15:57:29 +01:00
Barend Gehrels
07dd079033
[CONFIG] Use a positive define (USE_RESCALING) instead of an unclear negative
...
one (NO_ROBUSTNESS). Precedes removing of the rescaling.
2019-03-02 13:39:50 +01:00
Barend Gehrels
d67688ee2b
[TEST] Remove defines, in general "not no_selfturns" (= use them)
...
and remove other branch not using them.
Because self turns are now stable, default, and without them does not need
to be unit tested.
Plus it can make test cases with/without rescaling way more complex.
2019-02-23 14:35:34 +01:00
Barend Gehrels
a1aa082c17
Merge pull request #551 from barendgehrels/feature/remove_rescaling_preparations
...
Feature/remove rescaling preparations
2019-02-07 19:09:54 +01:00
Barend Gehrels
e9b81ed877
[test] add testcases, minor changes in existing testcases
2019-01-30 16:22:02 +01:00
Adam Wulkiewicz
2e19b75876
[setops] Disable validity testing for several cases.
2019-01-25 21:13:28 +01:00
Barend Gehrels
34dfbba271
[test] adapt point expectations for union/difference/intersection
...
because we now skip some collinear points
2018-01-26 13:02:06 +01:00
Barend Gehrels
bc77fca531
[test] add new case also to intersection/union
2017-12-31 17:17:46 +01:00
Barend Gehrels
10e79329c1
[test] update a few testcases (comments, defines)
2017-12-31 17:15:45 +01:00
Barend Gehrels
19d0015a81
[test] enable a testcase now fixed
2017-12-29 14:21:04 +01:00
Barend Gehrels
f704579ed0
[overlay] by default use self-turns. This reverses definition
...
of define SELF to NO_SELF. Including all unit tests.
2017-12-29 13:17:42 +01:00
Barend Gehrels
0f4712bdfb
[test] add recent testcases to the other test scenarios
2017-12-20 16:54:51 +01:00
Barend Gehrels
f6c67daba6
[difference] fix cases where ii turns were not discarded, this
...
was a todo-item, it was not yet done for difference.
Including unit testcase using this.
2017-12-20 16:22:27 +01:00
Barend Gehrels
b28b312141
[difference] fix cases where potential inner rings have same area as
...
outer rings (located elsewhere), due to an earlier optimization
2017-12-20 14:07:51 +01:00
Barend Gehrels
5d99d1608d
[overlay] fix new #case_recursive_boxes_82 by greatly simplifying the code.
...
patterns/aggregations were added to solve specific intersection problems
and validity in the past. In the meantime self-turns and isolation information
is much better, and those code is not needed anymore.
This also fixes the #mysql_regression_1_65_2017_08_31
This also makes union/intersection code for handling clusters much more similar
2017-12-15 13:20:41 +01:00
Barend Gehrels
18eb8c5cd7
[test] add new testcase to union/difference
2017-12-06 15:39:53 +01:00
Barend Gehrels
9577300b85
[difference] add testcase for ticket 9942, and a simplified version of it
2017-11-15 12:02:08 +01:00
Barend Gehrels
48843415b0
[test] add condition for robustness in some cases
2017-10-23 15:24:39 +02:00
Barend Gehrels
1e0ecf37c7
[test] remove line which was still there unintended
2017-10-23 15:24:10 +02:00