123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- #ifndef BOOST_GEOMETRY_STRATEGY_SPHERICAL_ENVELOPE_BOX_HPP
- #define BOOST_GEOMETRY_STRATEGY_SPHERICAL_ENVELOPE_BOX_HPP
- #include <boost/geometry/strategy/spherical/expand_box.hpp>
- #include <boost/geometry/strategy/envelope.hpp>
- namespace boost { namespace geometry
- {
- namespace strategy { namespace envelope
- {
- struct spherical_box
- : geometry::detail::envelope::envelope_box_on_spheroid
- {
- typedef spherical_tag cs_tag;
- };
- #ifndef DOXYGEN_NO_STRATEGY_SPECIALIZATIONS
- namespace services
- {
- template <typename CalculationType>
- struct default_strategy<box_tag, spherical_equatorial_tag, CalculationType>
- {
- typedef strategy::envelope::spherical_box type;
- };
- template <typename CalculationType>
- struct default_strategy<box_tag, spherical_polar_tag, CalculationType>
- {
- typedef strategy::envelope::spherical_box type;
- };
- template <typename CalculationType>
- struct default_strategy<box_tag, geographic_tag, CalculationType>
- {
- typedef strategy::envelope::spherical_box type;
- };
- }
- #endif
- }}
- }}
- #endif
|