ansel0926
2022-05-15 41f6d1a2b56410495d0fcdd159ad288e6cb07c41
1
2
3
4
5
6
7
8
var HALF_PI = Math.PI/2;
 
module.exports = function(eccent, phi, sinphi) {
  var con = eccent * sinphi;
  var com = 0.5 * eccent;
  con = Math.pow(((1 - con) / (1 + con)), com);
  return (Math.tan(0.5 * (HALF_PI - phi)) / con);
};