/usr/include/hyantesite/hyantes.h is in libhyantes-dev 1.2.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | /**
* @file hyantes.h
* @brief declaration of exported hyantes functions
* include this file to get definitions from the hyantes library
* @author serge guelton
* @date 2008-02-13
*
* This file is part of hyantes.
*
* hyantes is free software; you can redistribute it and/or modify
* it under the terms of the CeCILL-C License
*
* You should have received a copy of the CeCILL-C License
* along with this program. If not, see <http://www.cecill.info/licences>.
*/
#ifndef _HYANTES_HS_SMOOTHING_H
#define _HYANTES_HS_SMOOTHING_H
#include <stdio.h>
#ifdef __cplusplus
extern "C"
{
#endif
/**
* @brief structure containing the coordinates of an area
* all coordinate are given in degree
* which means that
* -90 <= latitude <= 90
* and
* -180 <= longitude <= +180
*/
typedef struct hs_coord
{
double mLat;
/**< minimum latitude*/
double mLon;
/**< minimum longitude*/
double MLat;
/**< maximum latitude*/
double MLon;
/**< maximum longitude*/
} hs_coord_t;
/**
* @brief structure containing the coordinate of a potential
* all coordiante are given in radians
* which means that
* -90 <= latitude <= +90
* and
* -180 <= longitude <= +180
*/
typedef struct hs_potential
{
double lat;
/**< latitude of the potential*/
double lon;
/**< longitude of the potential*/
double pot;
/**< value of the potential*/
} hs_potential_t;
/*@-exportlocal@*/
/*@null@*/ hs_potential_t *hs_smooth(
int resoLat, int resoLon, hs_coord_t visu, FILE * pFileReference);
/*@observer@*/ const char **hs_list_smoothing(size_t * sz);
/*@-exportlocal@*/
unsigned long hs_status();
/**
* @brief enumeration of various options for hyantes
*/
typedef enum
{
HS_PARSE_ONLY, /**< only require generation of precomputed quadtree, extra arg : "char *filename" */
HS_THRESHOLD, /**< set the threshold used for ignoring some area, extra arg: "double threshold" */
HS_LOAD_RAW, /**< tells the library to consider input file as a raw data file, no extra arg */
HS_LOAD_PRECOMPUTED,
/**< tells the library to consider input file as a precomputed file, no extra arg */
HS_SMOOTH_FUNC, /**< tells the library to use given function and param to perform smoothing, extra arg: "char *funcname, double extra param, ... */
HS_MODULE_OPT /**< pass option to module */
} hs_option_t;
/*@-exportlocal@*/
int hs_set(hs_option_t, ...);
/*@-exportlocal@*/
/*@null@*/ hs_potential_t *hs_smoothing(
int resoLat,
int resoLon,
const char *function_name,
double function_param, hs_coord_t visu, FILE * pFileReference);
#ifdef __cplusplus
};
#endif
#endif
|