3 // Copyright (c) 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_AZIMUTH_SPHERICAL_HPP
11 #define BOOST_GEOMETRY_STRATEGIES_AZIMUTH_SPHERICAL_HPP
14 // TODO: move this file to boost/geometry/strategy
15 #include <boost/geometry/strategies/spherical/azimuth.hpp>
17 #include <boost/geometry/strategies/azimuth/services.hpp>
18 #include <boost/geometry/strategies/detail.hpp>
21 namespace boost { namespace geometry
24 namespace strategies { namespace azimuth
27 template <typename CalculationType = void>
28 class spherical : strategies::detail::spherical_base<void>
30 using base_t = strategies::detail::spherical_base<void>;
36 return strategy::azimuth::spherical<CalculationType>();
45 template <typename Point1, typename Point2>
46 struct default_strategy<Point1, Point2, spherical_equatorial_tag, spherical_equatorial_tag>
48 using type = strategies::azimuth::spherical<>;
51 template <typename CT>
52 struct strategy_converter<strategy::azimuth::spherical<CT> >
54 static auto get(strategy::azimuth::spherical<CT> const&)
56 return strategies::azimuth::spherical<CT>();
61 } // namespace services
63 }} // namespace strategies::azimuth
65 }} // namespace boost::geometry
67 #endif // BOOST_GEOMETRY_STRATEGIES_AZIMUTH_SPHERICAL_HPP