Commit Graph

36 Commits

Author SHA1 Message Date
Adam Wulkiewicz
d04440d13e rtree all tests divided into 2 files(for points and boxes) because b2 was complaining about the files sizes.
rtree tests were generated by tests/rtree_test_generator.cpp

[SVN r81912]
2012-12-13 20:38:05 +00:00
Adam Wulkiewicz
c6095f72f7 Added rtree test counting existing Values objects while inserting and removing.
[SVN r81902]
2012-12-13 17:14:06 +00:00
Adam Wulkiewicz
4689284174 added throwing static vector to exceptions test
[SVN r81897]
2012-12-13 13:48:51 +00:00
Adam Wulkiewicz
aaf737a5ce static_vector implemented and used in the rtree instead of pushable_array
[SVN r81885]
2012-12-13 03:34:54 +00:00
Adam Wulkiewicz
b62ed82e19 Added commented out tests of rtree spatial queries for Polygon and Ring query regions.
[SVN r81868]
2012-12-12 00:19:29 +00:00
Adam Wulkiewicz
dd6430083d Coding style improved (issues detected by Boost Inspect tool).
[SVN r81802]
2012-12-08 23:47:52 +00:00
Adam Wulkiewicz
f4f0094c3a Merged from index_dev
Fixed rtree::clear() mem leak.
Added test for clear() and boost::shared_ptr as Values.
Each linear algo test file divided into 2 files.
Added reference in docs->rtree introduction.

[SVN r81778]
2012-12-07 22:52:53 +00:00
Adam Wulkiewicz
640ae6ced6 Inserter included in the rtree.hpp
Added docs regarding inserter and creation of the rtree from the query results.
Added info about comparison of tuples in default translator.
Merged from index_dev.

[SVN r81582]
2012-11-26 22:20:38 +00:00
Adam Wulkiewicz
6f5b384b93 Merged from index_dev.
not_xxx predicates generators removed.
Added rtree constructor, insert() and remove() taking Range.
Added default translator for boost::tuple<>.
Each R*tree test divided into 2 files.
Docs updated/modified/fixed.

[SVN r81571]
2012-11-26 18:54:09 +00:00
Adam Wulkiewicz
80be48d155 Added rtree::swap() method.
Added requirement 'Nonthrowing copy constructor of the Translator'.



[SVN r81512]
2012-11-24 19:54:36 +00:00
Adam Wulkiewicz
e5766cf57e Fixed nullptr dereference errors.
[SVN r81483]
2012-11-22 14:45:32 +00:00
Adam Wulkiewicz
0ccbb1fe0c some of warnings fixed.
[SVN r81481]
2012-11-22 11:28:21 +00:00
Adam Wulkiewicz
d385e62bdd compilation warning fixed.
[SVN r81446]
2012-11-20 23:04:15 +00:00
Adam Wulkiewicz
7bbf242891 Improved exception safety of the r-tree.
Requirement 'nonthrowing copy constructor of the BoundingObject/CoordinateType' changed to 'exception-safe copy constructor of the BoundingObject/CoordinateType'.
From now the r-tree do not use erase() method of the elements containers. It uses copy_from_back() and pop_back() instead.
erase() removed from pushable_array.
Added various memory leaks fixes taking throwing by Element's copy constructor into account.
Tests added.
Docs modified.

[SVN r81445]
2012-11-20 22:49:14 +00:00
Adam Wulkiewicz
04cf9fbc39 A cosmetic change in raw_destroy().
Some of the rtree member types and methods made private unless BOOST_GEOMETRY_INDEX_ENABLE_DEBUG_INTERFACE is defined.



[SVN r81355]
2012-11-15 11:23:36 +00:00
Adam Wulkiewicz
593ab6d9fb Names changed query to spatial_query, nearest to nearest_query, query_filtered to adaptors::spatial_queried, nearest_filtered to adaptors::nearest_queried.
[SVN r81349]
2012-11-14 21:59:37 +00:00
Adam Wulkiewicz
0ce013bdba mem leaks related exceptions in rtree copying fixed
[SVN r81340]
2012-11-14 14:37:09 +00:00
Adam Wulkiewicz
b00198e311 mem leaks related to exceptions in remove fixed
[SVN r81325]
2012-11-13 22:13:17 +00:00
Adam Wulkiewicz
fd19533cec exceptions test compilation warnings fixed for clang
[SVN r81304]
2012-11-12 02:36:41 +00:00
Adam Wulkiewicz
6a1f024055 exceptions test improved.
[SVN r81302]
2012-11-12 01:07:59 +00:00
Adam Wulkiewicz
25e10f2539 potential mem leaks fixed in inserting algorithms, exceptions tests added.
[SVN r81301]
2012-11-12 00:47:07 +00:00
Adam Wulkiewicz
a8356c2625 fixed some warnings and error, added nearest query test which don't find all values.
[SVN r80838]
2012-10-03 23:59:01 +00:00
Adam Wulkiewicz
d0890859f0 numeric_limits<>::max() handled correctly.
[SVN r80239]
2012-08-26 19:54:39 +00:00
Adam Wulkiewicz
1f72fc54cb Implemented r-tree run-time parameters. Tests modified. Added remove() test.
[SVN r80230]
2012-08-26 00:41:11 +00:00
Adam Wulkiewicz
4c41822454 Modified docs, files descriptions, added quick_start example.
[SVN r80164]
2012-08-23 21:55:34 +00:00
Adam Wulkiewicz
6302ef001e added r-tree basic knn search test, gcc compilation errors fixed, *.cpp test files divided to more smaller files.
[SVN r80148]
2012-08-22 22:16:35 +00:00
Adam Wulkiewicz
0231d54d6d r-tree reference return in moving assignment operator added, r-tree copying and moving tests implemented.
[SVN r80144]
2012-08-22 18:52:05 +00:00
Adam Wulkiewicz
34be8fbad5 removed doubled algorithm index::overlap().
[SVN r79137]
2012-06-27 13:45:10 +00:00
Adam Wulkiewicz
f9b2279725 Added rtree predicate index::touches(). The code is commented out since the geometry::touches() algorithm is probably not finished yet. Fixed GCC compile errors in tests.
[SVN r79135]
2012-06-27 12:25:38 +00:00
Adam Wulkiewicz
8339c81d88 rtree tests divided into several files.
[SVN r79134]
2012-06-27 11:44:44 +00:00
Adam Wulkiewicz
45c945b162 implemented tests for rtree spatial queries in 2d and 3d.
[SVN r79133]
2012-06-27 11:26:53 +00:00
Adam Wulkiewicz
f20f6107b1 implemented rtree intersection queries tests for 3d.
[SVN r79125]
2012-06-26 22:31:01 +00:00
Adam Wulkiewicz
a1d3066d9a Fixed error in linear::find_greatest_normalized_separation.
Implemented rtree inserts and intersection queries tests for Points and pair<Box, int>.

[SVN r79122]
2012-06-26 19:42:30 +00:00
Adam Wulkiewicz
cfc4f8b4ad tests added:
rtree- 2d, linear<4,2>, quadratic<4,2>, rstar<4,2>
queries - default, intersects, !intersects, !disjoint, not_disjoint

[SVN r79108]
2012-06-26 13:36:34 +00:00
Adam Wulkiewicz
c00ddbd2a8 some tests and optimizations.
[SVN r79107]
2012-06-26 11:49:56 +00:00
Adam Wulkiewicz
31c5e016e7 added tests of some index's algorithms + index::margin() optimization.
[SVN r79090]
2012-06-25 19:00:24 +00:00