annotate DEPENDENCIES/generic/include/boost/geometry/geometries/register/ring.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 // Boost.Geometry (aka GGL, Generic Geometry Library)
Chris@16 2
Chris@16 3 // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
Chris@16 4 // Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
Chris@16 5 // Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
Chris@16 6
Chris@16 7 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
Chris@16 8 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
Chris@16 9
Chris@16 10 // Use, modification and distribution is subject to the Boost Software License,
Chris@16 11 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 12 // http://www.boost.org/LICENSE_1_0.txt)
Chris@16 13
Chris@16 14
Chris@16 15 #ifndef BOOST_GEOMETRY_GEOMETRIES_REGISTER_RING_HPP
Chris@16 16 #define BOOST_GEOMETRY_GEOMETRIES_REGISTER_RING_HPP
Chris@16 17
Chris@16 18
Chris@16 19 #include <boost/geometry/core/tag.hpp>
Chris@16 20 #include <boost/geometry/core/tags.hpp>
Chris@16 21
Chris@16 22 /*!
Chris@16 23 \brief \brief_macro{ring}
Chris@16 24 \ingroup register
Chris@101 25 \details \details_macro{BOOST_GEOMETRY_REGISTER_RING, ring} The
Chris@16 26 ring may contain template parameters, which must be specified then.
Chris@16 27 \param Ring \param_macro_type{ring}
Chris@16 28
Chris@16 29 \qbk{
Chris@16 30 [heading Example]
Chris@16 31 [register_ring]
Chris@16 32 [register_ring_output]
Chris@16 33 }
Chris@16 34 */
Chris@16 35 #define BOOST_GEOMETRY_REGISTER_RING(Ring) \
Chris@16 36 namespace boost { namespace geometry { namespace traits { \
Chris@16 37 template<> struct tag<Ring> { typedef ring_tag type; }; \
Chris@16 38 }}}
Chris@16 39
Chris@16 40
Chris@16 41 /*!
Chris@16 42 \brief \brief_macro{templated ring}
Chris@16 43 \ingroup register
Chris@101 44 \details \details_macro{BOOST_GEOMETRY_REGISTER_RING_TEMPLATED, templated ring}
Chris@16 45 \details_macro_templated{ring, point}
Chris@16 46 \param Ring \param_macro_type{ring (without template parameters)}
Chris@16 47
Chris@16 48 \qbk{
Chris@16 49 [heading Example]
Chris@16 50 [register_ring_templated]
Chris@16 51 [register_ring_templated_output]
Chris@16 52 }
Chris@16 53 */
Chris@16 54 #define BOOST_GEOMETRY_REGISTER_RING_TEMPLATED(Ring) \
Chris@16 55 namespace boost { namespace geometry { namespace traits { \
Chris@16 56 template<typename P> struct tag< Ring<P> > { typedef ring_tag type; }; \
Chris@16 57 }}}
Chris@16 58
Chris@16 59
Chris@16 60 #endif // BOOST_GEOMETRY_GEOMETRIES_REGISTER_RING_HPP