]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/geometry/core/make.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / geometry / core / make.hpp
1 // Boost.Geometry
2
3 // Copyright (c) 2020, Oracle and/or its affiliates.
4 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
5
6 // Use, modification and distribution is subject to the Boost Software License,
7 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
8 // http://www.boost.org/LICENSE_1_0.txt)
9
10 #ifndef BOOST_GEOMETRY_CORE_MAKE_HPP
11 #define BOOST_GEOMETRY_CORE_MAKE_HPP
12
13 namespace boost { namespace geometry
14 {
15
16 namespace traits
17 {
18
19 /*!
20 \brief Traits class to create an object of Geometry type.
21 \details This trait is optional and allows to define efficient way of creating Geometries.
22 \ingroup traits
23 \par Geometries:
24 - points
25 - boxes
26 - segments
27 \par Specializations should provide:
28 - static const bool is_specialized = true;
29 - static member function apply() taking:
30 - N coordinates (points)
31 - 2 points, min and max (boxes)
32 - 2 points, first and second (segments)
33 \tparam Geometry geometry
34 */
35 template <typename Geometry>
36 struct make
37 {
38 static const bool is_specialized = false;
39 };
40
41 } // namespace traits
42
43
44 }} // namespace boost::geometry
45
46 #endif // BOOST_GEOMETRY_CORE_MAKE_HPP