cfitsio  3390
Data Structures | Macros | Enumerations | Functions
region.h File Reference
#include "fitsio.h"
Include dependency graph for region.h:
This graph shows which files directly or indirectly include this file:

Data Structures

struct  WCSdata
 
struct  RgnShape
 
struct  SAORegion
 

Macros

#define myPI   3.1415926535897932385
 
#define RadToDeg   180.0/myPI
 

Enumerations

enum  shapeType {
  point_rgn, line_rgn, circle_rgn, annulus_rgn,
  ellipse_rgn, elliptannulus_rgn, box_rgn, boxannulus_rgn,
  rectangle_rgn, diamond_rgn, sector_rgn, poly_rgn,
  panda_rgn, epanda_rgn, bpanda_rgn
}
 
enum  coordFmt { pixel_fmt, degree_fmt, hhmmss_fmt }
 

Functions

int fits_read_rgnfile (const char *filename, WCSdata *wcs, SAORegion **Rgn, int *status)
 
int fits_in_region (double X, double Y, SAORegion *Rgn)
 
void fits_free_region (SAORegion *Rgn)
 
void fits_set_region_components (SAORegion *Rgn)
 
void fits_setup_shape (RgnShape *shape)
 
int fits_read_fits_region (fitsfile *fptr, WCSdata *wcs, SAORegion **Rgn, int *status)
 
int fits_read_ascii_region (const char *filename, WCSdata *wcs, SAORegion **Rgn, int *status)
 

Macro Definition Documentation

#define myPI   3.1415926535897932385

Pi, Eulers constant.

#define RadToDeg   180.0/myPI

Conversion factor radians to degree. 180/Pi.

Enumeration Type Documentation

enum coordFmt

pixel_fmt, degree_fmt, hhmmss_fmt

Enumerator
pixel_fmt 
degree_fmt 
hhmmss_fmt 
enum shapeType
Enumerator
point_rgn 
line_rgn 
circle_rgn 
annulus_rgn 
ellipse_rgn 
elliptannulus_rgn 
box_rgn 
boxannulus_rgn 
rectangle_rgn 
diamond_rgn 
sector_rgn 
poly_rgn 
panda_rgn 
epanda_rgn 
bpanda_rgn 

Function Documentation

void fits_free_region ( SAORegion Rgn)

Here is the caller graph for this function:

int fits_in_region ( double  X,
double  Y,
SAORegion Rgn 
)
int fits_read_ascii_region ( const char *  filename,
WCSdata wcs,
SAORegion **  Rgn,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_read_fits_region ( fitsfile fptr,
WCSdata wcs,
SAORegion **  Rgn,
int *  status 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int fits_read_rgnfile ( const char *  filename,
WCSdata wcs,
SAORegion **  Rgn,
int *  status 
)

Here is the call graph for this function:

void fits_set_region_components ( SAORegion Rgn)

Here is the caller graph for this function:

void fits_setup_shape ( RgnShape shape)

Here is the caller graph for this function: