Barend Gehrels
861fc38533
[TEST] Unify different defines into BOOST_GEOMETRY_TEST_ENABLE_FAILURES
2019-05-29 15:48:44 +02:00
Barend Gehrels
74f5465516
[get_turns][test] exclude failing case for clang/release
2015-10-14 16:30:51 +02:00
Adam Wulkiewicz
908ac29ecb
[test][get_turns] Add test case for L/L.
2015-08-05 01:03:42 +02:00
Adam Wulkiewicz
4be351e433
[test][get_turns] Update the tests, enable previously failing ones.
...
Instead of expecting invalid results, disable 2 still failing tests.
2015-03-14 04:06:12 +01:00
Adam Wulkiewicz
d8263e54f2
[test][get_turns] Add tests failing for MinGW guarded with #ifdef.
2015-03-11 19:51:48 +01:00
Adam Wulkiewicz
13f55b5094
[test][get_turns] Add a L/L case - collinear, opposite, very long segment.
2015-02-19 17:15:27 +01:00
Adam Wulkiewicz
195e2d4ad5
[test][get_turns] Add/enable test cases for L/L.
2015-02-13 21:34:18 +01:00
Adam Wulkiewicz
1e9eae5a49
[test][algorithms][get_turns] Use BOOST_GEOMETRY_CONDITION macro for constant conditions.
2015-02-11 15:57:50 +01:00
Adam Wulkiewicz
4f2fc67bd6
Merge branch 'develop' into fix/warnings
2015-02-11 15:55:31 +01:00
Adam Wulkiewicz
aff82800c4
[test][algorithms] Use BOOST_GEOMETRY_CONDITION macro for constant conditions.
2015-02-11 15:53:50 +01:00
Adam Wulkiewicz
db3743b4fd
[test][get_turns] Add failing L/L case (inconsistencies/arithmetic).
2015-02-11 14:42:45 +01:00
Menelaos Karavelas
c38d764b51
[test][algorithms][turns] remove trailing spaces
2015-02-03 21:54:19 +02:00
Adam Wulkiewicz
e08de8e48b
[test][get_turns] Add tests for L/L collinear spikes.
2015-02-03 18:55:50 +01:00
Adam Wulkiewicz
d7583b3cf8
[test][get_turns] Add the test for L/L collinear spike.
2015-02-02 02:14:47 +01:00
Adam Wulkiewicz
b56428e073
[test][get_turns] Add more L/L failing cases (commented out).
2015-02-02 00:33:10 +01:00
Adam Wulkiewicz
522ff4eaf1
[test][get_turns] Add failing case for L/L, commented for now.
2015-01-30 02:19:45 +01:00
Adam Wulkiewicz
8fe51dbd6c
[test] Remove the #includes of geometry.hpp and multi/* from the relops tests
2014-06-13 18:48:14 +02:00
Adam Wulkiewicz
aea578c602
[get_turns] Fix turn operation is_collinear values for L/L and L/A.
...
is_collinear for the first endpoint of L is now unified and is always equal to FALSE.
Add tests of is_collinear. It is tested by passing 4th and 5th char in the expected turn string (= means collinear, + means non-collinear), e.g. "mxi=+" for L/L means that L1 ends in this IP and was collinear before meeting the Point, L2 is going "inside" intersection and wasn't collinear before.
Replace method_and_operation_replacer with turn_transformer.
2014-05-04 22:31:13 +02:00
Adam Wulkiewicz
8775e65b20
[get_turns] Add tests for t-spikes vs collinear internal pt for L/L
2014-05-03 04:11:22 +02:00
Adam Wulkiewicz
7192e6cbf6
[get_turns] Add more tests for t-spikes for L/L
2014-05-03 04:02:44 +02:00
Adam Wulkiewicz
d4d7bf9657
[get_turns] Fix the generation of some special cases of touch-spike-turns for L/L and L/A
2014-05-03 02:40:21 +02:00
Adam Wulkiewicz
288c7e6980
[get_turns] Fix for L/L spike vs. endpoint for the same direction segments. Add failing test cases for spikes touching internal point
2014-05-01 12:37:54 +02:00
Adam Wulkiewicz
566957de29
[test][get_turns] Add failing test cases for L/L
2014-04-30 12:57:39 +02:00
Adam Wulkiewicz
2349c817e2
[get_turns] Fix turns generation for double collinear spikes.
...
Add check if a spike Point is realy an IP.
2014-04-28 12:21:06 +02:00
Adam Wulkiewicz
b4b902ac85
[get_turns] Add the support for spikes for Linear Geometry in get_turns_linear_areal
2014-04-24 18:41:37 +02:00
Adam Wulkiewicz
babe91b210
[relate][get_turns] Add the support for spikes in relate(L/L). Fix errors in get_turns L/L.
...
Some asserts are invalid when 'x' operation can be somewhere in the middle (boundary_checker).
boundary_checker::is_boundary() function removed since it's not used anywhere.
Errors in get_turns are related to the handling of touches turn. t,i/i must be handled and is_collinear must be set in operations for spikes.
2014-04-23 23:43:00 +02:00
Adam Wulkiewicz
973e5a58bc
[get_turns] Add handling of spikes for L/L for endpoints
2014-04-23 22:09:00 +02:00
Adam Wulkiewicz
9ee78e4686
[get_turns] Handle m spike for L/L, add more tests
2014-04-23 12:53:36 +02:00
Adam Wulkiewicz
3fc8acc3f9
[get_turns] Add the generation of spike IPs for L/L non-endpoint touching and collinear-opposite segments
2014-04-22 16:11:04 +02:00
Adam Wulkiewicz
12797dbfb7
[get_turns][relate] Handle spikes for L/L !opposite collinear and equal turns.
...
2 Turns are generated for a spike, one with operation_blocked the second one with operation_intersection.
relate_linear_linear is not working yet, for now it is only ensured that boundaries will not be checked for those turns, which would result with assert failure.
TODO: opposite collinear and equal, touches c/c and endpoints intersecting a spike + the adaptation of relate(L,L).
2014-04-20 01:36:08 +02:00
Adam Wulkiewicz
ca0c8b97df
[get_turns] Fix turns dumplication for L/L.
...
Change the ignoring check calculation in get_turn_info_for_endpoint.
Add additional parameters to the second version of collinear_opposite<>::apply() defining if the pk and/or qk are valid (in other words current segment is NOT the last one).
Also make ignoring check for last endpoint in L/A more clear.
2014-04-03 11:58:50 +02:00
Adam Wulkiewicz
2f9f454334
[get_turns] fix for MultiLinestrings containing Ls with equal points
...
In this case no sections were generated for those "empty" Linestrings but if there were some sections already generated they could be marked as last_non_duplicated.
2014-04-02 20:21:32 +02:00
Adam Wulkiewicz
97edf7da65
[test/get_turns] expected_pusher is now using FwdRange concept, some tests added
2014-03-13 12:05:06 +01:00
Adam Wulkiewicz
e8b5e64f2b
added empty test for get_turns(L,A) and some small changes like naming, comments. to_svg() (test debug helper tool) is now using turn_info defined in relate::turns, also traversal info output commented out.
2014-02-27 15:20:51 +01:00
Adam Wulkiewicz
0a70310124
get_turns(L,L) added turn_operation_linear containing info about the position of the IP in the segment
2014-02-25 13:39:09 +01:00
Adam Wulkiewicz
a68d9f5855
fixed GCC compilation errors
2014-02-22 04:29:11 +01:00
Adam Wulkiewicz
b03601fab8
get_turns(L,L) fixed 2x IPs generation for a special case of collinear, opposite last Ls segment
2014-02-19 02:26:15 +01:00
Adam Wulkiewicz
b943f3de26
get_turns(L,L) another special case handled
2014-02-12 16:53:06 +01:00
Adam Wulkiewicz
5bb4c45ff5
get_turns(L,L) fixed another case for opposite linestrings
2014-02-11 17:06:43 +01:00
Adam Wulkiewicz
4a4acf00cb
[get_turns] fixed error in get_turn_info_linear_linear - invalid operations generated for the endpoint-internal IP for opposite segments
2014-02-11 02:57:39 +01:00
Adam Wulkiewicz
21dfef6f05
get_turn_info_linear_linear<>::handle_first_last() method moved to better reflect calling dependency
2014-02-11 01:30:22 +01:00
Adam Wulkiewicz
87ab6f8ece
fixed VS compilation errors (overlay:: removed), removed relate()-related code from get_turns_linear_linear.cpp test
2014-02-01 23:43:54 +01:00
Adam Wulkiewicz
459bb46dff
detail::relate::relate() result now contains correct dim(E(A) and E(B)), T is put for dimensions > 9
2014-01-29 23:37:49 +01:00
Adam Wulkiewicz
bf51c9fc87
added test for get_turns(L,L)
2014-01-29 23:12:38 +01:00