Boost.Geometry.Index

- Main Page
- Modules
- Classes
- Files

- File List

/home/travis/build/boostorg/boost/boost/geometry/index/distance_predicates.hpp

    00001 // Boost.Geometry Index
    00002 //
    00003 // Spatial index distance predicates, calculators and checkers used in nearest neighbor query
    00004 //
    00005 // Copyright (c) 2011-2013 Adam Wulkiewicz, Lodz, Poland.
    00006 //
    00007 // Use, modification and distribution is subject to the Boost Software License,
    00008 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
    00009 // http://www.boost.org/LICENSE_1_0.txt)
    00010
    00011 #ifndef BOOST_GEOMETRY_INDEX_DISTANCE_PREDICATES_HPP
    00012 #define BOOST_GEOMETRY_INDEX_DISTANCE_PREDICATES_HPP
    00013
    00014 #include <boost/geometry/index/detail/distance_predicates.hpp>
    00015
    00020 namespace boost { namespace geometry { namespace index {
    00021
    00022 // relations generators
    00023
    00024 #ifdef BOOST_GEOMETRY_INDEX_DETAIL_EXPERIMENTAL
    00025
    00043 template <typename T>
    00044 detail::to_nearest<T> to_nearest(T const& v)
    00045 {
    00046     return detail::to_nearest<T>(v);
    00047 }
    00048
    00065 template <typename T>
    00066 detail::to_centroid<T> to_centroid(T const& v)
    00067 {
    00068     return detail::to_centroid<T>(v);
    00069 }
    00070
    00088 template <typename T>
    00089 detail::to_furthest<T> to_furthest(T const& v)
    00090 {
    00091     return detail::to_furthest<T>(v);
    00092 }
    00093
    00094 #endif // BOOST_GEOMETRY_INDEX_DETAIL_EXPERIMENTAL
    00095
    00096 // distance predicates generators
    00097
    00113 //template <typename PointRelation>
    00114 //inline detail::unbounded<PointRelation>
    00115 //unbounded(PointRelation const& pr)
    00116 //{
    00117 //    return detail::unbounded<PointRelation>(pr);
    00118 //}
    00119
    00139 //template <typename PointRelation, typename MinRelation>
    00140 //inline detail::min_bounded<PointRelation, MinRelation>
    00141 //min_bounded(PointRelation const& pr, MinRelation const& minr)
    00142 //{
    00143 //    return detail::min_bounded<PointRelation, MinRelation>(pr, minr);
    00144 //}
    00145
    00165 //template <typename PointRelation, typename MaxRelation>
    00166 //inline detail::max_bounded<PointRelation, MaxRelation>
    00167 //max_bounded(PointRelation const& pr, MaxRelation const& maxr)
    00168 //{
    00169 //    return detail::max_bounded<PointRelation, MaxRelation>(pr, maxr);
    00170 //}
    00171
    00195 //template <typename PointRelation, typename MinRelation, typename MaxRelation>
    00196 //inline detail::bounded<PointRelation, MinRelation, MaxRelation>
    00197 //bounded(PointRelation const& pr, MinRelation const& minr, MaxRelation const& maxr)
    00198 //{
    00199 //    return detail::bounded<PointRelation, MinRelation, MaxRelation>(pr, minr, maxr);
    00200 //}
    00201
    00202 }}} // namespace boost::geometry::index
    00203
    00204 #endif // BOOST_GEOMETRY_INDEX_DISTANCE_PREDICATES_HPP

All Classes Functions Typedefs