3 // Copyright (c) 2020-2021, Oracle and/or its affiliates.
5 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
7 // Licensed under the Boost Software License version 1.0.
8 // http://www.boost.org/users/license.html
10 #ifndef BOOST_GEOMETRY_STRATEGIES_INDEX_GEOGRAPHIC_HPP
11 #define BOOST_GEOMETRY_STRATEGIES_INDEX_GEOGRAPHIC_HPP
14 #include <boost/geometry/strategies/distance/geographic.hpp>
15 #include <boost/geometry/strategies/index/services.hpp>
18 namespace boost { namespace geometry { namespace strategies { namespace index
23 typename FormulaPolicy = strategy::andoyer,
24 typename Spheroid = srs::spheroid<double>,
25 typename CalculationType = void
28 : public distance::geographic<FormulaPolicy, Spheroid, CalculationType>
30 typedef distance::geographic<FormulaPolicy, Spheroid, CalculationType> base_t;
33 geographic() = default;
35 explicit geographic(Spheroid const& spheroid)
44 template <typename Geometry>
45 struct default_strategy<Geometry, geographic_tag>
47 using type = strategies::index::geographic<>;
51 } // namespace services
54 }}}} // namespace boost::geometry::strategy::index
56 #endif // BOOST_GEOMETRY_STRATEGIES_INDEX_GEOGRAPHIC_HPP