From 38e29d62fc89b84807fb5b6737bc1aec46e08455 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Thu, 9 May 2013 22:32:29 +0000 Subject: [PATCH] geometry.index: nearest_query.cpp renamed to distance_query.cpp [SVN r84214] --- .../visitors/{nearest_query.hpp => distance_query.hpp} | 8 ++++---- include/boost/geometry/index/rtree.hpp | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) rename include/boost/geometry/index/detail/rtree/visitors/{nearest_query.hpp => distance_query.hpp} (98%) diff --git a/include/boost/geometry/index/detail/rtree/visitors/nearest_query.hpp b/include/boost/geometry/index/detail/rtree/visitors/distance_query.hpp similarity index 98% rename from include/boost/geometry/index/detail/rtree/visitors/nearest_query.hpp rename to include/boost/geometry/index/detail/rtree/visitors/distance_query.hpp index 500c07ac6..616150222 100644 --- a/include/boost/geometry/index/detail/rtree/visitors/nearest_query.hpp +++ b/include/boost/geometry/index/detail/rtree/visitors/distance_query.hpp @@ -1,6 +1,6 @@ // Boost.Geometry Index // -// R-tree k nearest neighbour query visitor implementation +// R-tree distance (knn, path, etc. ) query visitor implementation // // Copyright (c) 2011-2013 Adam Wulkiewicz, Lodz, Poland. // @@ -8,8 +8,8 @@ // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) -#ifndef BOOST_GEOMETRY_INDEX_DETAIL_RTREE_VISITORS_NEAREST_QUERY_HPP -#define BOOST_GEOMETRY_INDEX_DETAIL_RTREE_VISITORS_NEAREST_QUERY_HPP +#ifndef BOOST_GEOMETRY_INDEX_DETAIL_RTREE_VISITORS_DISTANCE_QUERY_HPP +#define BOOST_GEOMETRY_INDEX_DETAIL_RTREE_VISITORS_DISTANCE_QUERY_HPP namespace boost { namespace geometry { namespace index { @@ -537,4 +537,4 @@ private: }}} // namespace boost::geometry::index -#endif // BOOST_GEOMETRY_INDEX_DETAIL_RTREE_VISITORS_NEAREST_QUERY_HPP +#endif // BOOST_GEOMETRY_INDEX_DETAIL_RTREE_VISITORS_DISTANCE_QUERY_HPP diff --git a/include/boost/geometry/index/rtree.hpp b/include/boost/geometry/index/rtree.hpp index b3f8adcc3..c58b6e1db 100644 --- a/include/boost/geometry/index/rtree.hpp +++ b/include/boost/geometry/index/rtree.hpp @@ -46,7 +46,7 @@ #include #include #include -#include +#include #include #include @@ -720,7 +720,7 @@ public: If Value copy constructor or copy assignment throws. \warning - Only one \c nearest() perdicate may be passed to the query. Passing more of them results in compile-time assert. + Only one \c nearest() perdicate may be passed to the query. Passing more of them results in compile-time error. \param predicates Predicates. \param out_it The output iterator, e.g. generated by std::back_inserter(). @@ -1446,7 +1446,7 @@ bgi::query(tree, bgi::nearest(pt, 5) && bgi::intersects(box), std::back_inserter If Value copy constructor or copy assignment throws. \warning -Only one \c nearest() perdicate may be passed to the query. Passing more of them results in compile-time assert. +Only one \c nearest() perdicate may be passed to the query. Passing more of them results in compile-time error. \ingroup rtree_functions