Project revived from Feb2017
[EroSomnia.git] / deps / boost_1_63_0 / boost / geometry / strategies / centroid.hpp
blob4963e6b40b74d5432172a019a24f9f0a904f3665
1 // Boost.Geometry (aka GGL, Generic Geometry Library)
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.
7 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library
8 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands.
10 // Use, modification and distribution is subject to the Boost Software License,
11 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
12 // http://www.boost.org/LICENSE_1_0.txt)
14 #ifndef BOOST_GEOMETRY_STRATEGIES_CENTROID_HPP
15 #define BOOST_GEOMETRY_STRATEGIES_CENTROID_HPP
18 #include <cstddef>
20 #include <boost/mpl/assert.hpp>
22 #include <boost/geometry/core/tags.hpp>
23 #include <boost/geometry/strategies/tags.hpp>
26 namespace boost { namespace geometry
30 namespace strategy { namespace centroid
33 struct not_applicable_strategy
38 namespace services
41 /*!
42 \brief Traits class binding a centroid calculation strategy to a coordinate system
43 \ingroup centroid
44 \tparam CsTag tag of coordinate system, for specialization
45 \tparam GeometryTag tag of geometry, for specialization
46 \tparam Dimension dimension of geometry, for specialization
47 \tparam Point point-type
48 \tparam Geometry
50 template
52 typename CsTag,
53 typename GeometryTag,
54 std::size_t Dimension,
55 typename Point,
56 typename Geometry
58 struct default_strategy
60 typedef not_applicable_strategy type;
64 } // namespace services
67 }} // namespace strategy::centroid
70 }} // namespace boost::geometry
72 #endif // BOOST_GEOMETRY_STRATEGIES_CENTROID_HPP