Commit Graph

8536 Commits

Author SHA1 Message Date
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
Adam Wulkiewicz
b4417c40ad [relate] add basic get_turns interrupt policy for L/L 2014-03-17 14:16:25 +01:00
Menelaos Karavelas
79bbb5a408 [geometry][append] updated copyright headers 2014-03-17 09:51:37 +02:00
Menelaos Karavelas
971247df04 updated the documentation wrt multi-linestrings and multi-polygons 2014-03-17 09:42:14 +02:00
Adam Wulkiewicz
ac8d628b8e [relate] fix error in static handler set dispatch, require const boundary checkers in algorithms 2014-03-17 00:52:37 +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
Menelaos Karavelas
29b3b46e30 prototype implementation for set operations for pointlike-linear geometries; 2014-03-14 10:12:06 +02:00
Menelaos Karavelas
f934a3aa5f moved code to separate files;
added template parameter for enabling/disabling functionality wrt filtering turns, removing turns, and the parameters of the assign policy;
2014-03-14 10:11:02 +02: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
Menelaos Karavelas
0fc2b5cbeb fixed issue with ambiguous partial specialization; 2014-03-12 16:51:36 +02:00
Adam Wulkiewicz
3142975b72 [relate] supported ORed run-time masks 2014-03-12 12:39:20 +01:00
Menelaos Karavelas
39ccab7622 added one more template parameter (dimension for second point);
used to make sure that less is not called for points of different dimensions;
2014-03-12 11:23:09 +02:00
Menelaos Karavelas
d9e741c106 implemented set operations for pointlike-pointlike geometry combinations;
added unit tests for union, intersection and difference for pl-pl pairs;
2014-03-12 11:19:44 +02: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
fe0e34bff6 [relate][get_turns] fixed incorrect dispatching of static masks, tag_base<> replaced by group_tag<> and moved to namespace detail, added group_dim<> 2014-03-11 01:51:23 +01:00
Adam Wulkiewicz
4182cb916b [relate] TODOs regarding predefined masks added 2014-03-10 17:25:11 +01:00
Adam Wulkiewicz
d91db3a2e0 [relate] added ready-to-use static masks for various spatial relations 2014-03-10 15:03:57 +01:00
Adam Wulkiewicz
d209b4fbd2 [relate] added functions check() and interrupt(), added parameter EnableInterrupt to static_interrupt for consistency 2014-03-10 12:08:16 +01:00
Adam Wulkiewicz
4987e8d13d relate() implemented support for complex static masks as a MPL sequences 2014-03-10 03:02:11 +01:00
Adam Wulkiewicz
5f0ab7962f relate() static_mask_handler::update() dispatching fixed 2014-03-09 22:29:27 +01:00
Adam Wulkiewicz
9ca11feb90 relate() static_mask and static_mask_handler implemented 2014-03-09 22:24:09 +01:00
Barend Gehrels
511605369a [geometry] Use robust-policy in side-related-functions
Functions: side_on_convex_range and get_side
2014-03-09 15:24:59 +01:00
Barend Gehrels
340fbc61d6 [geometry] buffer cleanup, removed dead code 2014-03-09 15:18:40 +01:00
Barend Gehrels
124012019a [geometry] Test point-equality using rescale policy 2014-03-09 14:56:35 +01:00
Barend Gehrels
ed572055be [geometry] buffer: fixed code inside BOOST_GEOMETRY_DEBUG_WITH_MAPPER for
new changes for rescale strategies
2014-03-09 12:51:49 +01:00
Barend Gehrels
ed78d7027d [geometry] Fixed the changed copy_segments signature for buffer 2014-03-09 12:19:03 +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
61c7999cdd [geometry] added missing includes for recent changes 2014-03-05 22:49:02 +01:00
Menelaos Karavelas
9862612b3f changed color of isolated intersection points 2014-03-05 16:51:29 +02:00
Menelaos Karavelas
bec98a3b1c added one more test case 2014-03-05 16:51:08 +02:00
Menelaos Karavelas
f9bc59a423 proper implementation of the erase-remove idiom; 2014-03-05 13:40:35 +02:00
Menelaos Karavelas
751297770c added svg output support for union linear/linear;
tester for union linear/linear has now a static apply method instead of operator();
2014-03-05 13:36:41 +02:00
Menelaos Karavelas
5648d4133d made parts of the tester public and private; 2014-03-05 13:25:51 +02:00
Menelaos Karavelas
39a8f7dfda added support for drawing isolated points generated by the intersection set operation;
added svg for intersection of linear geometries;
tester is not a static apply method instead of operator() (intersection of linear geometries);
2014-03-05 13:24:01 +02:00
Barend Gehrels
f3fd9084ea [geometry] moved zoom_to_robust to algorithms/detail 2014-03-05 12:04:56 +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
Menelaos Karavelas
9341e7dd50 added support for svg output;
changed tester to have a static apply method instead of an operator();
2014-03-05 12:57:42 +02:00
Menelaos Karavelas
178e7f3079 added support for svg output;
tester now has a static apply method intead of operator();
2014-03-05 12:51:26 +02:00
Menelaos Karavelas
f1b3e63d6b added support for svg output for set operation;
tester now has static apply method instead of operator();
2014-03-05 12:45:13 +02:00