Commit Graph

8536 Commits

Author SHA1 Message Date
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
2b5cd1d7e8 implemented static_vector insert(pos, val)
[SVN r82000]
2012-12-16 00:40:39 +00:00
Adam Wulkiewicz
475837cfa6 static_vector: types comparison warnings fixed.
[SVN r81994]
2012-12-15 23:51:24 +00:00
Adam Wulkiewicz
20c8e649b7 static_vector: fixed wrong assert, removed ptr(i), calls of ptr(i) replaced by methods returning iterators wherever possible.
[SVN r81992]
2012-12-15 23:41:37 +00:00
Adam Wulkiewicz
addc5eebcf Added static_vector::erase() and tests.
[SVN r81990]
2012-12-15 23:21:59 +00:00
Adam Wulkiewicz
b985f5a561 Added assertion in static_vector.
[SVN r81980]
2012-12-15 20:55:38 +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
bed0b92f6e static_vector helper method uninitialized_copy(Val, It) changed to uninitialized_fill(It, Val).
[SVN r81977]
2012-12-15 19:31:45 +00:00
Adam Wulkiewicz
36f0abc509 Fixed gcc compiler errors.
[SVN r81974]
2012-12-15 16:42:56 +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
Barend Gehrels
2f61bd3bda [geometry] pending for commit, cosmetic change, done for MeetingC++ 9/10 nov 2012
[SVN r81959]
2012-12-14 22:36:42 +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
Barend Gehrels
f7040ca437 [geometry] added combinations point/ring, point/polygon, point/multi_polygon for disjoint and intersects
[SVN r81955]
2012-12-14 22:12:12 +00:00
Adam Wulkiewicz
b22bd9525c assertion added in static_vector::assign();
[SVN r81954]
2012-12-14 21:46:53 +00:00
Adam Wulkiewicz
bbba565874 Compilation error fixed.
[SVN r81953]
2012-12-14 21:28:04 +00:00
Adam Wulkiewicz
17ed2a700b static_vector resize() and corresponding ctor divided into 2 methods/ctors (C++11).
First one uses default ctors (for noncopyable values).
Second one uses copy ctors (for values with no default ctor).

[SVN r81952]
2012-12-14 21:26:14 +00:00
Barend Gehrels
30cd790db3 [geometry] fix in variable names
[SVN r81951]
2012-12-14 21:19:49 +00:00
Adam Wulkiewicz
3005f91f84 Small improvement to the nearest_query added.
[SVN r81949]
2012-12-14 19:46:18 +00:00
Adam Wulkiewicz
ac27db1a2c Exception safety table rearranged.
[SVN r81948]
2012-12-14 19:23:11 +00:00
Adam Wulkiewicz
627452da2a Added rtree::count() method. Docs modified.
[SVN r81947]
2012-12-14 19:15:34 +00:00
Adam Wulkiewicz
cce223726a Added info about the Value with no default ctor in docs.
[SVN r81941]
2012-12-14 15:01:04 +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
8f67c58ea4 rtree::assign() commented out.
[SVN r81936]
2012-12-14 12:07:25 +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
95000752cd static_vector changes: added MPL_ASSERT, added difference_type.
[SVN r81934]
2012-12-14 11:33:48 +00:00
Adam Wulkiewicz
4022ec2ccc added val_ref parameter to static_vector::resize() and constructor, added methods max_size(), data(), at(), added some comments
[SVN r81931]
2012-12-14 04:18:21 +00:00
Adam Wulkiewicz
ae07c29360 added optimized versions of static_vector operations, however preliminary tests on linux shows no speed difference
[SVN r81930]
2012-12-14 02:02:52 +00:00
Adam Wulkiewicz
a8f5d60f93 Added optimized uninitialized_copy() and destroy() to static_vector.
[SVN r81925]
2012-12-14 00:13:20 +00:00
Adam Wulkiewicz
34768c2fb2 Some VS warnings fixed.
[SVN r81923]
2012-12-13 23:08:37 +00:00
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