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