2201 Commits

Author SHA1 Message Date
Barend Gehrels 0879dccc81 [traversal] handle clustered turns with interior/exterior touching point by
discarding those turn_points (because detecting that in cluster or switch
and adapt behaviour is way more complex)
2016-06-22 18:44:17 +02:00
Adam Wulkiewicz 699df472e7 [test][setops] Use multi-geometries as output types (to simplify debugging). 2016-06-21 23:55:57 +02:00
Adam Wulkiewicz 8147014095 Merge branch 'develop' into feature/sph_seg_inters
Conflicts:
	test/algorithms/overlay/overlay_cases.hpp
2016-06-21 16:53:33 +02:00
Adam Wulkiewicz 6fd54716a6 [test][buffer] Add failing test cases.
Add overload of testing function checking the number of polygons and
holes in the buffer output.
2016-06-21 16:46:52 +02:00
Adam Wulkiewicz ff77e78562 [test][setops] Add failing test cases. 2016-06-21 16:45:46 +02:00
Adam Wulkiewicz 94b2ff8f10 [test][difference][union] Add failing cases. 2016-06-20 15:28:51 +02:00
Adam Wulkiewicz b9c1456c08 [test][intersects] Remove unused typedefs. 2016-06-13 10:17:53 +01:00
Adam Wulkiewicz 819919c913 Merge branch 'develop' into feature/sph_seg_inters
Conflicts:
	include/boost/geometry/strategies/cartesian/cart_intersect.hpp
2016-06-13 09:50:06 +01:00
Barend Gehrels f5cbd59664 [test] update difference test, where not all is valid yet 2016-06-08 15:05:32 +02:00
Barend Gehrels 3d5906f1e8 [traversal] revised switch detector because could not get previous approach
working for the last cases and for newly created connected interior rings. The new approach is much simpler and based
on regions (connected rings, connected via interiors) and works for almost
all cases including newly created connected interiors. Last cases still to
be checked though.

It does not traverse through turns, but instead navigates through rings
2016-06-08 14:53:49 +02:00
Barend Gehrels 8a1c3e99c6 [test] add (currently failing) testcase 2016-06-08 12:20:56 +02:00
Adam Wulkiewicz 841f469947 [test][intersects][within] Add test cases for geometries using different point types. 2016-06-06 21:14:56 +02:00
Adam Wulkiewicz a2eeba8f0e [test][relops] Add spherical Pt/Areal test cases. 2016-06-06 17:21:57 +02:00
Adam Wulkiewicz 28e716e9e1 [test][relops] Add spherical test cases. 2016-06-03 03:11:37 +02:00
Adam Wulkiewicz 2f4d322d61 [test][length][perimeter] Add prefix to the test names in order to group them properly in the regression matrix. 2016-06-01 16:25:36 +02:00
Barend Gehrels e5652cffe1 [test] add optional check of input validity 2016-06-01 13:48:20 +02:00
Barend Gehrels 597ea22bef [test] test validity now that input is valid, and add testcases for
some deliberately invalid input
2016-06-01 13:39:01 +02:00
Barend Gehrels 421be3ca7f [test] make the input of a dozen of testcases valid 2016-06-01 13:35:43 +02:00
Barend Gehrels ee38e20243 [test] remove var which is not used anymore 2016-06-01 12:36:43 +02:00
Barend Gehrels 1b5efbaeb7 [traverse] fix switch cases on first visit by extracting that code
to separate method and call it twice
2016-06-01 12:36:08 +02:00
Barend Gehrels f62503c2d4 [traverse] implement zones in traversal switch detections 2016-06-01 10:34:00 +02:00
Adam Wulkiewicz af634030ff Merge pull request #349 from vissarion/feature/perimeter
Feature/perimeter
2016-05-28 14:08:34 +02:00
Adam Wulkiewicz 20a759bd12 [test][equals] Add spherical test cases (one failing). 2016-05-28 14:07:11 +02:00
Adam Wulkiewicz 0f53927bae [test][relops] Add tests for spherical CS for the rest of the relops besides equals(). 2016-05-26 22:45:23 +02:00
Vissarion Fysikopoulos 78961eaf08 [test] [perimeter] Minor changes in perimeter tests to reflect comments. 2016-05-26 10:42:23 +03:00
Vissarion Fysikopoulos 218c554091 [test] [perimeter] Minor changes in perimeter tests to reflect comments. 2016-05-25 16:39:23 +03:00
Vissarion Fysikopoulos 50846babb3 [test] [perimeter] Tests for perimeter. 2016-05-25 14:59:06 +03:00
Adam Wulkiewicz d375f140fe [test][relops] Add spherical within and covered_by tests.
Move tests of each algorithm into separate directories.
2016-05-25 02:20:33 +02:00
Vissarion Fysikopoulos 7bdee87a22 [test] [length] Fixing issues from comments in length tests. 2016-05-23 13:19:00 +03:00
Adam Wulkiewicz 57aae02194 [test][relate] Enable one cartesian L/L test case only for double coordinates. 2016-05-20 00:19:02 +02:00
Adam Wulkiewicz 7bf78f91df [test][relate] Add test cases for spherical Linear and Areal geometries. 2016-05-20 00:18:11 +02:00
Vissarion Fysikopoulos 7423d61a8d [test] [length] Tests for length algorithm. 2016-05-19 18:56:18 +03:00
Barend Gehrels dc63848782 [traverse] check other ring while determining switches 2016-05-18 12:20:17 +02:00
Barend Gehrels 1d273e223b [traverse] touch detection for clusters, implemented partly.
This still causes some regressions and fixes other (about equally amount) cases
2016-05-11 14:09:03 +02:00
Barend Gehrels 49a2062627 [test] add testcase variations for buffer and a note: one test is now failing 2016-05-05 12:56:53 +02:00
Barend Gehrels 1e99b1adf9 [traverse] use switch_source in clusters 2016-05-05 12:25:20 +02:00
Barend Gehrels 9ed3809b58 [test] investigated failing new case, it is caused by rescaling/missing
intersection point
2016-04-27 14:10:10 +02:00
Barend Gehrels 5e0cac49fd [test] fix expectations of todays added test, they were reversed 2016-04-27 13:56:38 +02:00
Barend Gehrels a2a0586abf [cluster] instead of a plain set, cluster info is now moved to a separate
structure, and a switch_source is added (not yet used)
2016-04-27 13:20:00 +02:00
Barend Gehrels dbea29f121 [test] make #case_108_multi and add to intersection/difference, which
are both not yet correct (unexpectedly).
Union is correct but still not valid
2016-04-27 12:50:12 +02:00
Barend Gehrels 4d6afb1466 [test] enable validity testing by default for difference tests 2016-04-27 12:06:07 +02:00
Barend Gehrels c2baa5c46b [test] add testcases for two tickets 2016-04-27 11:42:16 +02:00
Barend Gehrels b748c8c29d [test] remove handle_touch unit test which is now covered by traversal itself 2016-04-27 11:41:27 +02:00
Barend Gehrels df9a97dea8 [traverse] enhance validity by checking touching (uu or combined turns creating a touch)
in clusters.
2016-04-27 11:39:40 +02:00
Barend Gehrels aaa629e2cc Merge branch 'develop' into feature/cluster_touch 2016-04-27 10:51:54 +02:00
Adam Wulkiewicz bd497804be [test][get_turns] Add more spherical A/A cases. 2016-04-25 13:18:50 +02:00
Adam Wulkiewicz 6d8e20b136 [test][get_turns] Correct failing A/A test case. 2016-04-24 03:19:25 +02:00
Adam Wulkiewicz 538a735718 [test][get_turns] Add spherical A/A test.
Replace explicitly specified Version of operations testing (linear v.s.
areal) with overloaded function automatically picking the correct check.
2016-04-22 23:04:40 +02:00
Adam Wulkiewicz 5c53a86d86 [test][get_turns] Add spherical L/A test cases.
Use more precise coordinates in one case of spherical L/L to avoid errors
when coordinate_type is long double.
2016-04-22 17:44:08 +02:00
Adam Wulkiewicz 461630d92c [test][get_turns] Add test for spherical L/L. 2016-04-21 01:10:09 +02:00