Chris@16: // Boost.Geometry (aka GGL, Generic Geometry Library) Chris@16: Chris@16: // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. Chris@16: // Copyright (c) 2008-2012 Bruno Lalande, Paris, France. Chris@16: // Copyright (c) 2009-2012 Mateusz Loskot, London, UK. Chris@16: Chris@16: // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library Chris@16: // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands. Chris@16: Chris@16: // Use, modification and distribution is subject to the Boost Software License, Chris@16: // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: #ifndef BOOST_GEOMETRY_STRATEGIES_CENTROID_HPP Chris@16: #define BOOST_GEOMETRY_STRATEGIES_CENTROID_HPP Chris@16: Chris@16: Chris@16: #include Chris@16: Chris@16: #include Chris@16: Chris@16: #include Chris@16: #include Chris@16: Chris@16: Chris@16: namespace boost { namespace geometry Chris@16: { Chris@16: Chris@16: Chris@16: namespace strategy { namespace centroid Chris@16: { Chris@16: Chris@16: struct not_applicable_strategy Chris@16: { Chris@16: }; Chris@16: Chris@16: Chris@16: namespace services Chris@16: { Chris@16: Chris@16: /*! Chris@16: \brief Traits class binding a centroid calculation strategy to a coordinate system Chris@16: \ingroup centroid Chris@16: \tparam CsTag tag of coordinate system, for specialization Chris@16: \tparam GeometryTag tag of geometry, for specialization Chris@16: \tparam Dimension dimension of geometry, for specialization Chris@16: \tparam Point point-type Chris@16: \tparam Geometry Chris@16: */ Chris@16: template Chris@16: < Chris@16: typename CsTag, Chris@16: typename GeometryTag, Chris@16: std::size_t Dimension, Chris@16: typename Point, Chris@16: typename Geometry Chris@16: > Chris@16: struct default_strategy Chris@16: { Chris@16: typedef not_applicable_strategy type; Chris@16: }; Chris@16: Chris@16: Chris@16: } // namespace services Chris@16: Chris@16: Chris@16: }} // namespace strategy::centroid Chris@16: Chris@16: Chris@16: }} // namespace boost::geometry Chris@16: Chris@16: #endif // BOOST_GEOMETRY_STRATEGIES_CENTROID_HPP