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
f20303af2f
[buffer][test] Fix bugs in get_left_turns and some in the robustness test
2014-07-08 02:57:29 +02:00
Adam Wulkiewicz
9cfee81a09
[geometry] Replace tabs with spaces
2014-07-08 02:27:17 +02:00
Barend Gehrels
3ac6442393
Merge branch 'develop' of github.com:boostorg/geometry into develop
2014-07-06 20:22:48 +02:00
Barend Gehrels
b6b49f5308
[buffer] fix check of buffer_flat_end for inside
2014-07-06 20:22:04 +02:00
Adam Wulkiewicz
004e4e465f
[test][range] Shield part of a test with macro (storing NonMovable is std::vector<>)
2014-07-06 12:19:30 +02:00
Adam Wulkiewicz
0b677ae1aa
[strategies] projected_point_ax strategy relocated to separate file
2014-07-05 19:57:41 +02:00
Adam Wulkiewicz
3855610e05
Add projected_point_ax cartesian distance strategy.
2014-07-04 17:14:15 +02:00
Barend Gehrels
da1323716a
[buffer] Pass side strategy
2014-07-03 19:59:28 +02:00
Menelaos Karavelas
f2c8ccefca
[test][is_valid] add as test case the polygon used in the documentation
...
example for is_valid
2014-07-02 11:28:40 +03:00
Menelaos Karavelas
6490d2db4a
[test][is_valid] add one more test case: add a polygon with many holes
...
(important note here: many means more than the number of turns)
2014-07-02 02:29:06 +03:00
Adam Wulkiewicz
e9178b6a80
Merge pull request #75 from mkaravel/feature/is_simple
...
Feature/is simple
2014-07-01 17:27:01 +02:00
Menelaos Karavelas
fcc5d26877
[test][iterators] remove tests for points_front and points_back
2014-06-30 12:18:45 +03:00