Barend Gehrels
ea4408dbdb
Fixed renaming in test
2014-03-30 15:17:07 +02:00
Barend Gehrels
2521ce2193
Moved GEOS testcases from traverse to union/intersection/difference
2014-03-30 14:54:24 +02:00
Barend Gehrels
46125dccb5
Removed distance (replaced by fraction) and calculate_distance_policy file, not used anymore
2014-03-30 13:50:20 +02:00
Barend Gehrels
77703f439e
[unit tests] Fixed traverse cases changed by new approach
2014-03-30 13:03:36 +02:00
Adam Wulkiewicz
2a30c8ac0d
[geometry] Fixes after merge in get_turns - use of arrivals, compilation fixes in relate, use of fractions for sorting turns in relate
2014-03-28 14:55:28 +01:00
Barend Gehrels
40f8174da4
[geometry] After merge, updated test_get_turns by providing segment_ratio_type
2014-03-26 14:38:43 +01:00
Barend Gehrels
da7c741eb8
Merge branch 'develop' into rescale_to_integer
...
Conflicts:
include/boost/geometry/algorithms/detail/overlay/get_intersection_points.hpp
include/boost/geometry/algorithms/detail/sub_geometry.hpp
include/boost/geometry/algorithms/disjoint.hpp
include/boost/geometry/algorithms/touches.hpp
include/boost/geometry/algorithms/within.hpp
include/boost/geometry/policies/relate/intersection_points.hpp
test/algorithms/intersection.cpp
test/algorithms/overlay/get_turn_info.cpp
2014-03-26 13:33:15 +01:00
Adam Wulkiewicz
830a073c0d
Merge branch 'feature/relate' into develop
2014-03-25 15:10:48 +01:00
Adam Wulkiewicz
ccbc15b8a1
[get_turns][relate] handle doubled points in relate L/L and L/A
...
add info about the first/last non-doubled section to sectionalize
modify get_turns() to pass info about the first/last segment to TurnPolicy::apply()
modify parameters of TurnPolicy::apply()
add searching for the next non-equal point in relate L/A when the segment of Linear must be checked if it starts in the interior or exterior of the Areal
add tests for relate and within
add relate L/A to Jamfile
2014-03-25 00:29:25 +01:00
Adam Wulkiewicz
b6fc144de7
[relate][within] add tests for Linestrings with duplicated points
2014-03-24 19:27:35 +01:00
Adam Wulkiewicz
5316d1f2ad
[geometry] replace sub_geometry::get() by sub_range(), fix invalid #includes
2014-03-23 17:16:56 +01:00
Adam Wulkiewicz
025bd3b2bc
[relate] overall cleanup, group_dim replaced by topological_dimension, group_tag by tag_cast, range moved to util/range.hpp, some temporary code commented out
2014-03-23 15:17:05 +01:00
Barend Gehrels
6e36e1b8f1
[geometry] Added comment for ticket #9756 it was invalid, polygons were not closed
2014-03-23 00:05:57 +01:00
Barend Gehrels
ad718d333d
[geometry] added testcase for ticket #9756 which is already fixed
...
in this branch
2014-03-22 23:53:52 +01:00
Barend Gehrels
3b8f444e6c
[geometry] added test to intersection unit test for issue reported at
...
2014/03/21 by 7415963@gmail.com
The issue is not fixed yet.
2014-03-22 23:48:07 +01:00
Adam Wulkiewicz
5eec228f10
[relate][get_turns] the code from handle_spike from get_turn_info_ll enclosed in spike detector (NOT FULLY WORKING)
2014-03-22 11:21:49 +01:00
Adam Wulkiewicz
21c42ed87e
[within][get_turns] implement within() using relate() for L/L and L/A. Add some basic/NOT_FULLY_WORKING handling of collinear spikes for get_turns(L/L)
2014-03-21 17:24:21 +01:00
Adam Wulkiewicz
f2b4ced41b
[relate] add test for Areal boundary equal to more than one Ls in MLs forming a linear ring
2014-03-20 01:06:15 +01:00
Adam Wulkiewicz
f9c0a09c38
[relate] implement proper handling of multiple rings while checing for equality with the linestrings, enable relate() for all ls- and poly-based geometries
2014-03-20 01:03:34 +01:00
Barend Gehrels
616e678ef1
[geometry] added first version of detail intersection_side function
...
To be used for buffer where robust info is needed of side of IP's
2014-03-19 17:01:02 +01:00
Adam Wulkiewicz
e0179e67e0
[relate] support ccw and open geometries, use closeable_view and reversable_view if needed
2014-03-18 23:27:18 +01:00
Adam Wulkiewicz
6106fe6d1b
[relate] change less_seg_dist_op comparator to support multipolygons
2014-03-18 11:43:35 +01:00
Adam Wulkiewicz
173371265f
[relate] fix II for LS on boundary going out and in to the boundary of another ring on the same IP
2014-03-18 00:52:20 +01:00
Adam Wulkiewicz
e461f1003b
[relate] fix duplication of points for BACK in L/A
2014-03-17 23:45:28 +01:00
Adam Wulkiewicz
3336212aaa
[relate] fix sorting by distance in less_seg_dist_op
2014-03-17 15:52:32 +01:00
Adam Wulkiewicz
d5935134ef
[relate] add interrupt policy for L/A
2014-03-17 15:23:35 +01:00
Menelaos Karavelas
4039c28497
removed commented lines as per Bruno's suggestion
2014-03-15 11:52:04 +02:00
Menelaos Karavelas
429b5e0037
implementation and unit test for bg::append for multi-linestring and multi-polygon
2014-03-14 23:04:01 +02:00
Adam Wulkiewicz
19837bbe03
[relate] L/A: fix generation of matrix elements for L collinear to boundary of A
2014-03-14 17:54:17 +01:00
Adam Wulkiewicz
8bd4efbc26
[relate] add support for non-simple polygons
2014-03-14 16:57:10 +01:00
Adam Wulkiewicz
80b1c54b65
[relate][get_turns] fix turn generation for last LS endpoint in get_turns(L,A), in relate(L,A) handle Linestrings starting from the inside
2014-03-14 13:05:51 +01:00
Adam Wulkiewicz
a6b0a32846
[relate] handle simple polygons in relate(L,A), remove some redundant code from L/L and L/A, add tests
2014-03-13 14:54:42 +01: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
4f32a3743f
[relate][get_turns] added not yet finished support for relate(L,A), changed operations generated by get_turns(L,A) for collinear segments of Areal geometry, fixed errors in relate(L,A)
2014-03-13 01:08:57 +01:00
Adam Wulkiewicz
3c4ed4e396
Merge branch 'feature/relate' of github.com:boostorg/geometry into feature/relate
2014-03-12 19:18:20 +01:00
Adam Wulkiewicz
924d222e7f
[relate][get_turns] fixed relate(L/L) error for collinear segments and a self-intersection in the middle, added is_collinear to turn_operation_linear, added setting of is_collinear to get_turns(L/L), fixed logic error in turns generation for endpoint-internal IP
2014-03-12 19:18:11 +01:00
Adam Wulkiewicz
3142975b72
[relate] supported ORed run-time masks
2014-03-12 12:39:20 +01:00
Adam Wulkiewicz
8e9a59bac3
[relate] helpers like segment_watcher, exit_watcher, etc. moved to a separate file, implemented preliminary version of L/A (commented out for now), found bug in L/L, added failing tests
2014-03-11 18:06:47 +01:00
Adam Wulkiewicz
09c41cb171
relate() - const MatrixOrMask may be passed to the function, the actual matrix is now stored in the result handler
2014-03-08 19:59:39 +01:00
Adam Wulkiewicz
1e6da76527
relate() implemented different interface, added support for complex masks passed in boost::tuple
2014-03-08 19:31:06 +01:00
Adam Wulkiewicz
b6ad82a0c2
relate() naming of results changed, added de4im matrix
2014-03-07 19:41:54 +01:00
Barend Gehrels
921c7d2f14
[geometry] splitted file zoom_to_robust.hpp into several files:
...
- get_max_size
- rescale_policy
- robust_type
- get_rescale_policy
2014-03-05 12:01:43 +01:00
Adam Wulkiewicz
9ff0624b41
relate(L,A) added preliminary implementation, for now working only for disjoint geometries
2014-03-04 17:37:12 +01:00
Adam Wulkiewicz
0147d4d2c3
get_turns(L,A) tests added
2014-03-04 14:36:42 +01:00
Adam Wulkiewicz
02cdc305d3
get_turns(L,A) - fixed turns generation for endpoints of collinear front/back segments, added some tests
2014-03-03 19:21:12 +01:00
Adam Wulkiewicz
ebaf26c0ff
get_turns(L,A) handled front endpoint
2014-03-03 13:36:23 +01:00
Adam Wulkiewicz
be1ac99a82
get_turns(L,A) added, the endpoints are NOT properly set yet!
2014-02-28 18:59:30 +01:00
Adam Wulkiewicz
18a29bac69
some comments changed
2014-02-28 13:00:50 +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
Barend Gehrels
1236aad099
[geometry] Added testcase for mailing list report 2014/02/23
2014-02-26 11:38:27 +01:00