pluto.h

来自「This is a pgm can be used for astronomy」· C头文件 代码 · 共 29 行

H
29
字号
/*****************************************************************************\
 * Pluto.h
 *
 * Pluto is a class that can calculate the orbit of Pluto.
 * It currently requires data from the file 'vsop.bin'.
 *
 * author: mark huss (mark@mhuss.com)
 * Based on Bill Gray's open-source code at projectpluto.com
 *
\*****************************************************************************/

#if !defined( PLUTO__H )
#define PLUTO__H

#define N_COEFFS 36

struct PlutoCoeffs {
   char j, s, p, dummyToMaintainAlignment;
   short lon_a, lon_b, lat_a, lat_b, rad_a, rad_b;
};

class Pluto {
public:
  static void calcAllLocs( double& lat, double& lon, double& r, const double t);

};

#endif  /* #if !defined( PLUTO__H ) */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?