Adam Wulkiewicz
7e71bdfbbb
Merge branch 'develop' of github.com:boostorg/geometry into develop
2014-06-15 02:40:42 +02:00
Adam Wulkiewicz
b9ff3a7fc4
[index][strategies][test] Modify some of the header includes.
...
The purpose of this is to allow the compilation of the rtree without the need of including the geometry.hpp ond require only index/rtree.hpp or to make the order of includes irrelevant.
Furthermore, this is backward compatible.
Add missing variant include in the intersection tests.
Fix the unused typedefs in the pythagoras_point_box test.
2014-06-15 02:29:57 +02:00
Adam Wulkiewicz
35b2f91ee4
[extensions][offset] Update #includes to include the moved buffer code
2014-06-14 17:34:10 +02:00
Barend Gehrels
264e9676f0
[buffer] avoid unused variable warnings
...
and replace BOOST_TYPEOF by iterator_traits
2014-06-14 11:53:50 +02:00
Barend Gehrels
1e7a631379
[buffer] rename check_original to turn_in_input
...
comparable to point_in_geometry.
This removes multi_buffer_inserter
2014-06-14 11:39:49 +02:00
Barend Gehrels
9db3329fe5
[buffer] move (dispatch) code for multi to buffer_inserter itself
...
This also tags the cast to multi_tag
2014-06-14 11:38:39 +02:00
Barend Gehrels
4a388f855d
Merge branch 'develop' of github.com:boostorg/geometry into develop
2014-06-14 11:03:44 +02:00
Barend Gehrels
723435de6c
[buffer] remove debug functionality
...
The lines which are warnings are now protected by BOOST_GEOMETRY_DEBUG_BUFFER_WARN
2014-06-14 11:03:23 +02:00
Barend Gehrels
e00e307f2f
[buffer] remove unused functionality
2014-06-14 11:01:42 +02:00
Barend Gehrels
cee0903f2d
[buffer] Remove buffer_piece_collection_with_mapper
...
this was a debugging tool. It is now replaced by a visiting policy (like
in partition), and implemented in the unit test itself
2014-06-14 10:57:59 +02:00
Menelaos Karavelas
c962616ff5
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/math-sqrt
...
Conflicts:
include/boost/geometry/algorithms/detail/buffer/buffer_inserter.hpp
2014-06-14 01:58:01 +03:00
Barend Gehrels
fdd983ce72
[buffer] Changes in (folder)locations of strategies, and
...
moved buffer_side_selector and piece_type used by strategies.
2014-06-13 21:30:53 +02:00
Barend Gehrels
c96d6394a9
[buffer] update include guards/copyright info
2014-06-13 20:45:34 +02:00
Barend Gehrels
31af14453a
[buffer] Move from extensions to algorithms/detail
2014-06-13 20:26:33 +02:00
Adam Wulkiewicz
327819b687
[extensions][nsphere][test] Remove unused typedefs. Rename tests.
2014-06-13 18:06:07 +02:00
Adam Wulkiewicz
3edeaeb2af
[algorithms][io][test] Fix some rather harmless conversions warnings and add /bigobj for some tests for VS.
2014-06-13 16:13:35 +02:00
Barend Gehrels
5085c749b1
[has_self_intersections] bugfix (did not return true when exception found) and
...
added optional parameter for non-throwing behaviour.
Use this from test_buffer instead
2014-06-12 23:00:57 +02:00
Barend Gehrels
0ecc80a10a
[buffer] disable get_occupation, remove commented left_turn handling
2014-06-12 22:43:09 +02:00
Barend Gehrels
5a345ae2d4
[buffer] performance improvement - only consider overlapping pieces
2014-06-12 22:41:41 +02:00
Barend Gehrels
bdd2cc1ac6
[buffer] revert replacement of covered_by with within
2014-06-12 22:41:11 +02:00
Barend Gehrels
7531e541b2
Merge branch 'develop' of github.com:boostorg/geometry into develop
2014-06-12 18:51:44 +02:00
Barend Gehrels
d06c25bc5f
[buffer] Remove helper functions now not used/need anymore
2014-06-12 18:50:47 +02:00
Adam Wulkiewicz
e277cce32f
Merge pull request #57 from awulkiew/fix/boost_polygon
...
Fix/boost polygon
2014-06-11 16:57:38 +02:00
Barend Gehrels
0f930efb21
[buffer] enhanced (a bit) check for within piece / original
...
and renamed classify functions / moved code
2014-06-11 15:55:09 +02:00
Barend Gehrels
da1a8da80b
[buffer] use partition to check relation turn/piece
2014-06-11 15:53:31 +02:00
Barend Gehrels
fd4f0abb1d
various minor things, remove redundant static, fix capitals, typo
2014-06-11 15:16:29 +02:00
Barend Gehrels
623f2896e0
[buffer] Update robust_envelope at inserting robust intersection point
2014-06-11 14:25:28 +02:00
Barend Gehrels
0287c1d3bb
[partition] support heterogenous collections
2014-06-11 14:17:09 +02:00
Barend Gehrels
88db68b6f7
[buffer][get_piece_turns] comments/layout changes
2014-06-11 13:01:11 +02:00
Barend Gehrels
22a8870012
[buffer] remove specific assign for buffer and is_opposite
...
opposite information is not used anymore
2014-06-11 12:55:55 +02:00
Barend Gehrels
14f3d76505
[buffer] move calculate_turns to get_piece_turn visitor where it is used from
...
this also uses the standard assign-policy for get_turn_info
2014-06-11 12:55:21 +02:00
Barend Gehrels
36708948c9
[buffer] use partition algorithm to calculate turns in piece-offsets
2014-06-11 10:51:21 +02:00
Barend Gehrels
4c7b5d3fa4
[buffer] Add robust envelope per piece
...
to support partition
2014-06-11 10:38:41 +02:00
Barend Gehrels
f6c5f69495
[buffer] split rescaling piece rings / turns
...
to support coming use of partition for calculate turns
2014-06-11 10:15:36 +02:00
Adam Wulkiewicz
a2c00c1774
[comparable_distance] Remove unneeded header include
2014-06-10 16:32:32 +02:00
Menelaos Karavelas
ef1a257242
[util][math] fix return type for math::sqrt; fix implementation
...
for sqrt for non-fundamental types (use the using mechanism);
2014-06-10 09:18:28 +03:00
Adam Wulkiewicz
afd0656747
[for_each] Remove unused typedefs
2014-06-10 00:20:32 +02:00
Adam Wulkiewicz
400eec193b
[adapted] Specialize resize<> trait for polygon_data required by Ring concept
2014-06-10 00:17:12 +02:00
Barend Gehrels
425e1f6bb1
[buffer] remove BOOST_AUTO_TPL dependancy
2014-06-09 18:50:40 +02:00
Barend Gehrels
21382dfa1d
[buffer] update copyright
2014-06-09 18:39:40 +02:00
Barend Gehrels
4ac94c1230
[buffer] Removed unused function
2014-06-09 18:37:20 +02:00
Barend Gehrels
a0c78403e2
[buffer] Enable negative buffer for polygons (deflate)
...
Update testcases for linestring (including Aimes-list now working)
Fix test for distance (right.distance was only done for SVG)
2014-06-09 18:37:01 +02:00
Barend Gehrels
10f6753a82
[buffer] block cluster (in occupation map) if one is blocked
...
Also reverse iteration order avoiding get_left_turns called more than once per cluster
Also classify IP's on helper segments as within
2014-06-09 16:32:36 +02:00
Barend Gehrels
447fd7edd2
[buffer] get occupation vectors by rescaled offsetted points
...
This fixes the last case rt_p20
Check if the occupation vectors are short (length 1). This indicates a rounding issue.
If so, map again but use neighbouring cells.
Alas we have to do this, but still better than the former FP implementation.
Also, we map only points on offsetted borders now, and return if the map is empty,
to improve performance.
2014-06-09 15:07:47 +02:00
Barend Gehrels
cfbecc9935
[buffer] remove more unused functionality
2014-06-09 12:39:58 +02:00
Barend Gehrels
f822df3545
[buffer] remove uu processing which is redundant
2014-06-09 12:16:16 +02:00
Barend Gehrels
c836fab395
[buffer] remove more now unused functionality
2014-06-09 12:05:55 +02:00
Barend Gehrels
0e666541e7
[buffer] skip within check where not necessary
2014-06-09 11:52:39 +02:00
Barend Gehrels
17d027ec2d
[buffer] remove now unused functionality
2014-06-09 11:51:01 +02:00
Barend Gehrels
4002e3d36a
[buffer] update svg-mapping debug class
2014-06-09 11:16:10 +02:00