公告板
版本库
filestore
活动
搜索
登录
main
/
DDE-WEB
前台页面
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
添加项目点,点击调整。 整理项目超链接
BaoXs
2022-05-14
ef260dff5d38c36272a2ac97d40db70ab3f8c2cc
[DDE-WEB.git]
/
libs
/
CesiumVectorTile
/
src
/
ThirdParty
/
proj4
/
lib
/
common
/
tsfnz.js
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);
};