]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/geometry/strategies/centroid.hpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / boost / geometry / strategies / centroid.hpp
CommitLineData
7c673cae
FG
1// Boost.Geometry (aka GGL, Generic Geometry Library)
2
3// Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands.
4// Copyright (c) 2008-2012 Bruno Lalande, Paris, France.
5// Copyright (c) 2009-2012 Mateusz Loskot, London, UK.
6
20effc67
TL
7// This file was modified by Oracle on 2020.
8// Modifications copyright (c) 2020, Oracle and/or its affiliates.
9// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
10
7c673cae
FG
11// Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
12// (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
13
14// Use, modification and distribution is subject to the Boost Software License,
15// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
16// http://www.boost.org/LICENSE_1_0.txt)
17
18#ifndef BOOST_GEOMETRY_STRATEGIES_CENTROID_HPP
19#define BOOST_GEOMETRY_STRATEGIES_CENTROID_HPP
20
21
22#include <cstddef>
23
7c673cae
FG
24#include <boost/geometry/core/tags.hpp>
25#include <boost/geometry/strategies/tags.hpp>
26
27
28namespace boost { namespace geometry
29{
30
31
32namespace strategy { namespace centroid
33{
34
35struct not_applicable_strategy
36{
37};
38
39
40namespace services
41{
42
43/*!
44 \brief Traits class binding a centroid calculation strategy to a coordinate system
45 \ingroup centroid
46 \tparam CsTag tag of coordinate system, for specialization
47 \tparam GeometryTag tag of geometry, for specialization
48 \tparam Dimension dimension of geometry, for specialization
49 \tparam Point point-type
50 \tparam Geometry
51*/
52template
53<
54 typename CsTag,
55 typename GeometryTag,
56 std::size_t Dimension,
57 typename Point,
58 typename Geometry
59>
60struct default_strategy
61{
62 typedef not_applicable_strategy type;
63};
64
65
66} // namespace services
67
68
69}} // namespace strategy::centroid
70
71
72}} // namespace boost::geometry
73
74#endif // BOOST_GEOMETRY_STRATEGIES_CENTROID_HPP