Back to home page

EIC code displayed by LXR

 
 

    


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

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_RING_HPP
0016 #define BOOST_GEOMETRY_GEOMETRIES_REGISTER_RING_HPP
0017 
0018 
0019 #include <boost/geometry/core/tag.hpp>
0020 #include <boost/geometry/core/tags.hpp>
0021 
0022 /*!
0023 \brief \brief_macro{ring}
0024 \ingroup register
0025 \details \details_macro{BOOST_GEOMETRY_REGISTER_RING, ring} The
0026     ring may contain template parameters, which must be specified then.
0027 \param Ring \param_macro_type{ring}
0028 
0029 \qbk{
0030 [heading Example]
0031 [register_ring]
0032 [register_ring_output]
0033 }
0034 */
0035 #define BOOST_GEOMETRY_REGISTER_RING(Ring) \
0036 namespace boost { namespace geometry { namespace traits {  \
0037     template<> struct tag<Ring> { typedef ring_tag type; }; \
0038 }}}
0039 
0040 
0041 /*!
0042 \brief \brief_macro{templated ring}
0043 \ingroup register
0044 \details \details_macro{BOOST_GEOMETRY_REGISTER_RING_TEMPLATED, templated ring}
0045     \details_macro_templated{ring, point}
0046 \param Ring \param_macro_type{ring (without template parameters)}
0047 
0048 \qbk{
0049 [heading Example]
0050 [register_ring_templated]
0051 [register_ring_templated_output]
0052 }
0053 */
0054 #define BOOST_GEOMETRY_REGISTER_RING_TEMPLATED(Ring) \
0055 namespace boost { namespace geometry { namespace traits {  \
0056     template<typename P> struct tag< Ring<P> > { typedef ring_tag type; }; \
0057 }}}
0058 
0059 
0060 #endif // BOOST_GEOMETRY_GEOMETRIES_REGISTER_RING_HPP