1 /*****************************************************************************
5 *****************************************************************************/
7 /* This header contains the public interface to the GridNav API. */
41 ProjTransform proj_transform
;
45 /* Public Interface */
47 int GRID_init(float center_lat
, float center_lon
, int projection
,
48 float truelat1
, float truelat2
, int num_columns
,
49 int num_rows
, float dx
, float dy
, float lat_origin
,
50 float lon_origin
, float origin_column
, float origin_row
,
52 int GRID_to_latlon(GridNav
*gridnav
, float column
, float row
, float *lat
,
54 int GRID_from_latlon(GridNav
*gridnav
, float lat
, float lon
, float *column
,
56 int GRID_rotate_from_earth_coords(GridNav
*gridnav
, float lon
, float u_earth
,
57 float v_earth
, float *u_grid
, float *v_grid
);
58 int GRID_rotate_to_earth_coords(GridNav
*gridnav
, float lon
, float u_grid
,
59 float v_grid
, float *u_earth
, float *v_earth
);
62 #define GRID_MERCATOR 1