/usr/include/ncarg/hlu/CoordApprox.h is in libncarg-dev 6.4.0-9.
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 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | /*
* $Id: CoordApprox.h,v 1.5 2002-03-18 21:20:06 dbrown Exp $
*/
/************************************************************************
* *
* Copyright (C) 1992 *
* University Corporation for Atmospheric Research *
* All Rights Reserved *
* *
************************************************************************/
/*
* File:
*
* Author: Ethan Alpert
* National Center for Atmospheric Research
* PO 3000, Boulder, Colorado
*
* Date: Thu Oct 8 15:07:57 MDT 1992
*
* Description:
*/
#ifndef _NCoordApprox_h
#define _NCoordApprox_h
#include <ncarg/hlu/hluP.h>
typedef enum _NhlOrdering{
NhlNONMONOTONIC,
NhlINCREASING,
NhlDECREASING
} NhlOrdering;
typedef enum _NhlStatus{
NhlNONE,
NhlFORWARD,
NhlINVERSE,
NhlBOTHTRANS
} NhlStatus;
#define NhlBOGUS 0
typedef struct _NhlCoordDat {
NhlStatus xstatus;
int x_use_log;
float *x_orig_forward;
float *fx_orig_forward;
float *x_coefs_forward;
float *x_orig_inverse;
float *fx_orig_inverse;
float *x_coefs_inverse;
int nx_forward;
int nx_inverse;
float xsigma;
float x_min;
float x_max;
float x_int_min;
float x_int_max;
NhlStatus ystatus;
int y_use_log;
float *y_orig_forward;
float *fy_orig_forward;
float *y_coefs_forward;
float *y_orig_inverse;
float *fy_orig_inverse;
float *y_coefs_inverse;
int ny_forward;
int ny_inverse;
float ysigma;
float y_min;
float y_max;
float y_int_min;
float y_int_max;
} NhlCoordDat;
extern NhlErrorTypes _NhlCreateSplineCoordApprox(
#if NhlNeedProto
NhlCoordDat * /*thedat */,
int /* x_use_log */,
float * /*x */,
float * /*x_int*/,
int /* nx */,
int /* y_use_log */,
float * /* y */,
float * /* y_int */,
int /* ny */,
float /* xsigma */,
float /* ysigma */,
int /* xsample */,
int /* ysample */,
NhlStatus */* xstatus */,
NhlStatus */* ystatus */
#endif
);
extern NhlErrorTypes _NhlDestroySplineCoordApprox(
#if NhlNeedProto
NhlCoordDat */* thedat */
#endif
);
extern NhlErrorTypes _NhlEvalSplineCoordForward(
#if NhlNeedProto
NhlCoordDat * /*thedat */,
float /* x */,
float /* y */,
float* /* xout */,
float* /* yout */,
float* /* xmissing */,
float* /* ymissing */
#endif
);
extern NhlErrorTypes _NhlEvalSplineCoordInverse(
#if NhlNeedProto
NhlCoordDat * /*thedat */,
float /* x */,
float /* y */,
float* /* xout */,
float* /* yout */,
float* /* xmissing */,
float* /* ymissing */
#endif
);
extern NhlErrorTypes _NhlMultiEvalSplineCoordForward(
#if NhlNeedProto
NhlCoordDat * /*thedat*/,
float * /*x*/,
float * /*y*/,
float * /*xout*/,
float * /*yout*/,
int /*xnpts*/ ,
int /*ynpts*/ ,
float* /* xmissing */,
float* /* ymissing */
#endif
);
extern NhlErrorTypes _NhlMultiEvalSplineCoordInverse(
#if NhlNeedProto
NhlCoordDat * /*thedat*/,
float * /*x*/,
float * /*y*/,
float * /*xout*/,
float * /*yout*/,
int /*xnpts*/ ,
int /*ynpts*/ ,
float* /* xmissing */,
float* /* ymissing */
#endif
);
#endif /*_NCoordApprox_h*/
|