This file is indexed.

/usr/include/ncarg/hlu/TransObjP.h is in libncarg-dev 6.3.0-13.

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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
/*
 *      $Id: TransObjP.h,v 1.21 2004-10-05 22:50:34 dbrown Exp $
 */
/************************************************************************
*									*
*			     Copyright (C)  1992			*
*	     University Corporation for Atmospheric Research		*
*			     All Rights Reserved			*
*									*
************************************************************************/
/*
 *	File:		TransObjP.h
 *
 *	Author:		Ethan Alpert
 *			National Center for Atmospheric Research
 *			PO 3000, Boulder, Colorado
 *
 *	Date:		Fri Oct 16 10:48:21 MDT 1992
 *
 *	Description:	This is the public header file for the TransObj class.
 *			The NhlTransObjClass is responsible for managing 
 *			transformations DATA==>VIEWPORT definitions.
 */
#ifndef _NTransObjP_h
#define  _NTransObjP_h

#include <ncarg/hlu/BaseP.h>
#include <ncarg/hlu/TransObjI.h>

typedef NhlErrorTypes (*NhlLineToProc)(
#if	NhlNeedProto
NhlLayer   /* instance */,
float   /* x */,
float   /* y */,
int     /* upordown */
#endif
);

typedef NhlErrorTypes (*NhlPolygonProc)(
#if	NhlNeedProto
NhlLayer instance,
float   *x,
float   *y,
int     n
#endif
);

typedef NhlErrorTypes (*NhlTransformPoint)(
#if 	NhlNeedProto
NhlLayer	/* instance */,
float*  /* x */,
float*  /* y */,
int 	/* n */,
float*  /* xout */,
float*  /* yout */,
float*  /* xmissing */,
float*  /* ymissing */,
int*	/* status */		/* True if out of range value exists in input */
#endif
);

typedef NhlErrorTypes (*NhlSetTransFunc)(
#if	NhlNeedProto
NhlLayer	/* instance */,
NhlLayer 	/* parent */
#endif
);

typedef struct _NhlTransObjLayerPart {
	NhlBoolean	x_min_set;
	float 		x_min;
	NhlBoolean	x_max_set;
	float		x_max;
	NhlBoolean	x_reverse_set;
	int 		x_reverse;
        
	NhlBoolean	y_min_set;
	float 		y_min;
	NhlBoolean	y_max_set;
	float		y_max;
	NhlBoolean	y_reverse_set;
	int 		y_reverse;

	float		out_of_range;
	NhlBoolean	line_interpolation_on;
	float		resolution;
	NhlBoolean	grid_type_set;
        NhlGridType   	grid_type;
	NhlBoolean      xc_isbounds;
	NhlBoolean      yc_isbounds;
	NhlBoolean      do_bounds;
/*
 * Each time the trans obj changes this field is incremented
 */
	int		change_count;
	/*
	 * These fields are filled in by the "SetTrans" function, and then
	 * used by the LineTo and CoordToCoord functions.
	 */
	NhlLayer	wkptr;
	float		x;
	float		y;
	float		width;
	float		height;
	int		point_count;
	float		data_xstart;
	float		data_xend;
	float		data_ystart;
	float		data_yend;
        NhlBoolean	off_screen;
}NhlTransObjLayerPart;


typedef struct _NhlTransObjLayerRec {
	NhlObjLayerPart		base;
	NhlTransObjLayerPart	trobj;
}NhlTransObjLayerRec;

#define NhlInheritTransPoint	((NhlTransformPoint)_NhlInherit)
#define NhlInheritLineTo	((NhlLineToProc)_NhlInherit)
#define NhlInheritPolygon	((NhlPolygonProc)_NhlInherit)

typedef struct _NhlTransObjClassPart {
	NhlSetTransFunc set_trans;
	NhlErrorTypes	(*trans_type)();
/*
* linear portion
*/
	NhlTransformPoint win_to_ndc;
	NhlTransformPoint ndc_to_win;
/*
* possibly not linear transformation
*/
	NhlTransformPoint data_to_win;
	NhlTransformPoint win_to_data;
/*
* intermediate transformations
*/
	NhlTransformPoint data_to_compc;
	NhlTransformPoint compc_to_data;
	NhlTransformPoint win_to_compc;
	NhlTransformPoint compc_to_win;
/*
* Drawing primatives
*/
	NhlLineToProc	data_lineto;
	NhlLineToProc	compc_lineto;
	NhlLineToProc	win_lineto;
	NhlLineToProc	NDC_lineto;
	NhlPolygonProc  data_polygon;
} NhlTransObjClassPart;

typedef struct _NhlTransObjClassRec {
	NhlObjClassPart		base_class;
	NhlTransObjClassPart	trobj_class;
} NhlTransObjClassRec;

typedef struct _NhlTransObjClassRec *NhlTransObjClass;
typedef struct _NhlTransObjLayerRec *NhlTransObjLayer;

extern NhlTransObjClassRec NhltransObjClassRec;


extern void _NhlTransClipLine(
#if	NhlNeedProto
float /*xl*/,
float /*xr*/,
float /*yt*/,
float /*yb*/,
float * /*x0*/,
float * /*y0*/,
float * /*x1*/,
float * /*y1*/,
float /*missing*/
#endif
);

NhlErrorTypes _NhlTransLLUSet(
#if NhlNeedProto
    float vl,
    float vr,
    float vb,
    float vt,
    float wl,
    float wr,
    float wb,
    float wt,
    int lf,
    NhlBoolean *off_screen,
    NhlString entry
#endif
);

#endif  /*_NTransObjP_h*/