tsfnz.js 248 B

12345678
  1. import {HALF_PI} from '../constants/values';
  2. export default function(eccent, phi, sinphi) {
  3. var con = eccent * sinphi;
  4. var com = 0.5 * eccent;
  5. con = Math.pow(((1 - con) / (1 + con)), com);
  6. return (Math.tan(0.5 * (HALF_PI - phi)) / con);
  7. }