Go to the documentation of this file.
424 #define CELLEN (sizeof(struct celprm)/sizeof(int))
438 const double x[],
const double y[],
439 double phi[],
double theta[],
double lng[],
double lat[],
443 const double lng[],
const double lat[],
444 double phi[],
double theta[],
double x[],
double y[],
449 #define celini_errmsg cel_errmsg
450 #define celprt_errmsg cel_errmsg
451 #define celset_errmsg cel_errmsg
452 #define celx2s_errmsg cel_errmsg
453 #define cels2x_errmsg cel_errmsg
@ CELERR_BAD_PIX
Definition: cel.h:387
double ref[4]
Definition: cel.h:402
int celset(struct celprm *cel)
Setup routine for the celprm struct.
int celfree(struct celprm *cel)
Destructor for the celprm struct.
const char * cel_errmsg[]
struct wcserr * err
Definition: cel.h:416
@ CELERR_ILL_COORD_TRANS
Definition: cel.h:385
struct prjprm prj
Definition: cel.h:406
int celx2s(struct celprm *cel, int nx, int ny, int sxy, int sll, const double x[], const double y[], double phi[], double theta[], double lng[], double lat[], int stat[])
Pixel-to-world celestial transformation.
int celperr(const struct celprm *cel, const char *prefix)
Print error messages from a celprm struct.
@ CELERR_SUCCESS
Definition: cel.h:380
int offset
Definition: cel.h:400
Projection parameters.
Definition: prj.h:667
double theta0
Definition: cel.h:401
Celestial transformation parameters.
Definition: cel.h:393
int celini(struct celprm *cel)
Default constructor for the celprm struct.
@ CELERR_BAD_WORLD
Definition: cel.h:389
@ CELERR_BAD_PARAM
Definition: cel.h:382
@ CELERR_BAD_COORD_TRANS
Definition: cel.h:383
cel_errmsg_enum
Definition: cel.h:379
int latpreq
Definition: cel.h:411
Error message handling.
Definition: wcserr.h:223
void * padding
Definition: cel.h:420
int cels2x(struct celprm *cel, int nlng, int nlat, int sll, int sxy, const double lng[], const double lat[], double phi[], double theta[], double x[], double y[], int stat[])
World-to-pixel celestial transformation.
double phi0
Definition: cel.h:401
int celprt(const struct celprm *cel)
Print routine for the celprm struct.
@ CELERR_NULL_POINTER
Definition: cel.h:381
double euler[5]
Definition: cel.h:410
int flag
Definition: cel.h:396
int isolat
Definition: cel.h:412