1884 Commits

Author SHA1 Message Date
Vladimir Prus
ec9e78e85f Initial modular patch, from Bjorn.
[SVN r85884]
2013-09-25 08:13:57 +00:00
Adam Wulkiewicz
1f170a3a7c [geometry] fixed error in touches() for CCW Rings/Polygons.
[SVN r85869]
2013-09-24 14:28:51 +00:00
Barend Gehrels
ac40228b07 [geometry] Major bugfix: intersection problem(s) caused by robustness, reported in ticket 9081. Causes were inconsistent side information by floating point precision. We now switch to integer for a specific region (6 points) to have the side information consistent. This removes many separate robustness checks previously done in cart_intersect, which is now more simple and ~200 lines shorter. And it removes also some robustness checks in get_turn_info (probably more were actually needed by old approach). It also uses this system in handle_tangencies and enrich_intersection_points.
It now also used the passed side information in direction.hpp, which saves calculations and is shorter.
In the end the performance is similar.
One (of many) situations in ticket 9081 is added in multi unit tests.


[SVN r85867]
2013-09-24 14:18:13 +00:00
Barend Gehrels
32aa8ebd08 [geometry] Unit tests, updated float-versions due to differences in spikes in recent commit (August). This is not tested by default..
[SVN r85775]
2013-09-18 12:20:12 +00:00
Barend Gehrels
803540261f [geometry][extensions] Bugfixes: fixed distance strategies (w.r.t. changed template parameters) in latlong examples
[SVN r85724]
2013-09-17 16:08:08 +00:00
Barend Gehrels
7a6a22a185 [geometry][extensions] Bugfixes: fixed map_transformer (w.r.t. changed template parameters) and location of sample data (folder structure has been changed earlier this year)
[SVN r85723]
2013-09-17 16:00:09 +00:00
Adam Wulkiewicz
953876e33c [geometry][index] compilation error in benchmark random_test fixed.
[SVN r85694]
2013-09-16 00:33:01 +00:00
Adam Wulkiewicz
ce10039377 [geometry][index]: added iterators test implementation using Boost.Function. Fixed compilation errors in benchmark_experimental.
[SVN r85693]
2013-09-16 00:25:37 +00:00
Adam Wulkiewicz
64730165b5 [geometry][index] experimental serialization routines implemented as free functions instead of rtree member functions and moved to separate file, added private_view(s).
[SVN r85647]
2013-09-11 01:21:57 +00:00
Adam Wulkiewicz
1efb2881ff [geometry] index docs: removed meaningless 'experimental'.
[SVN r85639]
2013-09-10 12:12:43 +00:00
Adam Wulkiewicz
b11eb4fe5b [geometry] index docs: reformulated sentence.
[SVN r85638]
2013-09-10 12:00:44 +00:00
Adam Wulkiewicz
d31d73ed62 [geometry] query iterators described in docs + some fixes of the chapter describing queries.
[SVN r85637]
2013-09-10 11:54:34 +00:00
Adam Wulkiewicz
d9b6f89d64 [geometry]: iterative queries simplified, docs updated, added qbegin() and qend() free functions, added new functions to the reference matrix, release notes updated.
[SVN r85630]
2013-09-09 22:37:55 +00:00
Adam Wulkiewicz
597f121798 [geometry][index] docs updated.
[SVN r85617]
2013-09-09 00:02:53 +00:00
Adam Wulkiewicz
d063118a3f [geometry] docs: added description of contains() and covers() predicates.
[SVN r85566]
2013-09-04 19:44:19 +00:00
Barend Gehrels
154e4504e9 [geometry] added traits::clear, resize, push_back to multi concepts
[SVN r85565]
2013-09-04 15:16:29 +00:00
Adam Wulkiewicz
bfff854c0c [geometry][index] Fixed the description of rtree class.
[SVN r85564]
2013-09-04 11:58:33 +00:00
Adam Wulkiewicz
8ab68c96f6 [geometry][index] example: added segment and linestring intersects queries to glut_vis, doc: added pictures of those queries results.
[SVN r85563]
2013-09-04 11:57:34 +00:00
Barend Gehrels
7d329b3582 [geometry] added bigobj for the failing MSVC tests
[SVN r85562]
2013-09-04 11:17:34 +00:00
Barend Gehrels
fd4bfbcc8c [geometry] use concept instead of .erase for recent append_no_dups_or_spikes
[SVN r85561]
2013-09-04 11:11:14 +00:00
Adam Wulkiewicz
2c41475405 [geometry] tests added for segment/linestring-box intersects().
[SVN r85559]
2013-09-04 01:52:05 +00:00
Adam Wulkiewicz
08690f20f0 [geometry] segment-box intersects() tweaked to support boost::rational<>, not fully supported because of lack of std::numeric_limits<> specialization.
[SVN r85558]
2013-09-04 01:44:15 +00:00
Adam Wulkiewicz
8c65e8b6d3 [geometry] segment/linestring-box intersection moved to detail/disjoint, compilation error fixed.
[SVN r85557]
2013-09-04 00:16:50 +00:00
Adam Wulkiewicz
1566048ae2 [geometry] added n-dimensional segment-box and linestring-box intersects()/disjoint() implementation.
[SVN r85556]
2013-09-03 23:55:17 +00:00
Barend Gehrels
bb8e187931 [geometry] fixed clear/back calls for cases reported by Renaud on 2013-09-02 on mailing list
[SVN r85554]
2013-09-03 20:08:30 +00:00
Barend Gehrels
fb74bfbe26 [geometry] Fixed ticket 9047 (recursive inclusion) and unit test for ticket 8652
[SVN r85552]
2013-09-03 18:45:18 +00:00
Adam Wulkiewicz
ed4fc34beb [geometry][index]test: enabled tests for contains() and covers() predicates.
[SVN r85521]
2013-08-30 02:33:26 +00:00
Adam Wulkiewicz
7d0393eb4a [geometry][index] added covers() and contains() predicates to the official interface.
[SVN r85520]
2013-08-30 02:31:31 +00:00
Adam Wulkiewicz
f944a3277b [geometry][index] examples: added queried() range and ranges created from query iterators to benchmark_experimental.
[SVN r85518]
2013-08-29 23:05:33 +00:00
Adam Wulkiewicz
425d370d1a [geometry][index] type-erased query iterators move semantics implemented using Boost.Move replaced by c++11 rval refs if supported. Error in move assign fixed.
[SVN r85517]
2013-08-29 22:59:02 +00:00
Adam Wulkiewicz
10a847f62f [geometry][index] test: added query iterators, benchmark: removed unneeded tests versions of query iterators.
[SVN r85508]
2013-08-29 00:36:52 +00:00
Adam Wulkiewicz
242ef41cf1 [geometry][index] query iterators added to the rtree official interface.
[SVN r85507]
2013-08-29 00:33:54 +00:00
Adam Wulkiewicz
190cf977c7 [geometry][index] examples: movable type-erased iterators enabled in benchmark_experimental
[SVN r85504]
2013-08-28 19:07:09 +00:00
Adam Wulkiewicz
86273a3c7f [geometry][index] added conditional move semantics to type-erased query iterators, for test purposes
[SVN r85503]
2013-08-28 19:05:53 +00:00
Adam Wulkiewicz
5bfab4a363 [geometry][index]example: added additional implementation of type-erased query iterator to benchmark_experimental
[SVN r85501]
2013-08-28 13:54:25 +00:00
Adam Wulkiewicz
2e81515795 [geometry][index] added one more implementation of experimental type-erased query iterator
[SVN r85500]
2013-08-28 13:53:16 +00:00
Adam Wulkiewicz
3b3b07c740 [geometry][index]example: added alternative type-erased query iterators to benchmark_experimental
[SVN r85496]
2013-08-28 00:55:08 +00:00
Adam Wulkiewicz
3c8eca3df2 [geometry][index] implemented alternative version of type-erased query iterators (still experimental).
[SVN r85495]
2013-08-28 00:51:14 +00:00
Barend Gehrels
95cd9a2126 [geometry] added testcase for ticket 6958 which is also fixed by commit 85451 avoiding spikes
[SVN r85491]
2013-08-27 20:33:32 +00:00
Barend Gehrels
5df00d98c3 [geometry] cleanup test removing defines, moving testing-only-one-type to Jamfile
[SVN r85481]
2013-08-26 21:36:22 +00:00
Barend Gehrels
126511696c [geometry] fixes in unit-test, uncommented one testcase, enabled for 3 of 4 polygon types. Added convenience function to list type in case of errors
[SVN r85480]
2013-08-26 21:15:47 +00:00
Barend Gehrels
78f88c752a [geometry] avoid error on geometry::math::abs for MSVC and long long
[SVN r85479]
2013-08-26 21:02:18 +00:00
Barend Gehrels
bd79d311c9 [geometry] avoid clang warning about unused ublas function
[SVN r85478]
2013-08-26 20:18:27 +00:00
Barend Gehrels
082c8e4d53 [geometry] fixed unit-test for intersections w.r.t. coordinates and last commit for spikes. One test is now commented because it returns different values in different situations
[SVN r85467]
2013-08-25 17:51:54 +00:00
Barend Gehrels
d1c4cb7b6d [geometry] avoid generation of spikes in overlays, this fixes ticket 8364 and 8365. Added unit tests for these tickets. These changes result in (at about 3 places) changes in the output-number-of-points, this is verified visually
[SVN r85451]
2013-08-24 22:53:43 +00:00
Barend Gehrels
fd95cc49a9 [geometry] added unit-test for tickets 8364 and 8365. They now fail but that will be fixed in next commit
[SVN r85450]
2013-08-24 21:10:12 +00:00
Barend Gehrels
2c7ab5b8d4 [geometry] small fixes/typos in documentation for strategies
[SVN r85413]
2013-08-20 20:39:33 +00:00
Barend Gehrels
52db334352 [geometry] fixed documentation: removed template parameters, made pythagoras back to a class, remove xml files in make_qbk to avoid using old ones
[SVN r85412]
2013-08-20 20:22:33 +00:00
Barend Gehrels
fa2c9e373b [geometry] cleanup: removed unused typedefs as warned for by gcc 4.8
[SVN r85411]
2013-08-20 19:42:20 +00:00
Barend Gehrels
7a71993c6f [geometry][extension] fixed clang compilation problem, qualifying baseclass
[SVN r85398]
2013-08-19 19:55:19 +00:00