|
||||
File indexing completed on 2025-01-18 09:36:50
0001 // Boost.Geometry (aka GGL, Generic Geometry Library) 0002 0003 // Copyright (c) 2007-2012 Barend Gehrels, Amsterdam, the Netherlands. 0004 // Copyright (c) 2008-2012 Bruno Lalande, Paris, France. 0005 // Copyright (c) 2009-2012 Mateusz Loskot, London, UK. 0006 0007 // This file was modified by Oracle on 2020. 0008 // Modifications copyright (c) 2020, Oracle and/or its affiliates. 0009 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle 0010 0011 // Parts of Boost.Geometry are redesigned from Geodan's Geographic Library 0012 // (geolib/GGL), copyright (c) 1995-2010 Geodan, Amsterdam, the Netherlands. 0013 0014 // Use, modification and distribution is subject to the Boost Software License, 0015 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 0016 // http://www.boost.org/LICENSE_1_0.txt) 0017 0018 #ifndef BOOST_GEOMETRY_STRATEGIES_CENTROID_HPP 0019 #define BOOST_GEOMETRY_STRATEGIES_CENTROID_HPP 0020 0021 0022 #include <cstddef> 0023 0024 #include <boost/geometry/core/tags.hpp> 0025 #include <boost/geometry/strategies/tags.hpp> 0026 0027 0028 namespace boost { namespace geometry 0029 { 0030 0031 0032 namespace strategy { namespace centroid 0033 { 0034 0035 struct not_applicable_strategy 0036 { 0037 }; 0038 0039 0040 namespace services 0041 { 0042 0043 /*! 0044 \brief Traits class binding a centroid calculation strategy to a coordinate system 0045 \ingroup centroid 0046 \tparam CsTag tag of coordinate system, for specialization 0047 \tparam GeometryTag tag of geometry, for specialization 0048 \tparam Dimension dimension of geometry, for specialization 0049 \tparam Point point-type 0050 \tparam Geometry 0051 */ 0052 template 0053 < 0054 typename CsTag, 0055 typename GeometryTag, 0056 std::size_t Dimension, 0057 typename Point, 0058 typename Geometry 0059 > 0060 struct default_strategy 0061 { 0062 typedef not_applicable_strategy type; 0063 }; 0064 0065 0066 } // namespace services 0067 0068 0069 }} // namespace strategy::centroid 0070 0071 0072 }} // namespace boost::geometry 0073 0074 #endif // BOOST_GEOMETRY_STRATEGIES_CENTROID_HPP
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |