awips2/nativeLib/rary.ohd.whfs/inc/general/geoutil.h
root 9bb8decbcf Initial revision of AWIPS2 11.9.0-7p5
Former-commit-id: 133dc97f67 [formerly a02aeb236c] [formerly 9f19e3f712] [formerly 06a8b51d6d [formerly 9f19e3f712 [formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]]
Former-commit-id: 06a8b51d6d
Former-commit-id: 377dcd10b9 [formerly 3360eb6c5f]
Former-commit-id: 8e80217e59
2012-01-06 08:55:05 -06:00

44 lines
1.1 KiB
C

#ifndef GEOUTIL_H
#define GEOUTIL_H
#include <stdio.h>
#include "DbmsDefs.h"
#include "GeoArea.h"
/* Structure for "get_area_linesegs" routine. */
typedef struct GeoAreaLineSegs
{
Node node ; /* The node. */
char area_id [ LOC_ID_LEN + 1 ] ; /* The id of the area being processed. */
char name [ LOC_AREANAME_LEN + 1 ] ; /* The name of the area being
processed. */
int numrows ; /* The number of rows in the geoarea being processed. */
long * rows ; /* The numbers of the HRAP rows in the area being
processed. */
long * beg_cols ; /* The beginning HRAP column corresponding to each row. */
long * end_cols ; /* The ending HRAP column corresponding to each row. */
List list ; /* The linked list. */
} GeoAreaLineSegs ;
#ifdef __cplusplus
extern "C" {
#endif
void exit_geoutil ( FILE * filePtr ) ;
void extract_geoarea(GeoArea *gaPtr,
double **lat,
double **lon);
void * get_area_linesegs ( const char * area_type ,
size_t size_of_structure ) ;
void free_area_linesegs_list ( void * pHead ) ;
#ifdef __cplusplus
}
#endif
#endif