Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:35:27

0001 // Boost.Geometry (aka GGL, Generic Geometry Library)
0002 
0003 // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
0004 // Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
0005 // Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
0006 
0007 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
0008 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
0009 
0010 // Use, modification and distribution is subject to the Boost Software License,
0011 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0012 // http://www.boost.org/LICENSE_1_0.txt)
0013 
0014 
0015 #ifndef BOOST_GEOMETRY_GEOMETRIES_REGISTER_MULTI_POINT_HPP
0016 #define BOOST_GEOMETRY_GEOMETRIES_REGISTER_MULTI_POINT_HPP
0017 
0018 #include <boost/geometry/core/tag.hpp>
0019 #include <boost/geometry/core/tags.hpp>
0020 
0021 /*!
0022 \brief \brief_macro{multi_point}
0023 \ingroup register
0024 \details \details_macro{BOOST_GEOMETRY_REGISTER_MULTI_POINT, multi_point} The
0025     multi_point may contain template parameters, which must be specified then.
0026 \param MultiPoint \param_macro_type{multi_point}
0027 
0028 \qbk{
0029 [heading Example]
0030 [register_multi_point]
0031 [register_multi_point_output]
0032 }
0033 */
0034 #define BOOST_GEOMETRY_REGISTER_MULTI_POINT(MultiPoint) \
0035 namespace boost { namespace geometry { namespace traits {  \
0036     template<> struct tag<MultiPoint> { typedef multi_point_tag type; }; \
0037 }}}
0038 
0039 
0040 /*!
0041 \brief \brief_macro{templated multi_point}
0042 \ingroup register
0043 \details \details_macro{BOOST_GEOMETRY_REGISTER_MULTI_POINT_TEMPLATED, templated multi_point}
0044     \details_macro_templated{multi_point, point}
0045 \param MultiPoint \param_macro_type{multi_point (without template parameters)}
0046 
0047 \qbk{
0048 [heading Example]
0049 [register_multi_point_templated]
0050 [register_multi_point_templated_output]
0051 }
0052 */
0053 #define BOOST_GEOMETRY_REGISTER_MULTI_POINT_TEMPLATED(MultiPoint) \
0054 namespace boost { namespace geometry { namespace traits {  \
0055     template<typename Point> struct tag< MultiPoint<Point> > { typedef multi_point_tag type; }; \
0056 }}}
0057 
0058 
0059 #endif // BOOST_GEOMETRY_GEOMETRIES_REGISTER_MULTI_POINT_HPP