Commit Graph

4778 Commits

Author SHA1 Message Date
Adam Wulkiewicz
d3f95f2cbb [index][doc] Remove manually enabled doxygen code for details since now it should be automatically generated. 2015-03-20 03:42:13 +01:00
Adam Wulkiewicz
3475f33972 [doc] In doxygen_xml2qbk alt output automaticaly detect details and generate output containing unspecified return type, default paramters values, etc. 2015-03-20 03:39:50 +01:00
Adam Wulkiewicz
cc4ac4599d [index][doc] Hide details in docs if DOXYGEN_NO_DETAIL is defined.
Change functions return types to unspecified.
Replace parameters defaults generated by functions/metafunctions with values.
Hide base classes.
2015-03-20 02:07:23 +01:00
Adam Wulkiewicz
7399df83cc [doc] Format "unspecified" functions return type in a special way in doxygen_xml2qbk alt output synopsis. 2015-03-20 02:01:34 +01:00
Adam Wulkiewicz
b788a9e4ab [index] Rename node_auto_ptr with subtree_destroyer and auto_deallocator with scoped_dealloactor. 2015-03-19 23:39:42 +01:00
Adam Wulkiewicz
4514e325f9 [index] Move predicates and operators into detail::predicates namespace.
In order to use the operators only for predicates.
2015-03-19 23:36:32 +01:00
Adam Wulkiewicz
0f4ce76449 [index] Replace std::auto_ptr with boost::scoped_ptr in query_iterator. 2015-03-19 23:35:20 +01:00
Adam Wulkiewicz
d22b3a00bf [test][index] Add more tests for types convertible to rtree::value_type.
Hopefully it'll give info needed to fix wrong results of rtree::count() for types convertible to value_type on Android.
2015-03-19 03:54:10 +01:00
Adam Wulkiewicz
5cd851d48a [test][index] Add test for rtree packing using move_itreator. 2015-03-19 01:27:51 +01:00
Adam Wulkiewicz
91fb7241e5 [index] Support move_iterator in packing algorithm. 2015-03-19 01:25:34 +01:00
Adam Wulkiewicz
6fd35a3fb8 [test][util] Generate custom error message in select_most_precise test. 2015-03-18 17:25:57 +01:00
Adam Wulkiewicz
f7cc47bb30 [test][get_turns] Add test file for Areal/Areal. 2015-03-18 14:16:02 +01:00
Adam Wulkiewicz
6eb80018c6 [index][pack_create] Fix for iterators not returning true references.
Don't dereference iterators passed by the user in the expression where a
dereferenced value is passed into the translator/indexable-getter.

Without this fix if an iterator returns non-true reference (e.g. like
segment_iterator) and this reference is adapted to the Geometry concept
(like pointing_segment returned by segment_iterator) and the default
indexable<> getter is used (which returns a true reference), then a true
reference returned by it is a dangling reference corresponding to a
destroyed temporary object.
2015-03-17 02:49:54 +01:00
Adam Wulkiewicz
059142283d [test] Rename occurances of CS because this name is used as a macro on Solaris. 2015-03-14 05:10:58 +01:00
Adam Wulkiewicz
e5c7ac09c9 Merge pull request #265 from mkaravel/fix/remove_deprecated_include_paths_part2
Fix: remove deprecated include paths - Part II
2015-03-12 14:47:39 +01:00
Adam Wulkiewicz
d22f26f425 Merge pull request #266 from mkaravel/fix/support_status_for_num_points
Remove deprecated include paths - Part III & fix support status for num_points
2015-03-12 13:51:32 +01:00
Menelaos Karavelas
4d544287a3 [test][algorithms][set operations] update deprecated includes referring to
the include/boost/geometry/multi/ directory
2015-03-12 10:47:28 +02:00
Menelaos Karavelas
742d4090d8 [doc][tools][support status] remove deprecated includes referring to the
include/boost/geometry/multi/ directory;
fix call for num_points: dispatch::num_points<> takes a second boolean argument
with no default value, which was not accounted for by support status;
2015-03-12 10:35:33 +02:00
Adam Wulkiewicz
422a093ae8 Merge branch 'develop' of github.com:boostorg/geometry into develop 2015-03-11 19:52:04 +01:00
Adam Wulkiewicz
d8263e54f2 [test][get_turns] Add tests failing for MinGW guarded with #ifdef. 2015-03-11 19:51:48 +01:00
Adam Wulkiewicz
8025793aa4 Merge pull request #263 from mkaravel/fix/geometry_test_common
Fix: allow geometry test common to be included in all unit tests
2015-03-11 19:48:56 +01:00
Barend Gehrels
3077cc89b9 Merge branch 'develop' of github.com:boostorg/geometry into develop 2015-03-11 19:07:32 +01:00
Barend Gehrels
65f57b1947 [test] move as_range to algorithms/detail 2015-03-11 19:07:16 +01:00
Adam Wulkiewicz
4a58863dcc Merge pull request #262 from mkaravel/fix/remove_obsolete_includes
Fix: remove obsolete includes referring to the "multi"directory
2015-03-11 19:05:05 +01:00
Menelaos Karavelas
09a335d5ea [test][geometry] guard the inclusion of Boost.Test related files with
the BOOST_TEST_MODULE macro; this way geometry_test_common.hpp can be included
in tests that proceed with unit testing using other Boost.Test utilities
(like some of the distance and set-ops tests, validity and simplicity)
2015-03-11 19:54:57 +02:00
Menelaos Karavelas
099388c5ae [test][algorithms][equals] remove obsolete includes referring to the
"multi" directory
2015-03-11 19:44:39 +02:00
Adam Wulkiewicz
b42d70f49e Merge pull request #260 from mkaravel/feature/distance
Distance: re-factor, polish and add new test cases
2015-03-11 15:23:06 +01:00
Menelaos Karavelas
556637448f [test][algorithms][distance] add test case where distance computed is a NaN 2015-03-11 10:51:03 +02:00
Menelaos Karavelas
a33fb12f2e [test][algorithms][distance] add test case where distance overflows 2015-03-11 10:50:41 +02:00
Menelaos Karavelas
c519fb80e3 [test][algorithms][distance] remove last argument in tester calls (not needed) 2015-03-11 10:49:55 +02:00
Menelaos Karavelas
bb25a857ee [test][algorithms][distance] update copyright year 2015-03-11 10:49:18 +02:00
Menelaos Karavelas
c8d6269b09 [test][algorithms][distance] polish and update code; re-factor some parts;
allow testing against test cases where distance computed is not a finite
floating-point value;
2015-03-11 10:48:46 +02:00
Adam Wulkiewicz
e5c40ca188 [buffer] Fix unused variable MSVC warning in analyse_turn_wrt_point_piece. 2015-03-11 03:56:04 +01:00
Adam Wulkiewicz
6828fd5bda [policies] Fix unused parameter warnings in direction policy. 2015-03-11 03:54:42 +01:00
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