/usr/include/ossim/vpfutil/mapgraph.h is in libossim-dev 2.2.2-1.
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 | /* MAPGRAPH.H */
#ifndef __MAPGRAPH_H__
#define __MAPGRAPH_H__ 1
#ifdef __cplusplus
extern "C" {
#endif
#define LONGITUDE(lon) {\
if (lon < -180.0) lon += 360.0; \
if (lon > 180.0) lon -= 360.0; \
}
#define LATITUDE(lat) {\
if (lat < -90.0) lat += 180.0; \
if (lat > 90.0) lat -= 180.0; \
}
/* Map Drawing Functions: */
#ifndef __MSDOS__
#define far
#endif
void mapinit( double xmn,
double ymn,
double xmx,
double ymx,
int width,
int height,
void far (*fwdproj)(),
void far (*invproj)() );
void screenxy( double xmap, double ymap,
int *xscreen, int *yscreen );
void mapxy( int xscreen, int yscreen, double *xmap, double *ymap );
void draw_graticule( double xstart,
double ystart,
double xstep,
double ystep,
int ninterm_pts,
int color,
int style,
int thickness );
#ifdef __cplusplus
}
#endif
#endif
|