1 /*
2  # This file is part of the Astrometry.net suite.
3  # Licensed under a 3-clause BSD style license - see LICENSE
4  */
5 
6 #ifndef ALLQUADS_H
7 #define ALLQUADS_H
8 
9 #include "starkd.h"
10 #include "quadfile.h"
11 #include "codefile.h"
12 
13 struct allquads {
14     int dimquads;
15     int dimcodes;
16     int id;
17 
18     char *quadfn;
19     char *codefn;
20     char *skdtfn;
21 
22     startree_t* starkd;
23     quadfile_t* quads;
24     codefile_t* codes;
25 
26     double quad_d2_lower;
27     double quad_d2_upper;
28     anbool use_d2_lower;
29     anbool use_d2_upper;
30 
31     int starA;
32 };
33 typedef struct allquads allquads_t;
34 
35 allquads_t* allquads_init();
36 int allquads_open_outputs(allquads_t* aq);
37 int allquads_create_quads(allquads_t* aq);
38 int allquads_close(allquads_t* aq);
39 void allquads_free(allquads_t* aq);
40 
41 
42 #endif
43 
44