File indexing completed on 2025-01-18 09:35:32
0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef BOOST_GEOMETRY_INDEX_DETAIL_IS_INDEXABLE_HPP
0010 #define BOOST_GEOMETRY_INDEX_DETAIL_IS_INDEXABLE_HPP
0011
0012 #include <boost/geometry/core/tag.hpp>
0013 #include <boost/geometry/core/tags.hpp>
0014
0015 namespace boost { namespace geometry { namespace index { namespace detail {
0016
0017 template
0018 <
0019 typename Geometry,
0020 typename Tag = typename geometry::tag<Geometry>::type
0021 >
0022 struct is_indexable
0023 {
0024 static const bool value = false;
0025 };
0026
0027 template <typename Point>
0028 struct is_indexable<Point, geometry::point_tag>
0029 {
0030 static const bool value = true;
0031 };
0032
0033 template <typename Box>
0034 struct is_indexable<Box, geometry::box_tag>
0035 {
0036 static const bool value = true;
0037 };
0038
0039 template <typename Segment>
0040 struct is_indexable<Segment, geometry::segment_tag>
0041 {
0042 static const bool value = true;
0043 };
0044
0045 }}}}
0046
0047 #endif