File indexing completed on 2025-12-15 09:50:23
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_DUMMY_GEOMETRIES_HPP
0011 #define BOOST_GEOMETRY_ALGORITHMS_DETAIL_DUMMY_GEOMETRIES_HPP
0012
0013
0014 #include <boost/geometry/core/tag.hpp>
0015 #include <boost/geometry/core/tags.hpp>
0016
0017
0018 namespace boost { namespace geometry
0019 {
0020
0021
0022 #ifndef DOXYGEN_NO_DETAIL
0023 namespace detail
0024 {
0025
0026 struct dummy_point {};
0027 struct dummy_segment {};
0028 struct dummy_box {};
0029 struct dummy_linestring {};
0030 struct dummy_ring {};
0031 struct dummy_polygon {};
0032 struct dummy_multi_point {};
0033 struct dummy_multi_linestring {};
0034 struct dummy_multi_polygon {};
0035
0036 }
0037 #endif
0038
0039 namespace traits
0040 {
0041
0042 template <> struct tag<geometry::detail::dummy_point> { using type = point_tag; };
0043 template <> struct tag<geometry::detail::dummy_segment> { using type = segment_tag; };
0044 template <> struct tag<geometry::detail::dummy_box> { using type = box_tag; };
0045 template <> struct tag<geometry::detail::dummy_linestring> { using type = linestring_tag; };
0046 template <> struct tag<geometry::detail::dummy_ring> { using type = ring_tag; };
0047 template <> struct tag<geometry::detail::dummy_polygon> { using type = polygon_tag; };
0048 template <> struct tag<geometry::detail::dummy_multi_point> { using type = multi_point_tag; };
0049 template <> struct tag<geometry::detail::dummy_multi_linestring> { using type = multi_linestring_tag; };
0050 template <> struct tag<geometry::detail::dummy_multi_polygon> { using type = multi_polygon_tag; };
0051
0052 }
0053
0054 }}
0055
0056 #endif