zhanmingkan
2022-05-16 dc9784b9f149e15b0ddfb439135fe712ba2f8e8b
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);
};