Adam Wulkiewicz
56c25cf7ca
Merge branch 'develop' of github.com:boostorg/geometry into develop
2014-12-31 15:48:53 +01:00
Adam Wulkiewicz
0cd28170d7
[geometry] Change the order of Boost.Variant headers includes to alphabetical.
2014-12-31 15:48:15 +01:00
Barend Gehrels
34380e7b4d
[buffer][test] added multi-polygon test. Fails for one case yet (self-IP).
...
This test is not yet added to any Jamfile.
It can take long for execution and is therefore placed in robustness, we can add longer tests
or various options later
2014-12-31 14:27:36 +01:00
Barend Gehrels
11fbe1e453
[buffer][test] create optionally a zoomed-in view to be able to better inspect error-cases
2014-12-31 14:22:49 +01:00
Barend Gehrels
a19e818042
[buffer][test] add check for is_valid (now optional)
2014-12-31 13:51:09 +01:00
Barend Gehrels
fff81f33ed
[buffer][test] fix expectation of just added testcase
2014-12-31 13:21:56 +01:00
Barend Gehrels
a0c1fbaf72
[buffer][test] Simplify code using multi-polygon instead of vector
2014-12-31 13:20:28 +01:00
Barend Gehrels
5d1c9525a3
[buffer][test] option to specify tolerance for custom strategies
2014-12-31 13:13:03 +01:00
Barend Gehrels
d1f2878e11
[buffer][test] add failing case
2014-12-31 13:10:01 +01:00
Barend Gehrels
24301d2b59
Merge branch 'develop' of github.com:boostorg/geometry into develop
2014-12-31 12:50:04 +01:00
Adam Wulkiewicz
ed6b8e38b9
[test][relate] Add test for very small segments.
2014-12-31 04:33:49 +01:00
Adam Wulkiewicz
1289aad4e5
[test][equals] Add test for very small orthogonal segments.
2014-12-31 04:33:32 +01:00
Adam Wulkiewicz
036df6c86e
[strategies] Improve the way of picking Dimension for very short orthogonal segments detected as collinear.
2014-12-31 04:32:17 +01:00
Adam Wulkiewicz
996c83e62a
[extensions] Update andoyer and vincenty strategies headers locations.
2014-12-30 14:10:09 +01:00
Adam Wulkiewicz
d1163c20db
[doc] Update 1.58 release notes (ticket).
2014-12-29 22:13:37 +01:00
Adam Wulkiewicz
01e6f98628
Merge pull request #189 from awulkiew/fix/cart_intersect
...
Fix/cart intersect
2014-12-29 22:08:38 +01:00
Adam Wulkiewicz
b91e292476
[index] Refactor error handling (asserts and exceptions).
...
For run-time assertions always use macro BOOST_GEOMETRY_INDEX_ASSERT.
For exceptions use BOOST_THROW_EXCEPTION.
2014-12-29 22:04:42 +01:00
Adam Wulkiewicz
1706c0b19f
[doc] Update 1.58 release notes (ticket 10890).
2014-12-27 23:37:18 +01:00
Adam Wulkiewicz
e3b2c579e0
[test][equals] Add test for very small segment.
2014-12-27 23:09:03 +01:00
Adam Wulkiewicz
90c2b058a1
[strategies] Fix cart_intersect for very small segments.
...
Change the way how a Dimension is choosen for a point detected as
collinear. For very small segments invalid Dimension was choosen in some
cases.
2014-12-27 23:06:18 +01:00
Adam Wulkiewicz
584e585f28
[test][sections] Fix error and warning.
...
Error: wrong number of parameters passed into sectionalize()
Warning: comparison of signed and unsigned integer.
2014-12-26 19:17:17 +01:00
Adam Wulkiewicz
12de28aa54
[index] Remove ...ASSERT_UNUSED_PARAM macro, use boost::ignore_unused() instead.
2014-12-24 14:39:41 +01:00
Adam Wulkiewicz
179e88f40c
[index] Add indexable validity assertion check to pack-create.
2014-12-24 14:24:35 +01:00
Barend Gehrels
983392a3ac
Merge branch 'develop' of github.com:boostorg/geometry into develop
2014-12-24 12:58:21 +01:00
Adam Wulkiewicz
9faf75eb71
[test][equals] Add specific case causing assert failure (commented out for now).
2014-12-24 00:10:14 +01:00
Barend Gehrels
13e4b1daca
[buffer] Split some of new code into functions
2014-12-23 20:23:36 +01:00
Adam Wulkiewicz
a5925c63dd
[doc] Fix a comment in the rtree's range adaptors example.
2014-12-22 01:39:51 +01:00
Barend Gehrels
7006d6ca80
Merge branch 'develop' of github.com:boostorg/geometry into develop
2014-12-21 22:03:47 +01:00
Barend Gehrels
c4ca3eef2f
[buffer] use monotonic sections for checking point-in-original
...
This can enhance performance with 20%
2014-12-21 19:07:37 +01:00
Barend Gehrels
083b402447
[buffer] create vertical monotonic sections per original, and walk through original ring
2014-12-21 18:04:56 +01:00
Barend Gehrels
55fbcf1b30
[sectionalize] add same-type assertion
2014-12-21 18:02:37 +01:00
Barend Gehrels
17347fe47f
remove redundant typename keywod
2014-12-21 17:31:37 +01:00
Barend Gehrels
2b26aa20fb
[self_turn_points] fix section box type which should be same as robust point type
2014-12-21 17:30:56 +01:00
Barend Gehrels
6ef8c5a57d
[sectionalize] fix call for sectionalize
2014-12-21 16:15:23 +01:00
Barend Gehrels
432f1f1a77
[test][union] by default check CCW/Open too
2014-12-21 15:58:40 +01:00
Barend Gehrels
8ac3a127a7
[sectionalize] add static assertion
2014-12-21 15:58:03 +01:00
Barend Gehrels
0478b5e082
[sectionalize] pass dimension vector as template argument
...
Test for vertical now also tests y-dimension
2014-12-21 15:48:22 +01:00
Barend Gehrels
042090c2ba
[sectionalize] remove commented type, fix indentation
2014-12-21 15:09:47 +01:00
Barend Gehrels
8d6418a5f7
[sectionalize] use an mpl vector to specify dimensions for sectionalize
2014-12-21 15:09:20 +01:00
Barend Gehrels
d6210cdcd0
[sectionalize] rename Dimension/DimensionCount to Index/Count
...
preparing to use sectionalize for y-axis only
2014-12-21 13:38:15 +01:00
Barend Gehrels
3a17e5838b
[sectionalize] extra tests for horizontal/vertical monotonic sections
2014-12-21 13:14:59 +01:00
Barend Gehrels
c3823e8dc1
[sectionalize][test] remove debug-output
2014-12-21 13:14:35 +01:00
Barend Gehrels
91150690be
[sectionalize] pass max_count as argument
2014-12-21 13:14:12 +01:00
Barend Gehrels
7cc700a0e7
[sectionalize] avoid calculating robust points 3 times
...
It was calculated per segment which moved over a range. It is now done per point
(saving one calculation) which is also used for expand (saving another one)
2014-12-21 12:50:50 +01:00
Barend Gehrels
0d56247d6d
[sectionalize] indentation / make consistent within this file
2014-12-21 12:25:17 +01:00
Barend Gehrels
110e178f77
[sectionalize] remove specific unit-test free function
2014-12-21 11:53:16 +01:00
Adam Wulkiewicz
f014a12399
[algorithms][assign] Fix static assert checks on older compilers.
...
Revert the change done previously but use static keyword.
2014-12-21 01:04:42 +01:00
Barend Gehrels
7825f28c50
[sectionalize] remove unused id
2014-12-20 15:56:56 +01:00
Barend Gehrels
40a6525bb2
[sectionalize] remove effectively unused parameter enlarge_section_boxes:
...
It was used inconsistently in two places. If necessary, library code
can call enlarge_sections explicitly afterwards.
It was erroneous (if not enlarge then enlarge).
In case of robust policies it was redundant.
2014-12-20 15:53:51 +01:00
Barend Gehrels
a1b76e4017
[sectionalize] fix indendation
2014-12-20 15:50:26 +01:00