Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:36:51

0001 // Boost.Geometry (aka GGL, Generic Geometry Library)
0002 
0003 // Copyright (c) 2007-2015 Barend Gehrels, Amsterdam, the Netherlands.
0004 // Copyright (c) 2008-2015 Bruno Lalande, Paris, France.
0005 // Copyright (c) 2009-2015 Mateusz Loskot, London, UK.
0006 
0007 // This file was modified by Oracle on 2015-2020.
0008 // Modifications copyright (c) 2015-2020, Oracle and/or its affiliates.
0009 
0010 // Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
0011 // Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle
0012 // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle
0013 
0014 // Distributed under the Boost Software License, Version 1.0.
0015 // (See accompanying file LICENSE_1_0.txt or copy at
0016 // http://www.boost.org/LICENSE_1_0.txt)
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 // DOXYGEN_NO_STRATEGY_SPECIALIZATIONS
0067 
0068 
0069 }} // namespace strategy::envelope
0070 
0071 
0072 }} // namespace boost::geometry
0073 
0074 
0075 #endif // BOOST_GEOMETRY_STRATEGY_SPHERICAL_ENVELOPE_BOX_HPP