pj_tsfn.cpp
来自「projapi是一个关于GIS行业投影转换的程序库」· C++ 代码 · 共 18 行
CPP
18 行
#include "stdafx.h"
/* determine small t */#ifndef lintstatic const char SCCSID[]="@(#)pj_tsfn.c 4.3 93/06/12 GIE REL";#endif#include <math.h>#include "projects.h"
#define HALFPI 1.5707963267948966 doublepj_tsfn(double phi, double sinphi, double e) { sinphi *= e; return (tan (.5 * (HALFPI - phi)) / pow((1. - sinphi) / (1. + sinphi), .5 * e));}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?