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