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
Barend Gehrels
51b82988e9
Merge pull request #113 from mkaravel/fix/buffer-unused-local-typedef
...
[test][buffer] remove used local typedef
2014-07-27 16:15:15 +02:00
Menelaos Karavelas
43c253fd27
[test][simplify] remove unused local typedef;
...
uncomment concept check for simplify strategy;
2014-07-27 13:51:41 +03:00
Menelaos Karavelas
cea3a65e7e
[test][buffer] remove used local typedef
2014-07-27 13:48:49 +03:00
Adam Wulkiewicz
bf7c758967
[test] Fix unused typedef warning in simplify test
2014-07-25 17:14:27 +02: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
95990f98b1
[test][within] Comment out, mistakenly not commented out line
2014-07-14 19:05:28 +02:00
Adam Wulkiewicz
edf2c00db6
[within][winding] Add more robust calculation of sides in winding strategy.
...
This commit fixes the ticket https://svn.boost.org/trac/boost/ticket/9628 .
The side is calculated always WRT the vertical segment if the p<1> is "equal" to one of the segment endpoint's <1>.
For more information see the comment in the code.
2014-07-14 16:05:26 +02:00
Barend Gehrels
bbe89053ce
[simplify] protect work in progress by define because it is still failing
2014-07-12 11:41:26 +02:00
Menelaos Karavelas
6d12d7f715
[test][distance] add test cases for the combinations: polygon/ring,
...
multipolygon/ring, ring/ring and ring/box
2014-07-11 17:15:43 +03:00
Menelaos Karavelas
48a1951300
[test][distance] add test cases for the multilinestring/ring combination
2014-07-11 17:15:07 +03:00
Menelaos Karavelas
3f762ea23a
[test][distance] add test cases for the segment/ring and linestring/ring combinations
2014-07-11 17:12:46 +03:00
Menelaos Karavelas
8e2043bcb4
[algorithms][distance] add test cases for the point/ring and multipoint/ring combinations
2014-07-11 17:11:36 +03:00
Menelaos Karavelas
baf3042d77
[test][distance] add include for rings
2014-07-11 17:11:00 +03:00
Adam Wulkiewicz
bd76327102
Merge pull request #84 from mkaravel/feature/distance
...
Feature/distance
2014-07-10 23:35:37 +02:00
Menelaos Karavelas
e89234a541
[test][comparable distance] remove tests involving default_comparable_strategy
2014-07-10 11:31:30 +03:00
Adam Wulkiewicz
a6ed7d86ea
Merge branch 'develop' into feature/projected_point
2014-07-09 13:59:23 +02:00
Barend Gehrels
5a3cfd62d5
[simplify] add zigzag testcase for testing adt/xdt
2014-07-09 13:39:07 +02:00
Adam Wulkiewicz
c55cee5dd3
[strategies] Fix projected_point_ax+douglass_peucker compilation errors.
...
Add again operator< for projected_point_ax_result needed to compare the distance with 0 (explicitly converted into the same type).
Remove template parameter from projected_point_ax_less::operator().
Add tests for simplify() and detail::simplify_insert().
2014-07-09 12:58:02 +02:00
Barend Gehrels
e9ac6476aa
[simplify] prepare for Adam's enhanced douglas_peucker with pull request #89
2014-07-09 12:01:07 +02:00
Barend Gehrels
0c8f953ee9
[simplify][test] splitted tests such that test with strategy does not
...
test the version without strategy, to avoid mixing strategy types
2014-07-09 12:00:20 +02:00
Barend Gehrels
64303076dc
[simplify][test] added test with strategy
2014-07-09 11:29:30 +02:00
Barend Gehrels
de7ae5dd65
[simplify] prepare for other simplify strategy: added testcase
2014-07-09 11:25:17 +02:00
Barend Gehrels
999ba36e06
[simplify] prepare test for distance object instead of always value, and
...
added overload accepting a strategy
2014-07-09 11:24:50 +02:00
Menelaos Karavelas
8820e7e266
Merge branch 'develop' of https://github.com/boostorg/geometry into feature/distance
2014-07-08 12:44:32 +03:00
Menelaos Karavelas
b40d0648db
[test][algorithms][comparable distance] add tests for variant support
2014-07-08 12:43:51 +03:00
Menelaos Karavelas
91935eea08
[test][algorithms][distance] replace result_of::distance by distance_result
2014-07-08 12:42:49 +03: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