Commit Graph

1223 Commits

Author SHA1 Message Date
Adam Wulkiewicz
fe09a6dc2e fixed some warnings (unused variables, signed-unsigned comparison) 2014-02-02 00:58:44 +01:00
Adam Wulkiewicz
c0fdceee0d added missing parameters to get_turn_without_info - new GetTurnPolicy interface 2014-02-02 00:05:30 +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
a739ebe714 fixed a compilation error in point_in_geometry called for non-polygon Geometry 2014-02-01 23:24:55 +01:00
Adam Wulkiewicz
1c021516de fixed compilation error in get_turns_cs - new interface of TurnPolicy 2014-02-01 22:31:54 +01:00
Adam Wulkiewicz
a412070362 used the old turn policy in default get_turns() for backward compatibility 2014-02-01 21:17:30 +01:00
Adam Wulkiewicz
51d9641505 get_turn_info_linear_linear policy and related code moved from namespace relate to overlay/get_turns and connected with the official get_turns() 2014-02-01 19:05:58 +01:00
Adam Wulkiewicz
ff9596578f Merge branch 'develop' into feature/relate 2014-02-01 13:41:53 +01:00
Adam Wulkiewicz
89f7ce15b0 fixed compilation errors 2014-02-01 13:37:41 +01:00
Adam Wulkiewicz
8a31265497 Added template parameters to less_seg_dist_op<>, it is now possible to define operations order and geometry id in place 2014-02-01 01:19:12 +01:00
Adam Wulkiewicz
b9d7d7f975 changed relate() to use new turns info for linestrings, the same implementation state - does not work for self-touching Linestrings or MultiLinestrings 2014-01-31 22:13:13 +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
3e99412c02 [index] varray: templated rvref workaround replaced with the fixed Boost.Move macro 2014-01-29 20:19:41 +01:00
Adam Wulkiewicz
0874a880b5 Added methods replacement for some cases of non-endpoint IPs, e.g. touching c or e is replaced by m or t. Methods are set WRT IPs, not segments, i.e. if points of both intersecting segments are equal to the IP the method is e. In addition to this x/x was handled, e.g. t+x/x is replaced by e+c/c. 2014-01-29 17:24:46 +01:00
Adam Wulkiewicz
9c63a58412 added proper operations generation for non-endpoint IPs 2014-01-29 15:09:54 +01:00
Adam Wulkiewicz
9d1a1011c2 added calculation of methods t or m for endpoints 2014-01-29 13:54:53 +01:00
Adam Wulkiewicz
06f0c0e418 removed two equal_point_point() calls 2014-01-28 13:32:19 +01:00
Adam Wulkiewicz
abbbcf73ab removed most of equal_point_point() calls by simpler checks using IntersectionResult 2014-01-28 00:58:04 +01:00
Adam Wulkiewicz
b70c886f2e IP duplicates handled for endpoints 2014-01-27 16:44:11 +01:00
Adam Wulkiewicz
b83d88476c added missing typename keyword 2014-01-26 01:36:09 +01:00
Adam Wulkiewicz
f24f7e2e1b implemented more consistent segments intersections (is_last used also for non-collinear segments), not needed checks for duplicated IPs commented out 2014-01-25 03:01:36 +01:00
Adam Wulkiewicz
e7992832a9 added a few test cases 2014-01-24 20:33:51 +01:00
Adam Wulkiewicz
37b6383474 a few more duplicated endpoints handled 2014-01-24 17:48:02 +01:00
Adam Wulkiewicz
bd686badd7 most of the duplicated endpoints handled 2014-01-24 16:58:11 +01:00
Adam Wulkiewicz
506b83ea42 handled some of the duplicated IPs 2014-01-24 00:58:29 +01:00
Adam Wulkiewicz
a9f1c8e00a handled all endpoints, for now method is not set, IPs may be duplicated and invalid value is returned from handle_first_last() 2014-01-23 18:23:12 +01:00
Adam Wulkiewicz
af6aeb77db fixed comments with the segments intersection result analysis 2014-01-23 01:19:20 +01:00
Adam Wulkiewicz
33f9c05258 added small optimization in range_collect_vectors - erase() replaced by copy from back and pop_back() 2014-01-22 22:14:09 +01:00
Adam Wulkiewicz
50fe5a7e67 added copyrights 2014-01-22 22:02:22 +01:00
Adam Wulkiewicz
7e3d0571f9 fixed error in collect_vectors - vectors previously gathered for other rings were removed based on the direction of the last vector of currently analysed ring 2014-01-22 22:00:29 +01:00
Adam Wulkiewicz
3f667361d6 get_turns() for endpoints L/L started from the beginning, added copyrights info, added comments regarding segment intersection results analysis 2014-01-22 21:42:44 +01:00
Adam Wulkiewicz
594d025e95 overlay:: equal<> and collinear<> used to calculate the operations for the first point of P LS in adequate cases 2014-01-09 19:36:31 +01:00
Bruno Lalande
cfba8409c5 Made transform variant-aware. 2014-01-09 09:09:56 +00:00
Adam Wulkiewicz
0b50ebc2e8 added preliminary version of the new algo for the first point of P LS 2014-01-08 18:45:19 +01:00
Adam Wulkiewicz
a326d7a258 small changes of methods/operations and comments to generation of turns for the first points 2014-01-08 17:09:59 +01:00
Adam Wulkiewicz
518156a727 [geometry] begined the new implementation of handling of first and last LS point in get_turns(), for now considered cases when both LSs starts on the same segment 2014-01-07 21:46:46 +01:00
Bruno Lalande
6646a16d7f Added strategy resolution stage to transform algorithm. 2014-01-05 17:53:08 +00:00
Adam Wulkiewicz
2799cb867b [geometry] handled IP on the last point of LS for equal and collinear case, for the first point method may now be set to equal or collinear 2014-01-05 17:27:31 +01:00
Bruno Lalande
8d58aaf8b9 Made touches (1 param version) variant aware. 2014-01-05 15:54:14 +00:00
Adam Wulkiewicz
c1530d41f9 [geometry] handled IP for the first point of a LS when IP is equal to the second point of the first segment of the other LS to avoid generation of 2 IPs for the same point 2014-01-04 23:51:12 +01:00
Adam Wulkiewicz
def187c977 added generation of IP for the first point of a Linestring - c+c/c, c+i/u or c+u/i 2014-01-04 01:11:43 +01:00
Bruno Lalande
87a5a242f4 Made touches (2 params version) variant aware. 2014-01-02 09:34:31 +00:00
Bruno Lalande
ea3cf83bf8 Fixed how resolve_strategy::simplify_insert is called from the public functions 2013-12-24 22:27:38 +00:00
Bruno Lalande
4919e00e2d Made simplify variant-aware 2013-12-24 22:15:15 +00:00
Bruno Lalande
2ddcf5dccf Added resolve_strategy stage for simplify_insert. 2013-12-23 12:19:25 +00:00
Bruno Lalande
5e946a1c1e Added resolve_strategy stage for simplify. 2013-12-22 23:18:29 +00:00
Adam Wulkiewicz
eba7d26db4 [geometry] in relate() called dispatch::get_turns instead of higher level one to avoid geometries switching, added generation of SVGs for some special cases 2013-12-22 23:35:18 +01:00
Adam Wulkiewicz
4f07087db5 [geometry] handled more cases in relate(Ls, Ls) 2013-12-22 04:00:15 +01:00
Adam Wulkiewicz
106f3da5ae [geometry] fixed some errors in relate(Ls, Ls): checked terminal points of both linestrings, treated touch with x/x as ii 2013-12-21 02:41:48 +01:00
Adam Wulkiewicz
382e975f2f [geometry] added test file for relate(), fixed error in linear_linear, added tag-dispatched detail::relate() 2013-12-21 01:49:40 +01:00