Menelaos Karavelas
4375dd04c3
[algorithms][is_valid] has_spikes: re-factor and polish implementation
2014-06-13 13:11:45 +03:00
Menelaos Karavelas
39e1fac547
[algorithms][is_simple] remove unused code and includes
2014-06-13 12:46:13 +03:00
Menelaos Karavelas
8b67536dc3
[algorithms][is_simple] remove include of multi/core/tags.hpp
2014-06-13 12:38:47 +03:00
Menelaos Karavelas
574a6b4154
[algorithms][is_valid] remove include of multi/core/tags.hpp
2014-06-13 12:35:08 +03:00
Menelaos Karavelas
2e01ce5173
[alhorithms][is_valid] rename detail/is_valid/multi_range.hpp file to
...
detail/is_valid/multi_linestring.hpp; in there: fix includes;
re-factor code;
2014-06-13 12:33:20 +03:00
Menelaos Karavelas
49acae2ed8
[algorithms][is_simple] add file with debug code for is_simple of
...
linear geometries
2014-06-13 12:27:48 +03:00
Menelaos Karavelas
0161c06b93
[algorithms][is_simple] main file: polish code; removed unused includes;
2014-06-13 12:26:01 +03:00
Menelaos Karavelas
9e84593d48
[algorithms][is_simple] code for linear geometries:
...
polish and re-factor code; remove usused code; fix includes;
move debug code to separate file; optimize has_same_endpoints check;
use bg::range functions;
2014-06-13 12:19:53 +03:00
Menelaos Karavelas
756a6f2e86
[algorithms][detail] add struct with static apply method for checking
...
whether a predicate is satisfied by all elements in an iterator range
2014-06-13 12:18:03 +03:00
Menelaos Karavelas
163357c315
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple
2014-06-13 11:43:45 +03: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
82bb00ed40
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/is_simple
2014-06-10 10:07:39 +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
Barend Gehrels
432d62809d
[buffer] remove old left-turn approach
2014-06-09 11:15:13 +02:00
Barend Gehrels
11c71d161a
[occupation_info] add once instead of twice
...
preparing for new get_left_turns
2014-06-08 21:57:24 +02:00
Barend Gehrels
a746e7323d
[buffer] Remove occupation_map, use std::map instead
...
turn_indices from occupation_map were not used anymore
2014-06-08 20:21:31 +02:00
Barend Gehrels
5a85076f4b
[get_left_turns] reimplement using integer arithmetic
...
including unit test
2014-06-08 19:03:11 +02:00
Barend Gehrels
5e6d542d81
Merge branch 'develop' of github.com:boostorg/geometry into develop
2014-06-08 17:19:08 +02:00
Adam Wulkiewicz
928f1aad70
[algorithms/detail] Rename const_conformant<> to copy_const<> and implement it without MPL and TypeTraits
2014-06-08 16:31:20 +02:00