stats_utils.h
来自「卫星仿真软件 卫星仿真软件 卫星仿真软件」· C头文件 代码 · 共 59 行
H
59 行
/* ***************************************************** * * SaVi by Robert Thurman (thurman@geom.umn.edu) and * Patrick Worfolk (worfolk@alum.mit.edu). * * Copyright (c) 1997 by The Geometry Center. * This file is part of SaVi. SaVi is free software; * you can redistribute it and/or modify it only under * the terms given in the file COPYRIGHT which you should * have received along with this file. SaVi may be * obtained from: * http://savi.sourceforge.net/ * http://www.geom.uiuc.edu/locate/SaVi * ***************************************************** * * stats_utils.h * * $Id: stats_utils.h,v 1.9 2005/02/03 01:08:03 lloydwood Exp $ */#ifndef _STATS_UTILS_H_#define _STATS_UTILS_H_#include <Satellite.h>#define MAX(A, B) ((A) < (B) ? (B) : (A))#define MIN(A, B) ((A) < (B) ? (A) : (B))enum { MASK_ELEVATION=0, SATELLITE_CONE};/* The coverage grid structure. */typedef struct grid { int *data; int *noaccess; int *covered; unsigned int height, width, count; } grid;grid *create_grid(int h, int w);void destroy_grid(grid *g);void fill_grid(const Satellite_list SL, int projection, int fp_angle_type, double footprint_angle, const CentralBody *pcb, grid *g);void intensity_edges(int left[2], int right[2], SphericalCoordinates *point, int projection, grid *g);void project_latlon_sinusoidal(double proj[2], LatLon *point);void project_latlon_cylindrical(double proj[2], LatLon *point);void project_latlon_unprojected(double proj[2], LatLon *point);void project_latlon_spherical(double proj[2], LatLon *point);#endif/* !_STATS_UTILS_H_ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?