Barend Gehrels
7a7d5935d6
[buffer][test] add failing ticket 10398
2014-08-27 11:32:33 +02:00
Barend Gehrels
1830208b74
[buffer][test] Add rt_u7 which is currently failing because of tripled IP,
...
needing get_left_turn info again. Added debug info
2014-08-10 19:21:21 +02:00
Barend Gehrels
f98549f82d
[buffer][test] Minor change in comments/whitespace
2014-08-10 15:34:33 +02:00
Barend Gehrels
9c3ca1e69a
[buffer][test] improve piece labelling on round joins
2014-08-10 15:32:46 +02:00
Barend Gehrels
a7764c1b9e
[buffer][fix] use taxicab distance instead of comparable distance
...
This is faster and avoids overflows. This fixes rt_u6
2014-08-10 15:32:07 +02:00
Barend Gehrels
31abd20829
[buffer][fix] Distinguish between "within" and "within_near_offsetted"
...
The last one might be offsetted by 1 due to integer rounding. It is not
selectable as a starting point but may be used for traversal
2014-08-10 14:15:04 +02:00
Barend Gehrels
6df7738d3a
[buffer][fix] Fix turns which were only on helper-segments, they can be discarded.
...
This fixes rt_u3 and rt_u4 where a false interior ring was generated
2014-08-10 12:49:37 +02:00
Barend Gehrels
468c3dd36a
[buffer][test] clean up old comments/cases
2014-08-10 00:03:15 +02:00
Barend Gehrels
a46e2603d8
[buffer][fix] In rare cases an extra ring was traversed and created. Fixed, that ring is
...
discarded now. This fixes behaviour of assign_parents with positive-rings in positive-rings (when
check_for_orientation is true; normally (for overlay) it is false)
It also reverses a negative-only ring so fixes a linestring_buffer testcase.
For multi-polygon it fixes new testcase rt_u2 found by recursive-polygon-buffer test
2014-08-09 23:51:42 +02:00
Barend Gehrels
6cf72447d1
[buffer][test] remove unused variable
2014-08-09 23:33:15 +02:00
Barend Gehrels
e1fc427e30
[buffer][fix] Mark points in buffered areas as not startable instead of discarding them
...
Within can have in rare cases a rounding issue. We don't discard this
point, so it can be used to continue started rings in traversal. But
will never start a new ring from this type of points.
This fixes p17
2014-08-06 13:27:52 +02:00
Barend Gehrels
a999baa01e
[buffer][test] Exclude failing tests (Aimes),
...
include succeeding test (O1)
avoid reporting (false) self-intersection (aimes120)
2014-07-27 20:39:46 +02:00
Barend Gehrels
27b95ee544
[buffer][test] increased tolerance for aimes test
...
Most of them now succeed, with exception of 6 cases
2014-07-27 18:50:43 +02:00
Barend Gehrels
a94d0ce415
[buffer][test] enabled field_sprayer test, added aimes-167 test
...
Both tests are disabled for flat-ends for the same reason: flat ends should
be intersected with helper-segments too
2014-07-27 18:49:25 +02:00
Barend Gehrels
76bebeee6c
[buffer][fix] don't check within concave helper pieces
2014-07-27 18:12:04 +02:00
Barend Gehrels
9467d5d060
Merge branch 'develop' of github.com:boostorg/geometry into develop
2014-07-27 17:13:13 +02:00
Barend Gehrels
4d05c94b94
[buffer][test] count only if self IP's are reported (has_self_intersection does
...
additional checks)
2014-07-27 17:12:01 +02:00
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