488#define CELLEN (sizeof(struct celprm)/sizeof(int))
506 const double x[],
const double y[],
507 double phi[],
double theta[],
double lng[],
double lat[],
511 const double lng[],
const double lat[],
512 double phi[],
double theta[],
double x[],
double y[],
517#define celini_errmsg cel_errmsg
518#define celprt_errmsg cel_errmsg
519#define celset_errmsg cel_errmsg
520#define celx2s_errmsg cel_errmsg
521#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.
int celenq(const struct celprm *cel, int enquiry)
enquire about the state of a celprm struct.
const char * cel_errmsg[]
Status return messages.
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 celsize(const struct celprm *cel, int sizes[2])
Compute the size of a celprm struct.
celenq_enum
Definition cel.h:435
@ CELENQ_SET
Definition cel.h:436
@ CELENQ_BYP
Definition cel.h:437
int celset(struct celprm *cel)
Setup routine for the celprm struct.
cel_errmsg_enum
Definition cel.h:442
@ CELERR_BAD_PARAM
Definition cel.h:445
@ CELERR_BAD_COORD_TRANS
Definition cel.h:446
@ CELERR_BAD_PIX
Definition cel.h:450
@ CELERR_SUCCESS
Definition cel.h:443
@ CELERR_NULL_POINTER
Definition cel.h:444
@ CELERR_BAD_WORLD
Definition cel.h:452
@ CELERR_ILL_COORD_TRANS
Definition cel.h:448
int celprt(const struct celprm *cel)
Print routine for the celprm struct.
Celestial transformation parameters.
Definition cel.h:456
double theta0
Definition cel.h:464
void * padding
Definition cel.h:484
int flag
Definition cel.h:459
double ref[4]
Definition cel.h:465
struct wcserr * err
Definition cel.h:479
int offset
Definition cel.h:463
int latpreq
Definition cel.h:474
int isolat
Definition cel.h:475
double phi0
Definition cel.h:464
struct prjprm prj
Definition cel.h:469
double euler[5]
Definition cel.h:473
Projection parameters.
Definition prj.h:730
Error message handling.
Definition wcserr.h:243