454#define CELLEN (sizeof(struct celprm)/sizeof(int))
470 const double x[],
const double y[],
471 double phi[],
double theta[],
double lng[],
double lat[],
475 const double lng[],
const double lat[],
476 double phi[],
double theta[],
double x[],
double y[],
481#define celini_errmsg cel_errmsg
482#define celprt_errmsg cel_errmsg
483#define celset_errmsg cel_errmsg
484#define celx2s_errmsg cel_errmsg
485#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 celsize(const struct celprm *cel, int sizes[2])
Compute the size of a celprm struct.
int celset(struct celprm *cel)
Setup routine for the celprm struct.
cel_errmsg_enum
Definition cel.h:409
@ CELERR_BAD_PARAM
Definition cel.h:412
@ CELERR_BAD_COORD_TRANS
Definition cel.h:413
@ CELERR_BAD_PIX
Definition cel.h:417
@ CELERR_SUCCESS
Definition cel.h:410
@ CELERR_NULL_POINTER
Definition cel.h:411
@ CELERR_BAD_WORLD
Definition cel.h:419
@ CELERR_ILL_COORD_TRANS
Definition cel.h:415
int celprt(const struct celprm *cel)
Print routine for the celprm struct.
Celestial transformation parameters.
Definition cel.h:423
double theta0
Definition cel.h:431
struct wcserr * err
Definition cel.h:446
double ref[4]
Definition cel.h:432
int flag
Definition cel.h:426
int offset
Definition cel.h:430
int latpreq
Definition cel.h:441
int isolat
Definition cel.h:442
double euler[5]
Definition cel.h:440
double phi0
Definition cel.h:431
struct prjprm prj
Definition cel.h:436
void * padding
Definition cel.h:450
Projection parameters.
Definition prj.h:698
Error message handling.
Definition wcserr.h:243