-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathGscrgn.h
41 lines (26 loc) · 1.17 KB
/
Gscrgn.h
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
/* Hubble guide star catalogue internal structure definitions. */
typedef struct {
double lora, hira, lodec, hidec;
double rawidth, decwidth;
} GSCRgnBounds, *GSCRgnBoundsPtr;
/* this structure is used to pass GSC region information */
typedef struct {
int Band, LgRgn, SmlRgn;
GSCRgnBounds Lg;
GSCRgnBounds Sm;
} GSCRgnInfo, *GSCRgnInfoPtr;
/* GSCFolders gives GSC folder names for declination bands */
extern char *GSCFolders[25];
/* NumInBand gives the number of GSC large regions in a declination band */
extern char NumInBand[25];
/* FirstInBand gives the first large region number in a declination band */
extern int FirstInBand[25];
/* FirstSmlRgn gives the first small region number in a large region */
extern int FirstSmlRgn[732];
/* the square of NumSmlRgns gives the number of small regions in the large region */
extern char NumSmlRgns[732];
/* Prototypes for GSC catalogue access functions. */
extern void GSCRegions(double ra, double dec, GSCRgnInfoPtr G);
extern void LargeRegionInfo(GSCRgnInfoPtr G);
extern void SmallRegionInfo(GSCRgnInfoPtr G);
extern int FindSmallRegion(int rgn, GSCRgnInfoPtr G);