Commit Graph

2097 Commits

Author SHA1 Message Date
Menelaos Karavelas
e87d9ccb55 added helper function to print turns 2014-02-10 11:06:19 +02:00
Menelaos Karavelas
7abd905013 added custom turn comparison functors 2014-02-10 10:56:33 +02:00
Menelaos Karavelas
0621719260 Merge branch 'feature/relate' of github.com:mkaravel/geometry into feature/relate
Conflicts:
	include/boost/geometry/algorithms/detail/overlay/get_turns.hpp
2014-02-04 15:19:05 +02:00
Adam Wulkiewicz
2e4bafa27c fixed #define, added some comments 2014-02-03 19:45:07 +01:00
Adam Wulkiewicz
2fff49a684 fixed compilation error - missing namespaces 2014-02-03 18:43:41 +01:00
Adam Wulkiewicz
b7054cffc2 front() and back() helper functions moved to separate file, updated copyright info 2014-02-03 18:38:04 +01:00
Adam Wulkiewicz
30f06fede7 added relate(Point, Box), added transpose() to relate result, update_dimension renamed to update, optimized - runtime parameters of set and update replaced by template parameters, added static_assert checking dimension 2014-02-02 18:29:42 +01:00
Adam Wulkiewicz
2804514b3a removed invalid point_in_geometry() implementation for Box, geometry::within() reverted in distance() and disjoint() 2014-02-02 15:31:10 +01:00
Adam Wulkiewicz
fe09a6dc2e fixed some warnings (unused variables, signed-unsigned comparison) 2014-02-02 00:58:44 +01:00
Adam Wulkiewicz
65721a3d89 added missing get_turn parameters to get_turn_info<>::apply() in get_turn_info.cpp unit test - new TurnPolicy interface 2014-02-02 00:21:00 +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
bf51c9fc87 added test for get_turns(L,L) 2014-01-29 23:12:38 +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
Menelaos Karavelas
8c0e7149f2 fixed issue with circular dependence on disjoint box-box computation;
based on relevant changes in develop branch
2014-01-29 09:43:00 +02: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
87b9fef6a1 [doc] GitHub repository info added to the Introduction 2014-01-23 02:31:53 +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
Bruno Lalande
efd1540b1a Change test_transform_point() to use check_transform(). 2014-01-08 22:36:49 +00:00
Bruno Lalande
be9341df70 Split test_transform_linestring into test/check (in preparation to testing variants). 2014-01-08 17:59:52 +00:00
Bruno Lalande
3019f29a5b Fixed test issue - the test was comparing out1 with itself rather than out2, and started failing when corrected because inappropriately implemented for CS transformations. 2014-01-08 17:54:17 +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