Barend Gehrels
710a0e4308
[buffer][test] enhanced svg debug display
2014-07-27 17:11:29 +02:00
Barend Gehrels
feccd380ee
[buffer][fix] Fix limit for consideration as continue, as it was too high
...
(for Aimes test or in general cases using lat long)
Including addition of unit test (aimes181)
2014-07-27 17:07:32 +02:00
Menelaos Karavelas
cea3a65e7e
[test][buffer] remove used local typedef
2014-07-27 13:48:49 +03:00
Barend Gehrels
f3c000aadd
[buffer][test] comment one test case now failing because of other rescaling factor
2014-07-23 16:05:36 +02:00
Barend Gehrels
6b29736b6c
[buffer][test] added missing includes (that depend on Boost.Test)
2014-07-23 15:14:38 +02:00
Barend Gehrels
1fa87bcbba
[buffer][fix] to get a proper rescale policy, the buffer distance must be added
2014-07-23 15:13:16 +02:00
Barend Gehrels
dd418dbc69
[buffer][test] catch exceptions per test and
...
remove skipped testcases
2014-07-23 13:33:37 +02:00
Barend Gehrels
04eeee1b56
[buffer][test] Display name of testcases with self-ips and
...
disable piece labels by default
2014-07-23 13:29:58 +02:00
Barend Gehrels
e4260a9445
[buffer][test] Extracted test-case for difference spike/continue case
2014-07-23 13:29:19 +02:00
Barend Gehrels
77b2723935
[buffer] make miter_limit flexibel and correct IP to exactly that limit
2014-07-20 16:38:32 +02:00
Barend Gehrels
03b6571555
[buffer][test] join/end strategies are now arguments, such that we can change
...
the default without changing the tests.
This only changes the parameter / involves many lines but nothing else is changed.
2014-07-20 15:27:24 +02:00
Barend Gehrels
0e77ef5342
[buffer] rename buffer_side to side_straight to make it consistent with other buffer strategies
...
and buffer is already part of the namespace
2014-07-20 10:52:48 +02:00
Barend Gehrels
0b635e342d
[buffer] rename buffer_circle to point_circle to have it consistent with other strategies,
...
and buffer is already in the namespace. same for buffer_square -> point_square
2014-07-20 10:38:40 +02:00
Adam Wulkiewicz
d16a343c0a
[buffer] Fix buffer_inserter() call in multi_point_buffer test
...
Function was moved to namespace bg::detail::buffer
2014-07-16 22:28:10 +02:00
Barend Gehrels
97fd8f5332
[buffer] move buffer_inserter to namespace detail::buffer, add overload using 5 strategies
2014-07-16 16:58:02 +02:00
Barend Gehrels
038253e8f5
[buffer] remove end_skip strategy
2014-07-16 15:21:11 +02:00
Barend Gehrels
61ed918240
[buffer] add side/circle strategies to include
2014-07-16 15:12:52 +02:00
Barend Gehrels
bac1ac66af
[buffer] avoid having point types in strategies which can be deferred
2014-07-16 15:11:55 +02:00
Barend Gehrels
0f027b5ff9
[buffer] add buffer_circle strategy for points and multi-points, and pass
...
it all the way through the dispatches
2014-07-16 11:31:35 +02:00
Barend Gehrels
58fa94c897
[buffer][test] use Aimes to test simplify with ax strategy, optionally count number of self-ips
2014-07-16 10:48:27 +02:00
Adam Wulkiewicz
9cfee81a09
[geometry] Replace tabs with spaces
2014-07-08 02:27:17 +02:00
Barend Gehrels
b6b49f5308
[buffer] fix check of buffer_flat_end for inside
2014-07-06 20:22:04 +02:00
Barend Gehrels
da1323716a
[buffer] Pass side strategy
2014-07-03 19:59:28 +02:00
Barend Gehrels
b637012bf3
[test] add bigobj flag for union/buffer
2014-06-28 13:22:32 +02:00
Barend Gehrels
7baf1a29e5
[buffer] We have to simplify the ring before to avoid very small-scaled
...
features in the original (convex/concave/convex) being enlarged
in a very large scale and causing issues (IP's within pieces).
This might be reconsidered later. Simplifying with a very small
distance will never be visible in the result,
if it is using round joins. For miter joins they are even more
sensitive to small scale input features, however the result will
look better.
A distance strategy can change behaviour (make larger - set simplify
distance to 0.0 to avoid simplification)
This fixes the parcel issue(s)
2014-06-25 13:32:42 +02:00
Barend Gehrels
7f3b509fb5
[buffer] use endcap strategy for spikes. Check jointype also (again)
...
for line-line intersection because it is based on buffered segments.
2014-06-24 22:48:04 +02:00
Barend Gehrels
9b6aa189bd
[buffer] changes in includes/defines
2014-06-23 22:40:03 +02:00
Barend Gehrels
aa307b5ad2
[buffer] add join_selector and use it before generating the join.
...
This moves responsibility of generation to the calling code, removes it
from the join strategies. It also enables using the end-strategy for the
spikes
2014-06-23 22:39:29 +02:00
Barend Gehrels
5c3f1f2006
[buffer] fix limit which was too low for LatLong coordinates. Also fix in test
...
for tolerance which was too high. Added unit test
2014-06-22 19:54:13 +02:00
Barend Gehrels
b6ba959f7b
[buffer][test] SVG enhancements
2014-06-22 19:50:06 +02:00
Barend Gehrels
b1bcc9c4dc
[buffer] test - indentation, remove old comment
2014-06-22 16:11:58 +02:00
Barend Gehrels
2f6abfce3f
[buffer] test: remove old code and instead add 3 parcels
...
which went wrong earlier or still have issues
2014-06-22 16:08:56 +02:00
Barend Gehrels
3628e85a25
[buffer] fix non-intersecting sides around concave points
...
there was no segment in between generated, therefore if the side-segments
did not intersect (e.g. donut_diamond in polygon_buffer.cpp unit test),
there was no intersection at all. Now a helper piece is generated and it
will intersect.
2014-06-22 15:12:40 +02:00
Barend Gehrels
7df029b176
[buffer] make buffer (miter, round) around spike possible
...
including unit testcase. For miters, the limit is enlarged (after
visual inspection of spike_simplex_miter)
2014-06-20 22:34:40 +02:00
Adam Wulkiewicz
05891db57a
[test][buffer] Remove unused typedefs.
2014-06-20 00:00:55 +02:00
Adam Wulkiewicz
38afbb322f
[test][buffer] Remove unused typedefs.
2014-06-19 23:57:01 +02:00
Barend Gehrels
c5de26945b
[overlay] use uniform robust policy, this obsoletes zoom_to_robust
2014-06-19 19:10:28 +02:00
Barend Gehrels
76a56c787c
[buffer] exclude failing testcase for MSVC
2014-06-18 16:51:13 +02:00
Barend Gehrels
dadfe91378
[buffer][test] use other robust_point for counting dupplicate points
2014-06-18 14:08:05 +02:00
Barend Gehrels
0194072516
[buffer][test] optinally skip self-intersection check
2014-06-18 14:07:21 +02:00
Barend Gehrels
84d240ee9d
[buffer][test] visit collection twice for mapping
2014-06-18 14:02:18 +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
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
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