File indexing completed on 2025-01-18 09:36:51
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #ifndef BOOST_GEOMETRY_STRATEGY_SPHERICAL_ENVELOPE_BOX_HPP
0019 #define BOOST_GEOMETRY_STRATEGY_SPHERICAL_ENVELOPE_BOX_HPP
0020
0021
0022 #include <boost/geometry/strategy/spherical/expand_box.hpp>
0023
0024 #include <boost/geometry/strategy/envelope.hpp>
0025
0026
0027 namespace boost { namespace geometry
0028 {
0029
0030 namespace strategy { namespace envelope
0031 {
0032
0033
0034 struct spherical_box
0035 : geometry::detail::envelope::envelope_box_on_spheroid
0036 {
0037 typedef spherical_tag cs_tag;
0038 };
0039
0040
0041 #ifndef DOXYGEN_NO_STRATEGY_SPECIALIZATIONS
0042
0043 namespace services
0044 {
0045
0046 template <typename CalculationType>
0047 struct default_strategy<box_tag, spherical_equatorial_tag, CalculationType>
0048 {
0049 typedef strategy::envelope::spherical_box type;
0050 };
0051
0052 template <typename CalculationType>
0053 struct default_strategy<box_tag, spherical_polar_tag, CalculationType>
0054 {
0055 typedef strategy::envelope::spherical_box type;
0056 };
0057
0058 template <typename CalculationType>
0059 struct default_strategy<box_tag, geographic_tag, CalculationType>
0060 {
0061 typedef strategy::envelope::spherical_box type;
0062 };
0063
0064 }
0065
0066 #endif
0067
0068
0069 }}
0070
0071
0072 }}
0073
0074
0075 #endif