File indexing completed on 2025-01-18 09:36:47
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_GEOMETRY_STRATEGIES_IS_CONVEX_SPHERICAL_HPP
0011 #define BOOST_GEOMETRY_STRATEGIES_IS_CONVEX_SPHERICAL_HPP
0012
0013
0014 #include <boost/geometry/strategies/convex_hull/spherical.hpp>
0015 #include <boost/geometry/strategies/detail.hpp>
0016 #include <boost/geometry/strategies/is_convex/services.hpp>
0017
0018
0019 namespace boost { namespace geometry
0020 {
0021
0022 namespace strategies { namespace is_convex
0023 {
0024
0025
0026 template <typename CalculationType = void>
0027 using spherical = strategies::convex_hull::spherical<CalculationType>;
0028
0029
0030 namespace services
0031 {
0032
0033 template <typename Geometry>
0034 struct default_strategy<Geometry, spherical_equatorial_tag>
0035 {
0036 using type = strategies::is_convex::spherical<>;
0037 };
0038
0039 template <typename CT>
0040 struct strategy_converter<strategy::side::spherical_side_formula<CT>>
0041 {
0042 static auto get(strategy::side::spherical_side_formula<CT> const& )
0043 {
0044 return strategies::is_convex::spherical<CT>();
0045 }
0046 };
0047
0048 }
0049
0050 }}
0051
0052 }}
0053
0054 #endif