Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Boost.Geometry
0002 
0003 // Copyright (c) 2020, Oracle and/or its affiliates.
0004 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
0005 
0006 // Use, modification and distribution is subject to the Boost Software License,
0007 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0008 // http://www.boost.org/LICENSE_1_0.txt)
0009 
0010 #ifndef BOOST_GEOMETRY_CORE_MAKE_HPP
0011 #define BOOST_GEOMETRY_CORE_MAKE_HPP
0012 
0013 namespace boost { namespace geometry
0014 {
0015 
0016 namespace traits
0017 {
0018 
0019 /*!
0020 \brief Traits class to create an object of Geometry type.
0021 \details This trait is optional and allows to define efficient way of creating Geometries.
0022 \ingroup traits
0023 \par Geometries:
0024     - points
0025     - boxes
0026     - segments
0027 \par Specializations should provide:
0028     - static const bool is_specialized = true;
0029     - static member function apply() taking:
0030       - N coordinates (points)
0031       - 2 points, min and max (boxes)
0032       - 2 points, first and second (segments)
0033 \tparam Geometry geometry
0034 */
0035 template <typename Geometry>
0036 struct make
0037 {
0038     static const bool is_specialized = false;
0039 };
0040 
0041 } // namespace traits
0042 
0043 
0044 }} // namespace boost::geometry
0045 
0046 #endif // BOOST_GEOMETRY_CORE_MAKE_HPP