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
b98ea78b25
chore: modernize ring and related types to ring_t and related
2024-11-04 19:32:20 +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
d3ed449e39
Remove rescaling: remove BOOST_GEOMETRY_USE_RESCALING and update BoostGeometryWriteExpectedFailures
2024-05-29 15:34:00 +03:00
Vissarion Fisikopoulos
38051ad095
Remove deprecated rescaling code
2024-05-29 15:29:03 +03: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
aa508bf53a
fix boost unit test framework in cmake and add cmake files
2024-02-28 11:17:55 +00:00
Vissarion Fisikopoulos
68c086110f
Merge pull request #1246 from barendgehrels/fix/compiler-errors-converter-base-of
...
fix compilation of converter and is_base_of
2024-02-26 11:52:10 +02:00
Vissarion Fisikopoulos
fe18b6cb67
Merge pull request #1237 from vissarion/fix/seg_intersection_on_same_point
...
Fix numerical issue for segments sharing a common point
2024-02-26 11:42:14 +02:00
Barend Gehrels
123c920b92
fix compilation of converter and is_base_of
...
by introducting boost::geometry::detail::numeric_cast
2024-02-25 11:07:45 +00:00
Barend Gehrels
16a7423bfa
pass strategy to sort by side
2024-02-24 09:26:27 +00:00
Vissarion Fisikopoulos
d87bc244db
[test] Remove tests using rescaling
2024-02-13 13:38:31 +02:00
Letu Ren
a12a36f2ff
Fix get_distance_measure test failure using MSVC
...
Log is listed as follows.
```
Running 1 test case...
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_3 ctype: e tr_side: -1 dm_side: 1
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_4 ctype: e tr_side: -1 dm_side: 1
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_5 ctype: e tr_side: -1 dm_side: 0
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_6 ctype: e tr_side: -1 dm_side: 0
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_7 ctype: e tr_side: -1 dm_side: 0
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_8 ctype: e tr_side: -1 dm_side: 0
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_9 ctype: e tr_side: -1 dm_side: 0
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_10 ctype: e tr_side: -1 dm_side: 0
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_11 ctype: e tr_side: -1 dm_side: 0
test/algorithms/overlay/get_distance_measure.cpp(60): error: in "test_main_caller( argc_ argv )": Case: issue_1183_12 ctype: e tr_side: -1 dm_side: 0
*** 10 failures are detected in the test module "Test Program"
```
The reason is that in MSVC the long double type is identical to the double type. We should treat 64-bit long double as double. Modification to float is made for consistency.
2023-12-08 15:56:34 +08:00
Barend Gehrels
4c6b365329
[test] add unit test for issue #1138 which was fixed by eb879fe
2023-09-29 13:00:34 +02:00
Barend Gehrels
0ee3d33de5
[test] add unit test for get_distance_measure showing its failures
2023-09-13 20:48:58 +02:00
Barend Gehrels
eb879fe621
[fix] avoid current get_distance_measure which can make sides indistinguishable
2023-09-13 20:48:58 +02:00
Barend Gehrels
fd209ffbf5
[fix] overlay threshold for sort_by_side
...
Fixes: issue #1186
2023-09-13 20:29:38 +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
Barend Gehrels
83dab2d98c
use auto instead of iterator types, and related
2023-04-23 13:31:00 +02:00
Barend Gehrels
b1bebca453
[union] fix issue 1100
2023-04-19 19:03:16 +02:00
Barend Gehrels
ec7f9c9887
[union] fix missing interior ring and double traversed exterior ring
...
fixes : #1109 and #1108
keeps fixed : #1081
2023-02-22 13:34:29 +01:00
Barend Gehrels
a908a21efe
[overlay] fix cluster by adapting tolerance
...
Fixes #1081
2022-11-23 14:20:43 +01:00
Barend Gehrels
75742b0d24
[turn] fix distance measure for equal points
...
Fixes #1076
2022-11-16 14:00:43 +01: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
577de29211
[fix] disjoint and relate with const types
2022-04-13 10:09:53 +02:00
Barend Gehrels
c24c971e73
[fix] get_turns with const geometries, as long as its turn_point is writable
2022-03-09 12:15:22 +01:00
Barend Gehrels
9243413cad
[test] fix coordinates to make the polygon invalid as designed for both rescaled and without rescaling
2022-02-16 10:32:05 +01: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
3806c5dc32
[side] use side_by_triangle by default
2021-12-30 11:16:48 +01:00
Barend Gehrels
08116e31e6
[test] cleanup svg generation
2021-12-01 10:09:51 +01: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
Vissarion Fisikopoulos
a34b0f87c4
Merge branch 'develop' into feature/use_side_robust_predicate
2021-09-07 14:07:10 +03:00
Barend Gehrels
1030bd0d70
[test] add cases for issues #690 #875 #876
2021-08-04 14:07:01 +02:00
Adam Wulkiewicz
135b9264fd
[test] Fix test case in sort_by_side and gcc variadic macros compilation error.
2021-08-02 16:49:37 +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
42edbd30f2
[test] add testcase for issue #888 polygon 53
2021-07-28 13:10:28 +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
Vissarion Fisikopoulos
e8224f9234
Merge branch 'develop' into feature/use_side_robust_predicate
2021-07-13 16:13:48 +03:00
Vissarion Fisikopoulos
6b49308808
Move side_by_triangle to strategy/cartesian
2021-07-02 16:34:33 +03:00
Adam Wulkiewicz
3e681e31f3
[test] Fix initializer_list narrowing conversion error in get_clusters test.
2021-07-01 23:23:44 +02:00
Vissarion Fisikopoulos
fb9b1d40ff
Replace side_by_triangle with side_robust
2021-06-30 13:00:21 +03:00
Barend Gehrels
40c6544a9b
[test] add cases for issues #869 and #861
2021-06-23 10:17:54 +02:00
Barend Gehrels
10142a6703
[turns] have all discarding of start_turns in one place and clean up clusters before assigning
2021-05-19 09:27:44 +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
Barend Gehrels
77bb5310d2
Merge pull request #800 from barendgehrels/enhance/get_ring
...
[overlay] move segment_count_on_ring and segment_distance to get_ring, and add unit tests
2021-02-19 10:38:58 +01:00
Barend Gehrels
524e194615
[overlay] move segment_count_on_ring and segment_distance to get_ring and add unit test for them
2021-02-19 10:34:26 +01:00