#ifndef BOOST_GEOMETRY_PROJECTIONS_IGH_HPP #define BOOST_GEOMETRY_PROJECTIONS_IGH_HPP // Boost.Geometry - extensions-gis-projections (based on PROJ4) // This file is automatically generated. DO NOT EDIT. // Copyright (c) 2008-2015 Barend Gehrels, Amsterdam, the Netherlands. // This file was modified by Oracle on 2017. // Modifications copyright (c) 2017, Oracle and/or its affiliates. // Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle. // Use, modification and distribution is subject to the Boost Software License, // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) // This file is converted from PROJ4, http://trac.osgeo.org/proj // PROJ4 is originally written by Gerald Evenden (then of the USGS) // PROJ4 is maintained by Frank Warmerdam // PROJ4 is converted to Boost.Geometry by Barend Gehrels // Last updated version of proj: 4.9.1 // Original copyright notice: // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation // the rights to use, copy, modify, merge, publish, distribute, sublicense, // and/or sell copies of the Software, and to permit persons to whom the // Software is furnished to do so, subject to the following conditions: // The above copyright notice and this permission notice shall be included // in all copies or substantial portions of the Software. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. #include #include #include #include #include #include #include #include namespace boost { namespace geometry { namespace srs { namespace par4 { struct igh {}; }} //namespace srs::par4 namespace projections { #ifndef DOXYGEN_NO_DETAIL namespace detail { namespace igh { template struct par_igh { boost::shared_ptr > pj[12]; CalculationType dy0; }; template inline T d4044118() { return (T(40) + T(44)/T(60.) + T(11.8)/T(3600.)) * geometry::math::d2r(); } // 40d 44' 11.8" [degrees] template inline T d10() { return T(10) * geometry::math::d2r(); } template inline T d20() { return T(20) * geometry::math::d2r(); } template inline T d30() { return T(30) * geometry::math::d2r(); } template inline T d40() { return T(40) * geometry::math::d2r(); } template inline T d50() { return T(50) * geometry::math::d2r(); } template inline T d60() { return T(60) * geometry::math::d2r(); } template inline T d80() { return T(80) * geometry::math::d2r(); } template inline T d90() { return T(90) * geometry::math::d2r(); } template inline T d100() { return T(100) * geometry::math::d2r(); } template inline T d140() { return T(140) * geometry::math::d2r(); } template inline T d160() { return T(160) * geometry::math::d2r(); } template inline T d180() { return T(180) * geometry::math::d2r(); } static const double EPSLN = 1.e-10; // allow a little 'slack' on zone edge positions // Converted from #define SETUP(n, proj, x_0, y_0, lon_0) template