src/Common.php
public static function qsfnz($eccent, $sinphi)
    {
        if ($eccent > 1.0e-7) {
            $con = $eccent * $sinphi;

            return (
                ( 1.0 - $eccent * $eccent)
                * ($sinphi / (1.0 - $con * $con) - (.5 / $eccent) * log( (1.0 - $con) / (1.0 + $con) ))
            );
        }

        return (2.0 * $sinphi);
    }
public static function qsfnz($eccent, $sinphi)
    {
        if ($eccent > 1.0e-7) {
            $con = $eccent * $sinphi;

            return (
                ( 1.0 - $eccent * $eccent)
                * ($sinphi / (1.0 - $con * $con) - (.5 / $eccent) * log( (1.0 - $con) / (1.0 + $con) ))
            );
        }

        return (2.0 * $sinphi);
    }
public static function qsfnz ( $ eccent , $ sinphi ) { if ( $ eccent > 1.0e-7 ) { $ con = $ eccent * $ sinphi ; return ( ( 1.0 - $ eccent * $ eccent ) * ( $ sinphi / ( 1.0 - $ con * $ con ) - ( .5 / $ eccent ) * log ( ( 1.0 - $ con ) / ( 1.0 + $ con ) ) ) ) ; } return ( 2.0 * $ sinphi ) ; }
Function to compute constant small q which is the radius of a
parallel of latitude, phi, divided by the semimajor axis.

@param float $eccent
@param float $sinphi
@return float
Function to compute constant small q which is the radius of a parallel of latitude phi divided by the semimajor axis .