|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r81352 - sandbox-branches/geometry/index_dev/tests
From: adam.wulkiewicz_at_[hidden]
Date: 2012-11-14 19:52:15
Author: awulkiew
Date: 2012-11-14 19:52:13 EST (Wed, 14 Nov 2012)
New Revision: 81352
URL: http://svn.boost.org/trac/boost/changeset/81352
Log:
names fixed in speed test.
Text files modified:
sandbox-branches/geometry/index_dev/tests/additional_speed.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox-branches/geometry/index_dev/tests/additional_speed.cpp
==============================================================================
--- sandbox-branches/geometry/index_dev/tests/additional_speed.cpp (original)
+++ sandbox-branches/geometry/index_dev/tests/additional_speed.cpp 2012-11-14 19:52:13 EST (Wed, 14 Nov 2012)
@@ -97,7 +97,7 @@
float x = coords[i].first;
float y = coords[i].second;
result.clear();
- t.query(B(P(x - 10, y - 10), P(x + 10, y + 10)), std::back_inserter(result));
+ t.spatial_query(B(P(x - 10, y - 10), P(x + 10, y + 10)), std::back_inserter(result));
temp += result.size();
}
std::cout << "time: " << tim.elapsed() << "s\n";
@@ -117,7 +117,7 @@
float x = coords[i].first + 100;
float y = coords[i].second + 100;
result.clear();
- temp += t.nearest(P(x, y), 5, std::back_inserter(result));
+ temp += t.nearest_query(P(x, y), 5, std::back_inserter(result));
}
std::cout << "time: " << tim.elapsed() << "s\n";
std::cout << "found: " << temp << "\n";
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk