/usr/include/boost/geometry/srs/projections/impl
NameSizeModeActions
aasincos.hpp36790644editdlrm
adjlon.hpp26410644editdlrm
base_dynamic.hpp44190644editdlrm
base_static.hpp47060644editdlrm
dms_parser.hpp87520644editdlrm
factory_entry.hpp34060644editdlrm
function_overloads.hpp11420644editdlrm
geocent.hpp163900644editdlrm
pj_apply_gridshift.hpp171730644editdlrm
pj_auth.hpp33950644editdlrm
pj_datums.hpp80190644editdlrm
pj_datum_set.hpp144670644editdlrm
pj_ellps.hpp84370644editdlrm
pj_ell_set.hpp219060644editdlrm
pj_fwd.hpp37940644editdlrm
pj_gauss.hpp44010644editdlrm
pj_gridinfo.hpp298580644editdlrm
pj_gridlist.hpp87340644editdlrm
pj_init.hpp180460644editdlrm
pj_inv.hpp33070644editdlrm
pj_mlfn.hpp44770644editdlrm
pj_msfn.hpp23390644editdlrm
pj_param.hpp216900644editdlrm
pj_phi2.hpp29470644editdlrm
pj_qsfn.hpp30390644editdlrm
pj_strerrno.hpp96570644editdlrm
pj_transform.hpp385740644editdlrm
pj_tsfn.hpp24870644editdlrm
pj_units.hpp42340644editdlrm
pj_zpoly1.hpp37270644editdlrm
projects.hpp69140644editdlrm
proj_mdist.hpp48640644editdlrm
Edit: /usr/include/boost/geometry/srs/projections/impl/pj_tsfn.hpp (2487B)
// Boost.Geometry (aka GGL, Generic Geometry Library) // This file is manually converted from PROJ4 // Copyright (c) 2008-2012 Barend Gehrels, Amsterdam, the Netherlands. // This file was modified by Oracle on 2017, 2018. // Modifications copyright (c) 2017-2018, 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 Geometry Library by Barend Gehrels (Geodan, Amsterdam) // 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. #ifndef BOOST_GEOMETRY_PROJECTIONS_PJ_TSFN_HPP #define BOOST_GEOMETRY_PROJECTIONS_PJ_TSFN_HPP #include namespace boost { namespace geometry { namespace projections { namespace detail { /* determine small t */ template inline T pj_tsfn(T const& phi, T sinphi, T const& e) { sinphi *= e; return (tan (.5 * (geometry::math::half_pi() - phi)) / math::pow((T(1) - sinphi) / (T(1) + sinphi), T(0.5) * e)); } } // namespace detail }}} // namespace boost::geometry::projections #endif