Commit Graph

8536 Commits

Author SHA1 Message Date
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
Barend Gehrels
54a64a7e35 [geometry] fixed comparable_distance point-linestring (and -range, -polygon)
[SVN r81580]
2012-11-26 22:12:35 +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
Barend Gehrels
3ec9d48e43 [geometry] fixed for_each using C++11 lambda's, including adding unit test for them
[SVN r81418]
2012-11-18 19:51:00 +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
Bruno Lalande
df13f5a861 Integrated reverse into support_status.
[SVN r81078]
2012-10-28 20:54:42 +00:00
Bruno Lalande
cd44f9090e Made dispatch::reverse able to find the tag by itself.
[SVN r81077]
2012-10-28 19:25:13 +00:00
Bruno Lalande
0bb3c3f9c9 Integrated num_points into support_status.
[SVN r81076]
2012-10-28 19:18:05 +00:00
Bruno Lalande
7be65c1fbc Made dispatch::num_points able to find the tag by itself + used not_implemented.
[SVN r81075]
2012-10-28 19:08:35 +00:00
Barend Gehrels
a9d243b636 [geometry] Unit tests belonging to bugfix difference problem reported by H2 at Boost.Geometry list at 2012-09-14 and 2012-10-11
[SVN r80994]
2012-10-15 21:15:00 +00:00
Barend Gehrels
931d6b65bf [geometry] Bugfix: difference problem reported by H2 at Boost.Geometry list at 2012-09-14 and 2012-10-11
[SVN r80993]
2012-10-15 21:12:25 +00:00
Adam Wulkiewicz
b164ec22c4 Added exact_match parameter to are_boxes_ok() check.
[SVN r80982]
2012-10-13 23:26:25 +00:00
Bruno Lalande
44a6514827 Integrated num_interior_rings into support_status.
[SVN r80973]
2012-10-12 21:50:58 +00:00
Bruno Lalande
18e9c2d582 Defaulted Tag template parameter in dispatch::num_interior_rings.
[SVN r80972]
2012-10-12 21:47:24 +00:00
Bruno Lalande
3f87f7cd7c Integrated num_geometries into support_status.
[SVN r80971]
2012-10-12 21:43:41 +00:00
Bruno Lalande
212dec5619 Used not_implemented in dispatch::num_geometries.
[SVN r80970]
2012-10-12 21:38:41 +00:00
Bruno Lalande
852185860e Defaulted Tag template parameter in dispatch::num_geometries.
[SVN r80969]
2012-10-12 21:36:00 +00:00