Menelaos Karavelas
8f46bb45e8
[set ops] remove debug code; code is called from unit tests
2014-04-03 03:55:04 +03:00
Menelaos Karavelas
dd13023f5f
[set ops] remove print-outs inside the file
2014-04-03 03:46:37 +03:00
Menelaos Karavelas
b88b4e3d71
[set ops] re-arranged code a bit; moved tests from algorithms/detail/overlay/linear_linear.hpp to currect branch
2014-04-03 03:43:11 +03:00
Menelaos Karavelas
2d1eaf2ef3
[set ops] better/shorter implementation for follow of L/L geometries; fix bug in previous code (linestrings in multilinestrings that had no turns where not reported in difference)
2014-04-03 02:54:33 +03:00
Menelaos Karavelas
db2079834f
[set ops] make some stylistic changes and code re-arrangement
2014-04-03 02:54:14 +03:00
Menelaos Karavelas
27921c5a14
[set ops] remove include of multi-point geometry
2014-04-03 02:51:55 +03:00
Menelaos Karavelas
be2795a6f2
[set ops] add missing include
2014-04-03 02:51:16 +03:00
Menelaos Karavelas
5be2682000
[set ops] rename test_set_ops_common.hpp to test_set_ops_linear_linear.hpp
2014-04-03 02:50:30 +03:00
Menelaos Karavelas
52b0018eaa
[set ops] add missing include
2014-04-03 01:04:20 +03:00
Menelaos Karavelas
4295f0bcf7
[set ops] add more examples with duplicate points and zero length linestrings
2014-04-03 00:36:44 +03:00
Menelaos Karavelas
df33e8a92a
[set ops] modify way of calling multilinestring_equals (due to changes in multilinestring_equals)
2014-04-03 00:08:11 +03:00
Menelaos Karavelas
a806cd0419
[set ops] change macro used for debugging
2014-04-03 00:04:50 +03:00
Menelaos Karavelas
b0e2521fa1
[set ops] allow equality for multilinestrings with duplicate linestrings
2014-04-03 00:02:13 +03:00
Menelaos Karavelas
4ceea13cf4
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/setops
2014-04-02 21:47:09 +03: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
Menelaos Karavelas
598b6a51cf
Merge branch 'feature/relate' of https://github.com/boostorg/geometry into feature/setops
2014-04-02 11:09:17 +03:00
Menelaos Karavelas
39a521934d
[intersection] guard print-outs within a #ifdef/#endif block
2014-04-02 10:31:43 +03:00
Adam Wulkiewicz
0c6a0d1890
[relate] Add HandleOtherTag to turns::less_seg_dist_op<>, change TurnAnalyser concept.
...
HandleOtherTag can be used to define how should the seg_id of the other geometry be used in comparison.
TurnAnalyser now must have two versions of apply(). One is called for it != last and the other one for it == last.
2014-04-02 01:38:19 +02:00
Adam Wulkiewicz
8774426417
[relate] rearrange updates of result in interrupt policy for A/A to show the handling pattern
2014-04-01 22:39:23 +02:00
Adam Wulkiewicz
f2fea86f7e
[relate] fix special case of L/L and L/A - going out and in on the same point but with different segment.
...
Linestring going into the exterior of the second geometry and then going inside on the same point. In this case the exterior wasn't taken into account. Now in addition to the Point, seg_id is checked. The check should also be faster since integral segment ids are checked before Points.
exit_watcher methods now take Turn instead of Point, seg_id and other_id.
Also added some tests for non-simple A/A.
2014-04-01 22:20:29 +02:00
Menelaos Karavelas
ffdb1d34f0
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/setops
...
Conflicts:
include/boost/geometry/algorithms/detail/relate/less.hpp
2014-04-01 04:05:50 +03:00
Menelaos Karavelas
4101d4368f
[intersection] fix expected intersection in two examples in unit test
2014-04-01 03:47:41 +03:00
Adam Wulkiewicz
759258563e
Merge branch 'feature/relate' of github.com:boostorg/geometry into feature/relate
2014-04-01 00:12:22 +02:00
Adam Wulkiewicz
0a49cb1e3e
[relate] support simple, equal geometries in currently used, simplified interrupt_policy
2014-04-01 00:11:57 +02:00
Adam Wulkiewicz
c27671336c
Merge pull request #4 from mkaravel/feature/point_iterator
...
Merge feature/point_iterator into develop
2014-04-01 00:07:20 +02:00
Menelaos Karavelas
415500955a
[point iterator] minor staylistic changes in unit test for concatenate iterator;
2014-03-31 14:52:03 +03:00
Adam Wulkiewicz
2fc1ca4e9c
[relate] Fix for_each_disjoint_geometry_if return value for Multi Geometries
...
Fix GCC warnings.
2014-03-31 09:41:17 +02:00
Menelaos Karavelas
861e094b7c
[point_iterator] add separate unit test for flatten iterator; updated Jamfile to run the unit tests for point/concatenate/flatten iterator;
2014-03-31 09:33:23 +03:00
Adam Wulkiewicz
b6bf7038c9
Merge branch 'develop' into feature/relate
2014-03-29 23:46:22 +01:00
Adam Wulkiewicz
fc1a2545a5
[get_turns] Fix test for L/L and L/A - missing functions in expected_pusher range
2014-03-29 14:41:51 +01:00
Adam Wulkiewicz
b0221bcda1
[get_turns] fix invalid equal<> use (convert() for uninitialized Point) in get_turn_info_for_endpoints and get_turn_info_linear_areal
2014-03-29 14:08:11 +01:00
Adam Wulkiewicz
8f7e0a39e4
[relate] fix GCC compile errors - hiding of template parameters and unknown identifier in not used part of the code
2014-03-29 13:36:51 +01:00
Menelaos Karavelas
5da4191c59
[point_iterator][concatenate_iterator] add separate unit test;
2014-03-28 11:57:35 +02:00
Menelaos Karavelas
d5d4b08a0c
[point_iterator] minor stylistic changes;
2014-03-28 11:57:05 +02:00
Menelaos Karavelas
38682d9b41
[point_iterator] remove function call that is not meaningful;
2014-03-28 00:45:06 +02:00
Menelaos Karavelas
e1f39cd065
[point_iterator] minor and stylistic changes; in concatenate_iterator use enable_if_c instead of enable_if (shorter code);
2014-03-28 00:30:50 +02:00
Menelaos Karavelas
5e96c27c84
[point_iterator] make private the constructor of point_iterator that takes the base class as argument;
2014-03-28 00:11:16 +02:00
Menelaos Karavelas
8d09814c50
[point_iterator] adda bit more testing (dereference point iterator); now using boost::assign::tuple_list_of instead of multipoints for giving expected output;
2014-03-27 23:33:54 +02:00
Menelaos Karavelas
c127c56871
[point_iterator] changes due to new location of files and namespaces used;
2014-03-27 23:32:05 +02:00
Menelaos Karavelas
25e746cd2a
[point_iterator] move code to new namespace; remove comments; points_begin/point_end now return point_iterator<Geometry> class (suggested by Adam);
2014-03-27 23:29:37 +02:00
Menelaos Karavelas
88264401a1
[point_iterator] change namespace from core_dispatch to dispatch; fix macros of files due to new location;
2014-03-27 23:28:07 +02:00
Menelaos Karavelas
5d27f4f301
[point_iterator][flatten_iterator] polish code a bit; fix problems with copy constructor;
2014-03-27 23:27:23 +02:00
Menelaos Karavelas
f5d48b3798
[point_iterator][concatenate_iterator] fix issues in copy constructor;
2014-03-27 23:26:25 +02:00
Menelaos Karavelas
8a8132e6c0
[point_iterator] moved files to proper directories
2014-03-27 23:23:51 +02:00
Adam Wulkiewicz
438494e045
[relate] add result interrupt check to no_turns_xxx predicates
2014-03-27 16:50:15 +01:00
Adam Wulkiewicz
7df83d69a7
[relate] add support for no-IP casesin A/A, fix for_each_disjoint_geometry_if for Multi Geometries.
...
Fix a bug in for_each_disjoint_geometry_if resulting in assert failure if no turns are generated. This affects L/L, L/A and A/A.
Enable all combinations of Areal geometries.
Add ignoring of empty disjoint geometries in L/A and A/A.
Add tests for disjoint geometries.
2014-03-27 16:35:43 +01:00
Menelaos Karavelas
64c11353be
[point_iterator] move flatten and concatenate iterator implementation in iterators/ directory;
2014-03-27 02:25:38 +02:00
Menelaos Karavelas
555947d8e2
[point_iterator] define points_{begin,end} as inline free functions;
2014-03-27 02:11:02 +02:00
Adam Wulkiewicz
d4418204ec
[relate] add support for non-simple non-equal Polygons in A/A.
...
Currently simple interrupt policy is used.
This approach works is there are IPs, Polygons are simple and not equal.
2014-03-27 00:30:43 +01:00
Adam Wulkiewicz
77c7317cb1
[relate][get_turns] move single_geometry to bg::detail, fix get_turn_info test
...
also create a preliminary version of relate::areal_areal (copied from linear_areal)
in get_turn_info test mutable begin() and end() because it seems that Range can't handle immutable Ranges
2014-03-26 18:37:31 +01:00