|
||||
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_POLYGON_HPP 0016 #define BOOST_GEOMETRY_GEOMETRIES_REGISTER_MULTI_POLYGON_HPP 0017 0018 #include <boost/geometry/core/tag.hpp> 0019 #include <boost/geometry/core/tags.hpp> 0020 0021 /*! 0022 \brief \brief_macro{multi_polygon} 0023 \ingroup register 0024 \details \details_macro{BOOST_GEOMETRY_REGISTER_MULTI_POLYGON, multi_polygon} The 0025 multi_polygon may contain template parameters, which must be specified then. 0026 \param MultiPolygon \param_macro_type{multi_polygon} 0027 0028 \qbk{ 0029 [heading Example] 0030 [register_multi_polygon] 0031 [register_multi_polygon_output] 0032 } 0033 */ 0034 #define BOOST_GEOMETRY_REGISTER_MULTI_POLYGON(MultiPolygon) \ 0035 namespace boost { namespace geometry { namespace traits { \ 0036 template<> struct tag<MultiPolygon> { typedef multi_polygon_tag type; }; \ 0037 }}} 0038 0039 0040 /*! 0041 \brief \brief_macro{templated multi_polygon} 0042 \ingroup register 0043 \details \details_macro{BOOST_GEOMETRY_REGISTER_MULTI_POLYGON_TEMPLATED, templated multi_polygon} 0044 \details_macro_templated{multi_polygon, polygon} 0045 \param MultiPolygon \param_macro_type{multi_polygon (without template parameters)} 0046 0047 \qbk{ 0048 [heading Example] 0049 [register_multi_polygon_templated] 0050 [register_multi_polygon_templated_output] 0051 } 0052 */ 0053 #define BOOST_GEOMETRY_REGISTER_MULTI_POLYGON_TEMPLATED(MultiPolygon) \ 0054 namespace boost { namespace geometry { namespace traits { \ 0055 template<typename Polygon> struct tag< MultiPolygon<Polygon> > { typedef multi_polygon_tag type; }; \ 0056 }}} 0057 0058 0059 #endif // BOOST_GEOMETRY_GEOMETRIES_REGISTER_MULTI_POLYGON_HPP
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |