Commit Graph

461 Commits

Author SHA1 Message Date
Adam Wulkiewicz
b0b433d44c rtree test: error fixed - wrong variable name in msvc specific code
[SVN r83712]
2013-04-02 14:21:36 +00:00
Adam Wulkiewicz
5ff2262049 rtree test: warning suppressed
[SVN r83710]
2013-04-02 14:10:40 +00:00
Adam Wulkiewicz
b68fc95741 rtree test: added test of parameters after copy/move/swap
[SVN r83707]
2013-04-02 02:36:55 +00:00
Adam Wulkiewicz
e2ddd7eaf5 rtree test: some types changed to avoid problems with conversion
[SVN r83705]
2013-04-02 00:47:13 +00:00
Adam Wulkiewicz
fe26044965 rtree test: added missing Allocators assignment (for throwing nodes).
[SVN r83703]
2013-04-02 00:12:18 +00:00
Adam Wulkiewicz
39fc8a7a01 rtree test: std::copy() replaced by other implementation because of MSVC warnings.
[SVN r83664]
2013-03-31 14:01:03 +00:00
Adam Wulkiewicz
076888320b Geometry.Index test integrated. Error in margin test fixed.
[SVN r83641]
2013-03-30 02:02:47 +00:00
Adam Wulkiewicz
bed5daac24 Geometry.Index tests copied to trunk
[SVN r83640]
2013-03-30 01:38:17 +00:00
Barend Gehrels
d930a4944f [geometry] last added test in traverse did not enter the correct area, fixed
[SVN r83528]
2013-03-23 13:14:33 +00:00
Barend Gehrels
2ca66acb56 [geometry] pending commit, added check for within/disjoint, 3d boxes
[SVN r83527]
2013-03-23 13:03:57 +00:00
Barend Gehrels
2cdbd60372 [geometry] added condition for rt_i_rev test with float for non-Windows, because it currently fails
[SVN r83483]
2013-03-17 21:35:43 +00:00
Barend Gehrels
61844d7bf2 [geometry] Fix ticket 7462, (unit tests)
[SVN r83482]
2013-03-17 21:31:21 +00:00
Barend Gehrels
bc35eb29b6 [geometry] added case for ticket 8254, which had the same problem as buffer_mp1
[SVN r83478]
2013-03-17 17:20:47 +00:00
Barend Gehrels
0445cf26d7 [geometry] limited case #buffer_mp2 for traverse only for double, where the problem was
[SVN r83477]
2013-03-17 16:57:43 +00:00
Barend Gehrels
72f3b3f18e [geometry] test cases for #buffer_mp1 and #buffer_mp2, see previous two commits
[SVN r83476]
2013-03-17 16:34:55 +00:00
Adam Wulkiewicz
453af42c4b Added indexable<> and equal_to<> specialized for std::tuple<> if the compiler supports c++11 tuples and variadic templates.
[SVN r83438]
2013-03-15 17:17:54 +00:00
Adam Wulkiewicz
6fc96171f8 Added commented out specializations of insexable<>, equal_to<> and tests for std::tuple.
Removed unneeded variant node get<> function.

[SVN r83302]
2013-03-05 02:42:02 +00:00
Adam Wulkiewicz
14f606d158 rtree: errors in test fixed
[SVN r83290]
2013-03-04 01:13:05 +00:00
Adam Wulkiewicz
f2f41d8b74 rtree: errors in indexable_get() and value_eq() fixed,
indexable_get() and value_eq() used in rtree tests instead of translator().


[SVN r83289]
2013-03-04 01:06:58 +00:00
Adam Wulkiewicz
7e6394ec68 rtree: test reverted
[SVN r83256]
2013-03-02 23:53:47 +00:00
Adam Wulkiewicz
33aef8ae3b rtree: added indexable_getter and value_equal. Macro enabling debug interface renamed.
[SVN r83255]
2013-03-02 23:51:13 +00:00
Adam Wulkiewicz
d04778f99e rtree parameter Translator replaced by two IndexableGetter and EqualTo
[SVN r83238]
2013-03-02 02:20:40 +00:00
Adam Wulkiewicz
0bc541d1e9 rtree query default spatial predicate removed. Explicit call of intersects() is expected.
Predicates and DistancePredicates are stored by value in visitors.
Each predicate is stored by value in expression tuple.
Examples and docs updated.

[SVN r83232]
2013-03-01 18:14:46 +00:00
Adam Wulkiewicz
0afdadc5c4 value() predicate renamed to satisfies()
[SVN r83224]
2013-03-01 02:59:39 +00:00
Adam Wulkiewicz
e621608667 index::runtime::XXX parameters moved and renamed to index::dynamic_XXX
[SVN r83188]
2013-02-27 13:30:14 +00:00
Adam Wulkiewicz
2a62a3ed21 rtree: added value predicate test.
[SVN r83157]
2013-02-25 20:47:19 +00:00
Adam Wulkiewicz
30d54874ae rtree: test generator newline added
[SVN r83111]
2013-02-24 00:10:10 +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
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
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
bf815512cc tests and examples files structure rearranged
[SVN r82872]
2013-02-14 14:23:09 +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
ad50724a45 some tests modified to be able to use non-std allocator
[SVN r82851]
2013-02-13 15:08:15 +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
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
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
017e910bbe area and perimeter tested only for 2d
[SVN r82540]
2013-01-18 21:50:28 +00:00
Adam Wulkiewicz
be5a049248 added test for rtree envelope, area, perimeter, centroid
[SVN r82539]
2013-01-18 21:23:25 +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
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
Bruno Lalande
6090b106af Made the length algorithm variant-aware.
[SVN r82484]
2013-01-13 23:09:27 +00:00