Adam Wulkiewicz
666837bcb9
[algorithms] Fix the type of returned Range/Ring in sub_range(Polygon).
2015-03-09 16:05:29 +01:00
Adam Wulkiewicz
e6d4997061
Merge pull request #253 from sdebionne/fix/range_test
...
Add tests for iterator_range<const pointer> and pair<const pointer>
2015-03-09 13:01:18 +01:00
Adam Wulkiewicz
731ea108d7
Merge pull request #252 from sdebionne/fix/range_reference
...
[range] Use range_reference
2015-03-09 12:58:59 +01:00
Adam Wulkiewicz
058e709f39
Merge pull request #251 from mkaravel/doc/updates_for_1_58
...
Doc updates for boost 1.58
2015-03-09 12:51:54 +01:00
Samuel Debionne
e969a4c33a
[test][util][range] Add tests for const pointer
...
Add tests for range iterator_range<const pointer> and pair<const
pointer>
2015-03-09 11:28:31 +01:00
Samuel Debionne
d7aae45daf
[util][range] Use range_reference
...
Use range_reference to determine the return type of boost::at,
boost::front and boost::back.
2015-03-09 09:52:11 +01:00
Menelaos Karavelas
6d4624d39a
[doc][algorithms][disjoint] update status for disjoint; update release notes
...
to indicate the new geometry combinations supported by disjoint;
2015-03-09 08:42:03 +02:00
Barend Gehrels
89b6fc4153
Merge pull request #250 from mkaravel/fix/optimize_num_points_expression
...
[strategies][cartesian][buffer][join_round] optimize expression
2015-03-08 20:05:13 +01:00
Menelaos Karavelas
b3b95ae92b
[strategies][cartesian][buffer][join_round] protect std::max with parentheses
2015-03-08 20:56:02 +02:00
Menelaos Karavelas
ca45ee76ac
[strategies][cartesian][buffer][join_round] optimize expression
...
calculating number of interior points
2015-03-08 20:11:53 +02:00
Barend Gehrels
efe9a9b7b8
Merge branch 'develop' of github.com:boostorg/geometry into develop
...
Conflicts:
test/algorithms/buffer/polygon_buffer.cpp
2015-03-08 18:20:03 +01:00
Barend Gehrels
7942ece158
[buffer][test] remove redundant decimals
2015-03-08 18:16:28 +01:00
Barend Gehrels
64ee58ed46
[buffer] Fix calculation of the number of points. For an angle of 125 or more,
...
no points in between were generated, which was erroneous.
Thanks to Menelaos for spotting and Adam for the calculation
This changes some of the unit test results, because in some cases a point in between
is generated now, creating a larger polygon
2015-03-08 18:08:43 +01:00
Barend Gehrels
46b781d0a7
[buffer] Fix calculation of the number of points. For an angle of 125 or more,
...
no points in between were generated, which was erroneous.
Thanks to Menelaos for spotting and Adam for the calculation
This changes some of the unit test results, because in some cases a point in between
is generated now, creating a larger polygon
2015-03-08 18:06:58 +01:00
Adam Wulkiewicz
a3db6b2ad1
Merge pull request #246 from mkaravel/fix/sqrt_for_32bit_platforms
...
Workaround for sqrt for some 32-bit platforms
2015-03-08 15:14:30 +01:00
Barend Gehrels
4e6a319fdb
Merge pull request #248 from mkaravel/feature/simplify_detail_not
...
Simplify detail::not_
2015-03-08 15:01:28 +01:00
Adam Wulkiewicz
d99922ffad
Merge pull request #249 from mkaravel/fix/rename_variable
...
Fix: rename local variable
2015-03-08 14:09:23 +01:00
Menelaos Karavelas
a3012c4beb
[strategies][cartesian][buffer][join_round] rename local variable so that it is more descriptive
2015-03-08 12:54:19 +02:00
Menelaos Karavelas
4fcf879b25
[algorithms][detail][not] modify the implementation of detail::not_ by moving
...
the geometry template parameters inside the class; this way it is simpler to
use detail::not_ as it is not required to specify the geometries;
2015-03-08 11:42:45 +02:00
Adam Wulkiewicz
8a90a0f4af
Merge pull request #247 from mkaravel/fix/apply_coding_rules
...
[algorithms][is_valid] apply coding rules (space after operator !)
2015-03-07 19:16:47 +01:00
Menelaos Karavelas
3312f4a03d
[algorithms][is_valid] apply coding rules (space after operator !)
2015-03-07 18:13:12 +02:00
Menelaos Karavelas
ee1e0e0899
[algorithms][detail][partition] remove the forward range(s) argument(s)
2015-03-07 17:34:17 +02:00
Menelaos Karavelas
15df0d49cf
Merge branch 'develop' of https://github.com/boostorg/geometry into fix/make_partition_work_for_forward_ranges
2015-03-07 17:08:29 +02:00
Menelaos Karavelas
fc257347e2
[util][math] add comments at end of #ifdef BOOST_GEOMETRY_SQRT_CHECK_FINITENESS/#endif block
2015-03-07 16:34:19 +02:00
Menelaos Karavelas
0a6e1a6829
[util][math] guard inclusion of fpclassify.hpp by the macro
...
BOOST_GEOMETRY_SQRT_CHECK_FINITENESS
2015-03-07 09:33:45 +02:00
Adam Wulkiewicz
2751260986
Merge pull request #243 from mkaravel/fix/point_iterator_missing_const
...
[iterators][point iterator] add missing const in constructor
2015-03-06 15:20:17 +01:00
Menelaos Karavelas
adb8dfa023
[algorithms][partition] modify partition to work for forward ranges
2015-03-06 10:56:42 +02:00
Menelaos Karavelas
b0a78785b7
[iterators][point iterator] add missing const in constructor
2015-03-06 08:29:33 +02:00
Adam Wulkiewicz
2e18afacce
Merge pull request #239 from sdebionne/fix/iterators
...
Fix point_iterator with raw pointer base
2015-03-06 06:17:08 +01:00
Adam Wulkiewicz
bbe02b0c7f
Merge pull request #242 from mkaravel/fix/is_valid_polygon_fix_comment
...
[algorithms][is_valid] fix comment
2015-03-05 14:17:24 +01:00
Menelaos Karavelas
0efb49d054
[algorithms][is_valid] fix comment
2015-03-05 15:12:22 +02:00
Menelaos Karavelas
75c3590aef
[util][math] implement workaround for 32-bit platforms for which sqrt(nan)
...
returns a finite value; workaround is activated by defining the macro
BOOST_GEOMETRY_SQRT_CHECK_FINITENESS;
2015-03-05 11:27:59 +02:00
Barend Gehrels
f3ddb57828
Merge branch 'bg-prepare'
2015-03-04 19:37:01 +01:00
Adam Wulkiewicz
8bd9144474
[test][util][range] Add tests for iterator_range<pointer> and pair<pointer>.
2015-03-04 14:21:50 +01:00
Barend Gehrels
2c8deea1cd
Merge branch 'develop' into bg-prepare
...
Conflicts:
test/algorithms/buffer/multi_point_buffer.cpp
2015-03-04 13:21:20 +01:00
Barend Gehrels
6cac10bec6
[test][buffer] fix last tests which were done with custom side. Which explains
...
the "failing" test which were actually succeeding. Naming is now more clear
2015-03-04 13:15:42 +01:00
Barend Gehrels
f411490532
[doc] add buffer fix to release notes
2015-03-04 12:33:21 +01:00
Barend Gehrels
fbd880a0c7
[test][buffer] Only test symmetric case in release mode
2015-03-04 12:33:03 +01:00
Barend Gehrels
2e9eedd4ea
[buffer][test] Add cases for various miter limits
2015-03-04 12:31:59 +01:00
Barend Gehrels
e80ec0babf
[buffer][doc] Make miter limit more clear in documentation
2015-03-04 12:26:49 +01:00
Barend Gehrels
ed2f52a16d
[buffer] Fix end caps with odd number of points, they were not closed
...
Including unit test. Issue was found by Oracle/MySQL testing
2015-03-04 11:40:44 +01:00
Barend Gehrels
53f43d4098
Merge pull request #241 from mkaravel/fix/revert_buffer_join_round
...
[strategies][cartesian][buffer][join_round] revert change in strategy
2015-03-04 11:23:49 +01:00
Menelaos Karavelas
90bb9a8a4f
[strategies][cartesian][buffer][join_round] revert change in strategy
2015-03-04 12:09:56 +02:00
Samuel Debionne
73a9a47598
[iterators] Use base_type from boost::iterator_adaptor
...
Use base_type from boost::iterator_adaptor. Remove base type definition
that clash with the base() function of boost::iterator_adaptor. Reformat
to follow coding guidelines.
2015-03-04 10:10:02 +01:00
Barend Gehrels
de0186d3ae
Merge pull request #238 from mkaravel/fix/buffer_join_round
...
Fix number of generated points in join_round buffer strategy
2015-03-03 20:09:51 +01:00
Samuel Debionne
84463ae8ba
[iterators] Fix point_iterator with raw pointer base
...
Fix point_iterator (and adapt reverse_point_iterator to the fix) to
support curves implemented with raw pointer as iterator. The fix uses
boost::iterator_adaptor that implements base() a synonyme of base_ptr()
that consequently has been removed. The operators are also redondant and
removed.
2015-03-03 15:46:54 +01:00
Menelaos Karavelas
ac1a78f1cd
[strategies][cartesian][buffer][join_round] move the max outside the static cast
2015-03-03 16:04:32 +02:00
Menelaos Karavelas
a6a448f429
[strategies][cartesian][buffer][join_round] make sure that at least one
...
interior point is generated
2015-03-03 09:50:46 +02:00
Barend Gehrels
835f4041ec
Merge pull request #237 from mkaravel/fix/buffer_end_round
...
[strategies][cartesian][buffer][end_round] fix internal point count
2015-03-02 21:44:24 +01:00
Menelaos Karavelas
38fc1224c7
[strategies][cartesian][buffer][end_round] fix internal point count
...
for small input values (less than 4): when the input point count is less
than 4, set the internal point count to 4; for values less than 4 the
generated ends do not look round;
2015-03-02 21:11:40 +02:00