]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/geometry/include/boost/geometry/geometries/register/multi_point.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / geometry / include / boost / geometry / geometries / register / multi_point.hpp
1 // Boost.Geometry (aka GGL, Generic Geometry Library)
2
3 // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
4 // Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
5 // Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
6
7 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
8 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
9
10 // Use, modification and distribution is subject to the Boost Software License,
11 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
12 // http://www.boost.org/LICENSE_1_0.txt)
13
14
15 #ifndef BOOST_GEOMETRY_GEOMETRIES_REGISTER_MULTI_POINT_HPP
16 #define BOOST_GEOMETRY_GEOMETRIES_REGISTER_MULTI_POINT_HPP
17
18 #include <boost/geometry/core/tag.hpp>
19 #include <boost/geometry/core/tags.hpp>
20
21 /*!
22 \brief \brief_macro{multi_point}
23 \ingroup register
24 \details \details_macro{BOOST_GEOMETRY_REGISTER_MULTI_POINT, multi_point} The
25 multi_point may contain template parameters, which must be specified then.
26 \param MultiPoint \param_macro_type{multi_point}
27
28 \qbk{
29 [heading Example]
30 [register_multi_point]
31 [register_multi_point_output]
32 }
33 */
34 #define BOOST_GEOMETRY_REGISTER_MULTI_POINT(MultiPoint) \
35 namespace boost { namespace geometry { namespace traits { \
36 template<> struct tag<MultiPoint> { typedef multi_point_tag type; }; \
37 }}}
38
39
40 /*!
41 \brief \brief_macro{templated multi_point}
42 \ingroup register
43 \details \details_macro{BOOST_GEOMETRY_REGISTER_MULTI_POINT_TEMPLATED, templated multi_point}
44 \details_macro_templated{multi_point, point}
45 \param MultiPoint \param_macro_type{multi_point (without template parameters)}
46
47 \qbk{
48 [heading Example]
49 [register_multi_point_templated]
50 [register_multi_point_templated_output]
51 }
52 */
53 #define BOOST_GEOMETRY_REGISTER_MULTI_POINT_TEMPLATED(MultiPoint) \
54 namespace boost { namespace geometry { namespace traits { \
55 template<typename Point> struct tag< MultiPoint<Point> > { typedef multi_point_tag type; }; \
56 }}}
57
58
59 #endif // BOOST_GEOMETRY_GEOMETRIES_REGISTER_MULTI_POINT_HPP