Commit Graph

261 Commits

Author SHA1 Message Date
Adam Wulkiewicz
e1a4660d47 Added examples of indexing polygons.
Fixed c++11 compilation error caused by use of deleted Allocators copy ctor in rstar insert visitor.


[SVN r83110]
2013-02-23 23:47:19 +00:00
Adam Wulkiewicz
f7849be05d doxygen_xml2qbk: fixed alt. class output for class specialization.
quickbook_output_indexterm() call removed from alt. class output.
docs updated


[SVN r83082]
2013-02-22 13:53:19 +00:00
Adam Wulkiewicz
d418dac57f rtree predefined translator renamed to index::translator<>
index::translator::def<> renamed to index::translator<>
index::translator::index<> removed
translator helpers removed or moved to index::default::translator namespace
some unneeded includes removed
docs updated

[SVN r83077]
2013-02-22 03:23:41 +00:00
Adam Wulkiewicz
fd98aaab40 rtree: allocator_traits used in ctor and operator= (e.g. propagate_XXX or select_XXX),
index::swap() added,
query_range operator| generator moved to index::detail,
docs updated.

[SVN r83019]
2013-02-19 19:36:43 +00:00
Adam Wulkiewicz
27c53a3779 rtree: definition of _CRT_SECURE_NO_DEPRECATE removed
[SVN r83001]
2013-02-19 14:30:44 +00:00
Adam Wulkiewicz
b09c83883d rtree: translator_wrapper removed,
detail::rtree::ptr_pair used in internal nodes instead of std::pair.

[SVN r83000]
2013-02-19 14:20:06 +00:00
Adam Wulkiewicz
a3778c9097 rtree: Geometries stored in predicates as const& instead of a copy, envelope_tag renamed to bounds_tag, MSVC warnings disabled/fixed.
[SVN r82999]
2013-02-19 13:17:52 +00:00
Adam Wulkiewicz
d16ffc0297 rtree: added include missing for standalone usage of detail::varray
[SVN r82979]
2013-02-18 19:40:39 +00:00
Adam Wulkiewicz
c47f314aaa calls to allocator_traits::construct() and ::destroy() used, this time with valid parameters, C++11 requires raw pointers
[SVN r82966]
2013-02-18 03:37:52 +00:00
Adam Wulkiewicz
9198afb7f9 compile errors fixed: allocator_traits::construct() and destroyed() replaced by allocator calls because of errors in Boost.Container, nonasignable uses removed.
[SVN r82965]
2013-02-18 03:29:18 +00:00
Adam Wulkiewicz
a98548fe76 rtree: copy_from_back() replaced by move_from_back(), auto_deallocator used instead of try-catch block in create_node, nonassignable removed, container::allocator_traits used in create_node
[SVN r82964]
2013-02-18 03:02:28 +00:00
Adam Wulkiewicz
4270e53fe5 rtree detail varray error fixed
[SVN r82963]
2013-02-18 01:32:39 +00:00
Adam Wulkiewicz
9b2ebcde2e rtree detail varray rvref support added.
ptr_pair added (not used for now).

[SVN r82962]
2013-02-18 01:19:22 +00:00
Adam Wulkiewicz
b122d309b7 rtree: some params definition corrected,
docs updated,
reference definition moved to the separate file.

[SVN r82949]
2013-02-17 14:57:29 +00:00
Adam Wulkiewicz
24626df0cf rtree: unneeded allocators removed from members.
[SVN r82924]
2013-02-16 14:54:52 +00:00
Adam Wulkiewicz
cb38c7b034 rtree object size decreased by deriving allocators holder from allocators
[SVN r82918]
2013-02-16 01:21:32 +00:00
Adam Wulkiewicz
f43d5ca8f3 rtree object size decreased, bounds returned by copy, rtree members grouped in members_holder derived from potentially empty types
[SVN r82917]
2013-02-16 00:04:03 +00:00
Adam Wulkiewicz
214e9e8286 rtree errors fixes related to non-std allocator pointers usage
[SVN r82866]
2013-02-14 04:34:34 +00:00
Adam Wulkiewicz
b7f592f1f4 rtree non-std allocators support implemented.
interprocess test added.

[SVN r82864]
2013-02-14 01:11:17 +00:00
Adam Wulkiewicz
1b806fc797 compilation errors related to detail::rtree::get fixed
[SVN r82850]
2013-02-13 14:57:43 +00:00
Adam Wulkiewicz
6b270d31ec raw pointers replaced by allocator pointer
[SVN r82849]
2013-02-13 14:33:11 +00:00
Adam Wulkiewicz
eb78310bc7 Added rtree_interprocess test (doesn't executed for now), error fixed in detail::varray
[SVN r82837]
2013-02-12 18:24:13 +00:00
Adam Wulkiewicz
8c6081100a Removed
spatial_query(), nearest_query(),
related adaptors,
distance predicates generators bounded(), min_bounded() etc.,
detail static_vector renamed to varray.
Docs and tests updated.



[SVN r82824]
2013-02-11 19:11:41 +00:00
Adam Wulkiewicz
a90b56de26 boost::container::vector used in dynamic nodes. detail::static_vector renamed to detail::varray. Added Alloc parameter to varray. rtree::envelope() renamed to rtree::bounds(). Tests moddified. Docs tweaked.
[SVN r82766]
2013-02-06 20:56:29 +00:00
Adam Wulkiewicz
3f712b94f8 nearest() predicate and related classes moved from distance_predicates.hpp to predicates.hpp
query() methods and functions documented.
nearest() predicate documented.
Changes in various methods/functions description.
Deleted unneeded query_expr.

[SVN r82617]
2013-01-26 00:36:29 +00:00
Adam Wulkiewicz
fb25dff48e Added rtree free function insert.
Added adaptors::queried().
nearest_query_range and spatial_query_range moved to adaptors::detail.

[SVN r82611]
2013-01-25 18:43:48 +00:00
Adam Wulkiewicz
cfb4ee0d43 MPL_ASSERT_MSG message modified.
[SVN r82606]
2013-01-25 13:23:10 +00:00
Adam Wulkiewicz
dfb33baede Implemented all variants of rtree::query() method. spatial and nearest returning 1 and k values.
[SVN r82600]
2013-01-24 22:24:58 +00:00
Adam Wulkiewicz
455b2d9f45 Change in predicates.
empty() removed.
value() parameter renamed to Fun const& fun.
operator! moved to index::detail namespace.
Reference updated.

[SVN r82595]
2013-01-24 13:51:01 +00:00
Adam Wulkiewicz
344825c144 query_expr: implemented push_back_impl operator&& and find_nearest_impl
[SVN r82593]
2013-01-24 05:43:57 +00:00
Adam Wulkiewicz
1fdee7912a added query_expr for test purposes
[SVN r82590]
2013-01-23 02:10:38 +00:00
Adam Wulkiewicz
26e9526564 boost/geometry/extensions/index/* moved to boost/geometry/index/*
rtree::box() renamed to rtree::envelope()
index::box() renamed to index::envelope()
some unneeded tests removed
docs updated

[SVN r82546]
2013-01-19 02:26:34 +00:00
Adam Wulkiewicz
4233d851c4 index/algorithms/* moved to index/detail/algorithms/*
[SVN r82545]
2013-01-19 01:15:55 +00:00
Adam Wulkiewicz
55774f5041 MSVC compilation error fixed.
is_valid moved to detail namespace.

[SVN r82544]
2013-01-19 00:23:48 +00:00
Adam Wulkiewicz
ca17094850 indexable traits and accessors moved to index::detail namespace
[SVN r82538]
2013-01-18 21:18:32 +00:00
Adam Wulkiewicz
b830ec1cdb Files structure rearranged to better reflect namespace strcture. Some classes moved to different namespaces.
[SVN r82536]
2013-01-18 20:40:24 +00:00
Adam Wulkiewicz
392ac1a864 Options, functions: check_predicates(), are_boxes_ok(), are_levels_ok() moved to the index::detail namespace.
query_expr.hpp deleted.

[SVN r82523]
2013-01-17 15:19:40 +00:00
Adam Wulkiewicz
4836bbabce root box calculation after remove moved from rtree::raw_remove() to visitor::remove.
[SVN r82522]
2013-01-17 14:37:40 +00:00
Adam Wulkiewicz
28a9448da5 Box stored in the rtree.
box() returns box_type const&.
rtree adapted to Box concept.
error in remove() fixed - size change if the Value wasn't removed.
Tests added.



[SVN r82515]
2013-01-17 03:54:52 +00:00
Adam Wulkiewicz
74db796acc rtree: added bg::envelope() and bg::return_envelope().
doxygen_qbk2xml: added template parameters to detailed function output.



[SVN r82510]
2013-01-16 14:39:01 +00:00
Adam Wulkiewicz
9cd5626c90 rtree - added move ctor taking allocator
distance predicates - docs improved
doxygen_xml2qbk - group output finished (enums, defines and functions)



[SVN r82509]
2013-01-16 04:08:16 +00:00
Adam Wulkiewicz
7994089084 Rtree docs improved.
[SVN r82483]
2013-01-13 20:02:19 +00:00
Adam Wulkiewicz
36440429e0 rtree docs and doxygen_xml2qbk modified.
rtree docs:
fixed formatting, added rtree parameters info.

doxygen_xml2qbk:
added doxygen ref links support.
removed index_id_path - no longer needed.

[SVN r82479]
2013-01-13 15:35:10 +00:00
Adam Wulkiewicz
17584a35d3 Moddified rtree description - required by doxygen to properly generate links.
[SVN r82454]
2013-01-12 03:49:19 +00:00
Adam Wulkiewicz
4e972f0389 Fixed errors in doxygen_xml2qbk - lists support, additional paragraphs display.
Added warnings and infos.
Rtree docs improved, added text formatting, warnings etc.



[SVN r82446]
2013-01-11 04:09:30 +00:00
Adam Wulkiewicz
53a5a25f55 Docs improved.
[SVN r82428]
2013-01-09 23:48:23 +00:00
Adam Wulkiewicz
5310131f4c Rtree docs: added inserter, groups names changed.
[SVN r82420]
2013-01-09 16:43:16 +00:00
Adam Wulkiewicz
121ac6c683 rtree: missing parameters description added.
[SVN r82419]
2013-01-09 16:34:02 +00:00
Adam Wulkiewicz
7a707809a7 Default and index translator added to the reference.
doxygen_xml2qbk now displays members only if they have brief description.

[SVN r82418]
2013-01-09 16:31:16 +00:00
Adam Wulkiewicz
0b84c2b0a5 rtree constructors parameters moddified
[SVN r82416]
2013-01-09 13:36:19 +00:00