Commit Graph

200 Commits

Author SHA1 Message Date
Adam Wulkiewicz
3f1d769d9f Added MultiPolygon spatial query picture to docs.
Added MultiPolygon query to GLUT Vis.

[SVN r81921]
2012-12-13 22:37:06 +00:00
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
1840b1abee Removed not compiling test code from GLUT Vis.
[SVN r81909]
2012-12-13 18:50:38 +00:00
Adam Wulkiewicz
531629051a Info about spatial predicates using Ring and Polygon added in docs.
Ring and Polygon queries added to GLUT Vis test.

[SVN r81907]
2012-12-13 18:39:31 +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
6f103fc04e explicit keyword added in static_vector.
[SVN r81895]
2012-12-13 13:16:06 +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
d8f96837b8 Added license info.
[SVN r81875]
2012-12-12 15:31:46 +00:00
Adam Wulkiewicz
4778fbe049 Added static_vector test implementation.
[SVN r81874]
2012-12-12 15:27:53 +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
00481f40c2 BOOST_ASSERT used instead of std assert
[SVN r81812]
2012-12-10 01:21:00 +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
d1174a227e Small change in docs.
[SVN r81544]
2012-11-25 21:56:12 +00:00
Adam Wulkiewicz
e1a14edce2 Merged from index_dev.
Docs improved (images added). Some samples and tests modified.

[SVN r81542]
2012-11-25 21:38:31 +00:00
Adam Wulkiewicz
bad91b8f31 Small change in docs.
[SVN r81541]
2012-11-25 21:35:20 +00:00
Adam Wulkiewicz
73e7974408 Added basic description and images of spatial and knn queries
[SVN r81540]
2012-11-25 21:26:00 +00:00
Adam Wulkiewicz
7babc43f75 Rtree docs and sample modified.
Rtree introduction expanded.
Quickstart improved.

[SVN r81539]
2012-11-25 20:56:38 +00:00
Adam Wulkiewicz
f7d7e88bbb Modified glut_vis additional test and added generated rtree images.
[SVN r81528]
2012-11-25 17:28:12 +00:00
Adam Wulkiewicz
5a6e87b146 Pointers and Iterators types removed from the default Translator.
[SVN r81523]
2012-11-24 22:17:08 +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
a901b88244 Fixed nullptr dereference errors. Merged from index_dev.
[SVN r81484]
2012-11-22 14:47:16 +00:00
Adam Wulkiewicz
e5766cf57e Fixed nullptr dereference errors.
[SVN r81483]
2012-11-22 14:45:32 +00:00
Adam Wulkiewicz
52e8317c3b warnings fixed, query and nearest visitors renamed
[SVN r81482]
2012-11-22 11:31:58 +00:00
Adam Wulkiewicz
0ccbb1fe0c some of warnings fixed.
[SVN r81481]
2012-11-22 11:28:21 +00:00
Adam Wulkiewicz
b42b3e3c9f nearest and query visitors renamed.
[SVN r81471]
2012-11-22 01:54:21 +00:00
Adam Wulkiewicz
1ef9d77894 docs fixed
[SVN r81460]
2012-11-21 16:07:38 +00:00
Adam Wulkiewicz
6e13479481 docs fixed
[SVN r81459]
2012-11-21 16:06:34 +00:00
Adam Wulkiewicz
46816e4c44 merged from index_dev.
Fixed memory leaks mostly related to exception-safety issues.
Modified docs, added tests.

[SVN r81458]
2012-11-21 15:47:51 +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
7ed71e5324 Fixed memleak for CoordinateType/BoundingObject which have throwing copy constructor for R*tree.
Added comments regarding exception-safety.

[SVN r81438]
2012-11-20 17:00:41 +00:00
Adam Wulkiewicz
e2beb3cf2f Safety issue fixed in pushable_array.
Filenames related to filters(old name) changed to adaptors.

[SVN r81436]
2012-11-20 13:45:48 +00:00
Adam Wulkiewicz
ff1ccbdf29 Translator copy ctor exception handled.
Exception-safety docs moddified.



[SVN r81365]
2012-11-16 12:43:34 +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
ebb55d2ae9 names fixed in speed test.
[SVN r81352]
2012-11-15 00:52:13 +00:00
Adam Wulkiewicz
00c54279b4 std::vector MS implementation memory leak workaround added.
[SVN r81351]
2012-11-14 23:55:53 +00:00
Adam Wulkiewicz
6b456b1fc7 remove() don't return if there is no root, assertion check is done in raw_remove().
Docs updated.

[SVN r81350]
2012-11-14 23:35:14 +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
118ec2fbf6 Error related to the state of the rval after moving fixed. The root being NULL is valid state. Root is created lazily, if needed. This means that default constructor won't throw as well as moving operations.
[SVN r81345]
2012-11-14 17:12:23 +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
d008473125 mem leaks related to exceptions fixed in linear redistribute_elements.
[SVN r81284]
2012-11-10 13:29:07 +00:00
Adam Wulkiewicz
4dc16eb40d Exception-safety of the default insert and split algorithms improved.
[SVN r81280]
2012-11-10 10:25:56 +00:00