Commit Graph

8536 Commits

Author SHA1 Message Date
Adam Wulkiewicz
4354ab9ca0 [doc] Update 1.58 release notes (bug). 2015-03-24 19:43:47 +01:00
Adam Wulkiewicz
57d55eb964 [index] Fix count() - access of destroyed temporary if convertible type passed. 2015-03-24 19:31:47 +01:00
Adam Wulkiewicz
9372cb08d1 [doc] Update the list of supported compilers. 2015-03-24 12:58:27 +01:00
Adam Wulkiewicz
ccc91eb78b Merge pull request #273 from mkaravel/fix/douglas_peucker
Fix: testing of Douglas Peucker strategy
2015-03-24 11:38:02 +01:00
Menelaos Karavelas
2ecf727c22 [test][strategies][douglas peucker] print both expected and detected output using the same format 2015-03-24 10:01:41 +02:00
Menelaos Karavelas
e191a5f562 [test][strategies][douglas peucker] make case ID argument the first argument of tester;
include a label in the case id;
2015-03-24 09:50:43 +02:00
Adam Wulkiewicz
e48c80fbeb [doc] Update 1.58 release notes (tickets and bugs). 2015-03-24 03:20:44 +01:00
Adam Wulkiewicz
4ecb443891 [test] Add /bigobj compiler flag for all tests run on windows with intel compiler. 2015-03-24 01:25:50 +01:00
Adam Wulkiewicz
0115da1dd3 [relate] Rename check() to more specific check_element() and check_matrix(). 2015-03-24 01:23:08 +01:00
Adam Wulkiewicz
efeb592d80 [index][doc] Improve the rtree description. 2015-03-23 17:53:08 +01:00
Adam Wulkiewicz
bd7b7da000 [index][doc] Small docs improvements. 2015-03-23 17:27:14 +01:00
Barend Gehrels
2c97556684 Merge branch 'develop' into feature/buffer 2015-03-22 23:00:59 +01:00
Barend Gehrels
90fcd83f30 [test] Remove bigobj flag from Jamfiles
now that it is defined in the upper level
2015-03-22 22:58:24 +01:00
Adam Wulkiewicz
a6ad1be145 Merge pull request #268 from mkaravel/ext/ttmath_support_for_fmod
Extensions: add ttmath support for fmod
2015-03-22 17:51:03 +01:00
Menelaos Karavelas
aac92cbd93 [extensions][ttmath] rename fmod() free function to mod() 2015-03-22 17:11:36 +02:00
Adam Wulkiewicz
b80a462d04 Merge pull request #270 from mkaravel/ext/define_ttmath_big_missing_arithmetic_operators
Extensions: define ttmath big missing arithmetic operators
2015-03-22 15:12:20 +01:00
Adam Wulkiewicz
e8fafc942d Merge pull request #272 from awulkiew/fix/cart_intersect2
Fix for cart_intersect and side_by_triangle - inconsistencies on MinGW and more (robustness)
2015-03-22 14:44:33 +01:00
Adam Wulkiewicz
d1358af447 Merge pull request #267 from awulkiew/fix/cart_intersect
[strategies][cart_intersect] Compare ratios denominators consistently.
2015-03-22 14:41:41 +01:00
Barend Gehrels
c2a74a2347 [test] Remove bigobj flag from Jamfiles
now that it is defined in the upper level
2015-03-21 13:03:42 +01:00
Adam Wulkiewicz
37429b3234 [test] Fix select_most_precise test for Android.
On this platform sizeof(long double) == sizeof(double).
Conditionally test the combination of those types only if long double is
greater.
2015-03-20 18:04:50 +01:00
Adam Wulkiewicz
5d8b4a4810 Merge branch 'develop' of github.com:boostorg/geometry into develop 2015-03-20 14:16:56 +01:00
Adam Wulkiewicz
a50c92e510 [example] Fix compilation errors in examples. 2015-03-20 14:16:46 +01:00
Barend Gehrels
aad0f6a474 Merge branch 'develop' into feature/buffer 2015-03-20 14:01:29 +01:00
Barend Gehrels
c11f58f08d [test] add bigobj for all tests on MSVC
This should fix new failures on wkt, point_on_surface, assemble. get_turns
and several others, which appear as of March 2015 on MSVC 14 and 11 now
2015-03-20 13:49:09 +01:00
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
a239fb629a [test][get_turns] Add additional output for debugging purposes, enabled with macro definition. 2015-03-16 17:28:12 +01:00
Adam Wulkiewicz
062a7abce9 [strategies][cart_intersect] Modify type of factor stored in the equals policy. 2015-03-16 17:26:20 +01:00
Adam Wulkiewicz
6098d419ba [util][math] Fix equals policies return types.
To avoid returning reference to temporary object.

Add equals_factor_policy "empty" specialization for integral types.
2015-03-16 17:22:13 +01:00
Menelaos Karavelas
bf96857a46 [util][math][mod] rename math::fmod() to math::mod() (more generic and descriptive name);
fix/update inline doc and comments; add default value to IsIntegral
template parameter of modulo_for_fundamental struct;
2015-03-16 12:09:36 +02:00
Menelaos Karavelas
449e381fda [util][math][spheroid] replace calls to math::fmod() by calls to math::mod() 2015-03-16 11:55:47 +02:00
Menelaos Karavelas
4230755b07 [extensions][ttmath] fix years in copyright header 2015-03-16 10:31:45 +02:00
Menelaos Karavelas
6dff815238 [extensions][ttmath] implement binary arithmetic operators for ttmath_big as free functions 2015-03-16 10:26:34 +02: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
c72e6812be [test][difference] Enable the tests failing before the recent changes in cart_intersect. 2015-03-14 04:09:08 +01:00
Adam Wulkiewicz
4be351e433 [test][get_turns] Update the tests, enable previously failing ones.
Instead of expecting invalid results, disable 2 still failing tests.
2015-03-14 04:06:12 +01:00
Adam Wulkiewicz
f59f6fface [strategies][side_by_triangle] Use equals() with policy.
Compare the floating-point results of determinant (denominators) using
the epsilon scaled by the greatest of the differences of coordinates of
the points passed into the determinant formula.
2015-03-14 04:03:02 +01:00
Adam Wulkiewicz
dbeb823fcb [strategies][cart_intersect] Use equals() with policy.
Compare the floating-point results of cramer's rule (denominators) using the epsilon
scaled by the greatest of the differences of coordinates of the segments'
endpoints (the input of the determinant formula).
2015-03-14 03:55:44 +01:00
Adam Wulkiewicz
b5887efd5e [math] Add/improve math utils.
Add the support for policy calculating epsilon factor in equals().
Add greatest() algorithm - max() equivalent taking more than 2 parameters.
Add specialization of abs() for floating-point numbers.
2015-03-14 03:52:02 +01:00