|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r73391 - sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/visitors
From: adam.wulkiewicz_at_[hidden]
Date: 2011-07-26 16:53:41
Author: awulkiew
Date: 2011-07-26 16:53:40 EDT (Tue, 26 Jul 2011)
New Revision: 73391
URL: http://svn.boost.org/trac/boost/changeset/73391
Log:
intersects replaced by overlaps in find visitor
Text files modified:
sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/visitors/find.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/visitors/find.hpp
==============================================================================
--- sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/visitors/find.hpp (original)
+++ sandbox-branches/geometry/index/boost/geometry/extensions/index/rtree/visitors/find.hpp 2011-07-26 16:53:40 EDT (Tue, 26 Jul 2011)
@@ -199,7 +199,7 @@
for (typename elements_type::const_iterator it = elements.begin();
it != elements.end(); ++it)
{
- if ( geometry::intersects(it->first, geom) )
+ if ( geometry::overlaps(it->first, geom) )
rtree::apply_visitor(*this, *it->second);
}
}
@@ -212,7 +212,7 @@
for (typename elements_type::const_iterator it = elements.begin();
it != elements.end(); ++it)
{
- if ( geometry::intersects(tr(*it), geom) )
+ if ( geometry::overlaps(tr(*it), geom) )
{
out_iter = *it;
++out_iter;
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