OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Macros | Functions
mapgraph.h File Reference

Go to the source code of this file.

Macros

#define LONGITUDE(lon)
 
#define LATITUDE(lat)
 
#define far
 

Functions

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)
 

Macro Definition Documentation

◆ far

#define far

Definition at line 24 of file mapgraph.h.

◆ LATITUDE

#define LATITUDE (   lat)
Value:
{\
if (lat < -90.0) lat += 180.0; \
if (lat > 90.0) lat -= 180.0; \
}
if(yy_init)

Definition at line 15 of file mapgraph.h.

◆ LONGITUDE

#define LONGITUDE (   lon)
Value:
{\
if (lon < -180.0) lon += 360.0; \
if (lon > 180.0) lon -= 360.0; \
}
if(yy_init)

Definition at line 10 of file mapgraph.h.

Function Documentation

◆ draw_graticule()

void draw_graticule ( double  xstart,
double  ystart,
double  xstep,
double  ystep,
int  ninterm_pts,
int  color,
int  style,
int  thickness 
)

◆ mapinit()

void mapinit ( double  xmn,
double  ymn,
double  xmx,
double  ymx,
int  width,
int  height,
void far(*)()  fwdproj,
void far(*)()  invproj 
)

◆ mapxy()

void mapxy ( int  xscreen,
int  yscreen,
double *  xmap,
double *  ymap 
)

◆ screenxy()

void screenxy ( double  xmap,
double  ymap,
int *  xscreen,
int *  yscreen 
)