426 #define CELLEN (sizeof(struct celprm)/sizeof(int))
440 const double x[],
const double y[],
441 double phi[],
double theta[],
double lng[],
double lat[],
445 const double lng[],
const double lat[],
446 double phi[],
double theta[],
double x[],
double y[],
451 #define celini_errmsg cel_errmsg
452 #define celprt_errmsg cel_errmsg
453 #define celset_errmsg cel_errmsg
454 #define celx2s_errmsg cel_errmsg
455 #define cels2x_errmsg cel_errmsg
int celini(struct celprm *cel)
Default constructor for the celprm struct.
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.
const char * cel_errmsg[]
int celfree(struct celprm *cel)
Destructor for the celprm struct.
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.
int celperr(const struct celprm *cel, const char *prefix)
Print error messages from a celprm struct.
int celset(struct celprm *cel)
Setup routine for the celprm struct.
cel_errmsg_enum
Definition: cel.h:381
@ CELERR_BAD_PARAM
Definition: cel.h:384
@ CELERR_BAD_COORD_TRANS
Definition: cel.h:385
@ CELERR_BAD_PIX
Definition: cel.h:389
@ CELERR_SUCCESS
Definition: cel.h:382
@ CELERR_NULL_POINTER
Definition: cel.h:383
@ CELERR_BAD_WORLD
Definition: cel.h:391
@ CELERR_ILL_COORD_TRANS
Definition: cel.h:387
int celprt(const struct celprm *cel)
Print routine for the celprm struct.
Celestial transformation parameters.
Definition: cel.h:395
double theta0
Definition: cel.h:403
struct wcserr * err
Definition: cel.h:418
double ref[4]
Definition: cel.h:404
int flag
Definition: cel.h:398
int offset
Definition: cel.h:402
int latpreq
Definition: cel.h:413
int isolat
Definition: cel.h:414
double euler[5]
Definition: cel.h:412
double phi0
Definition: cel.h:403
struct prjprm prj
Definition: cel.h:408
void * padding
Definition: cel.h:422
Projection parameters.
Definition: prj.h:669
Error message handling.
Definition: wcserr.h:220