Warning, file /include/boost/geometry/strategy/area.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #ifndef BOOST_GEOMETRY_STRATEGY_AREA_HPP
0020 #define BOOST_GEOMETRY_STRATEGY_AREA_HPP
0021
0022
0023 #include <boost/geometry/core/coordinate_type.hpp>
0024 #include <boost/geometry/core/static_assert.hpp>
0025
0026 #include <boost/geometry/util/select_most_precise.hpp>
0027
0028
0029 namespace boost { namespace geometry
0030 {
0031
0032
0033 namespace strategy { namespace area
0034 {
0035
0036
0037 #ifndef DOXYGEN_NO_DETAIL
0038 namespace detail
0039 {
0040
0041
0042
0043
0044 template
0045 <
0046 typename Geometry,
0047 typename CalculationType
0048 >
0049 struct result_type
0050 {
0051 typedef CalculationType type;
0052 };
0053
0054 template
0055 <
0056 typename Geometry
0057 >
0058 struct result_type<Geometry, void>
0059 : select_most_precise
0060 <
0061 coordinate_type_t<Geometry>,
0062 double
0063 >
0064 {};
0065
0066 }
0067 #endif
0068
0069
0070 namespace services
0071 {
0072
0073
0074
0075
0076
0077
0078 template <typename Tag>
0079 struct default_strategy
0080 {
0081 BOOST_GEOMETRY_STATIC_ASSERT_FALSE(
0082 "Not implemented for this coordinate system.",
0083 Tag);
0084 };
0085
0086
0087 }
0088
0089 }}
0090
0091
0092 }}
0093
0094 #endif