|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83965 - trunk/libs/geometry/doc/index/rtree
From: adam.wulkiewicz_at_[hidden]
Date: 2013-04-19 09:20:40
Author: awulkiew
Date: 2013-04-19 09:20:40 EDT (Fri, 19 Apr 2013)
New Revision: 83965
URL: http://svn.boost.org/trac/boost/changeset/83965
Log:
geometry.index docs: small changes in the section describing queries.
Text files modified:
trunk/libs/geometry/doc/index/rtree/query.qbk | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
Modified: trunk/libs/geometry/doc/index/rtree/query.qbk
==============================================================================
--- trunk/libs/geometry/doc/index/rtree/query.qbk (original)
+++ trunk/libs/geometry/doc/index/rtree/query.qbk 2013-04-19 09:20:40 EDT (Fri, 19 Apr 2013)
@@ -205,14 +205,13 @@
RTree rt2(result.begin(), result.end());
However there are better ways. One of these methods is mentioned in the "Creation and modification" section.
-The insert iterator may be passed directly to the query, which will be the fastest way of inserting
-query results because temporary container won't be used.
+The insert iterator may be passed directly into the query.
RTree rt3;
rt1.query(bgi::intersects(Box(/*...*/))), bgi::inserter(rt3));
-If you like Boost.Range you'll appreciate the third option. You may pass the result Range directly to the
-constructor. However in this case the temporary container is created.
+If you like Boost.Range you'll appreciate the third option. You may pass the result Range directly into the
+constructor.
RTree rt4(rt1 | bgi::adaptors::queried(bgi::intersects(Box(/*...*/)))));
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