2924 Commits

Author SHA1 Message Date
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
Bruno Lalande 2da1ca09d1 Made wkt write variant-aware.
[SVN r82481]
2013-01-13 17:25:15 +00:00
Bruno Lalande dfb6a611db Made the convert algorithm variant-aware.
[SVN r82472]
2013-01-12 23:06:18 +00:00
Bruno Lalande c3c0e57304 Made the equals algorithm variant-aware.
[SVN r82463]
2013-01-12 18:28:00 +00:00
Adam Wulkiewicz ba0c1b840f static_vector test moddified, added generated reference files
[SVN r82422]
2013-01-09 18:33:43 +00:00
Adam Wulkiewicz 383036d1d6 error in rtree exceptions test fixed (adaptation to the new allocator concept).
[SVN r82417]
2013-01-09 15:09:06 +00:00
Adam Wulkiewicz e72e9bcfad Added move ctors and swap() to nodes allocators. Used those in rtree move ctor and swap(). Docs: added rtree methods exceptions detailed description.
[SVN r82415]
2013-01-09 13:07:45 +00:00
Bruno Lalande 2cc83e50a1 Made the append algorithm variant-aware.
[SVN r82412]
2013-01-08 23:35:28 +00:00
Bruno Lalande 22fff3f43b Made clear() variant-aware.
[SVN r82395]
2013-01-08 00:05:36 +00:00
Bruno Lalande 2a5b55ffe9 Made num_points variant-aware.
[SVN r82378]
2013-01-06 22:27:38 +00:00
Adam Wulkiewicz fa55322ddc Fixed error in nearest_query() - for Iterator which is not an inserter - operator++ call added.
[SVN r82371]
2013-01-06 00:58:54 +00:00
Adam Wulkiewicz 31d95f9ac4 Added number of removed elements returned by rtree::remove().
[SVN r82353]
2013-01-04 17:38:18 +00:00
Adam Wulkiewicz c51fbe50b9 Iterators check changed in erase(f, l).
Tests upgraded.

[SVN r82032]
2012-12-16 19:34:51 +00:00
Adam Wulkiewicz 24f349839f Added templated versions of static_vector copy ctor and assignment.
GCC compile error fixed in test.

[SVN r82028]
2012-12-16 18:45:23 +00:00
Adam Wulkiewicz 32fbcf66ed Added statid_vector::insert(pos, first, last) for non random access iterators.
Added uninitialized_copy_checked() helper method.
Added tests.

[SVN r82027]
2012-12-16 18:31:03 +00:00
Adam Wulkiewicz 0ae51b1dbc Implemented static_vector::insert(pos, first, last) for random access iterators.
Tests added.

[SVN r82024]
2012-12-16 16:09:07 +00:00
Barend Gehrels 202f8db2b2 [geometry] updated traverse to avoid output of nearly empty rings, like in convert_rings. This also affects unit tests
[SVN r82020]
2012-12-16 13:26:21 +00:00
Barend Gehrels 129f6cf7dd [geometry] updated testsuite for difference, added test which checks convert_ring on inner-ring point-count
[SVN r82019]
2012-12-16 12:18:44 +00:00
Adam Wulkiewicz 57c75071f9 Added size() check to the insert test.
[SVN r82009]
2012-12-16 02:43:18 +00:00
Adam Wulkiewicz 5c9f96c750 Added static_vector::insert(pos, n, val) + test.
[SVN r82008]
2012-12-16 02:40:29 +00:00
Adam Wulkiewicz 8c6d651676 Fixed wrong assert in static_vector::insert(pos, val)
Test added.

[SVN r82003]
2012-12-16 01:02:38 +00:00
Adam Wulkiewicz 50bb3d9fdf Error fixed in static_vector::insert(pos, val).
Test added.

[SVN r82002]
2012-12-16 00:58:07 +00:00
Adam Wulkiewicz addc5eebcf Added static_vector::erase() and tests.
[SVN r81990]
2012-12-15 23:21:59 +00:00
Adam Wulkiewicz ba031be21a Added static_vector::assign(count, value) + test.
Added static_vector iterators test.

[SVN r81978]
2012-12-15 20:07:19 +00:00
Adam Wulkiewicz d55108b720 Added ctor and modified assign to static_vector.
static_vector(Iter, Iter), assign(Iter, Iter) + separated version for RandomIterators.
Private helper methods now are able to take arbitrary type (Iterator, Value).

[SVN r81971]
2012-12-15 16:30:57 +00:00
Barend Gehrels 281bbfb52c [geometry] pending commit, unit test for problems with integer coordinates reported by Volker (again) at 2012/07/17 and fixed in r79505
[SVN r81967]
2012-12-15 12:31:06 +00:00
Adam Wulkiewicz 395777fb9d fixed static_vector error related to construction of values with nontrivial default constructor.
tests added.

[SVN r81962]
2012-12-14 23:22:16 +00:00
Adam Wulkiewicz ec661bbe1e bgi tests reenabled in Jamfile.
[SVN r81961]
2012-12-14 23:03:04 +00:00
Adam Wulkiewicz da5a91bad4 static_vector error fixed, tests added.
[SVN r81960]
2012-12-14 22:59:19 +00:00
Adam Wulkiewicz 479c6a3bab Error fixed in static_vector::at().
Added test for static_vector.

[SVN r81958]
2012-12-14 22:35:46 +00:00
Barend Gehrels b1d571076a [geometry] added combinations point/ring, point/polygon, point/multi_polygon for disjoint and intersects (unit tests, multi)
[SVN r81957]
2012-12-14 22:31:19 +00:00
Barend Gehrels 86dd6e20e9 [geometry] added combinations point/ring, point/polygon, point/multi_polygon for disjoint and intersects (unit tests)
[SVN r81956]
2012-12-14 22:28:48 +00:00
Adam Wulkiewicz 627452da2a Added rtree::count() method. Docs modified.
[SVN r81947]
2012-12-14 19:15:34 +00:00
Adam Wulkiewicz d7cf32bcfa Rtree value_type must no longer have default ctor defined.
Added static_vector::assign(), added assertion in static_vector::resize().
Added test for value without default ctor..

[SVN r81940]
2012-12-14 14:49:45 +00:00
Adam Wulkiewicz 1ae333d9a6 rtree assign() test commented out.
[SVN r81937]
2012-12-14 12:10:34 +00:00
Adam Wulkiewicz 79436250e5 Added assign() to the rtree interface. Fixed compilation error in static_vector.
[SVN r81935]
2012-12-14 11:58:40 +00:00
Adam Wulkiewicz 34768c2fb2 Some VS warnings fixed.
[SVN r81923]
2012-12-13 23:08:37 +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