659 #define PRJX2S_ARGS struct prjprm *prj, int nx, int ny, int sxy, int spt, \ 
  660 const double x[], const double y[], double phi[], double theta[], int stat[] 
  663 #define PRJS2X_ARGS struct prjprm *prj, int nx, int ny, int sxy, int spt, \ 
  664 const double phi[], const double theta[], double x[], double y[], int stat[] 
  707 #define PRJLEN (sizeof(struct prjprm)/sizeof(int)) 
  715 int prjbchk(
double tol, 
int nx, 
int ny, 
int spt, 
double phi[], 
double theta[],
 
  836 #define prjini_errmsg prj_errmsg 
  837 #define prjprt_errmsg prj_errmsg 
  838 #define prjset_errmsg prj_errmsg 
  839 #define prjx2s_errmsg prj_errmsg 
  840 #define prjs2x_errmsg prj_errmsg 
int sinx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the orthographic/synthesis (SIN) projection. 
int cars2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the plate carrée (CAR) projection. 
int molset(struct prjprm *prj)
Set up a prjprm struct for Mollweide's (MOL) projection. 
int stgset(struct prjprm *prj)
Set up a prjprm struct for the stereographic (STG) projection. 
int tanset(struct prjprm *prj)
Set up a prjprm struct for the gnomonic (TAN) projection. 
int prjprt(const struct prjprm *prj)
Print routine for the prjprm struct. 
const int CONVENTIONAL
Identifier for conventional projections. 
int arcx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the zenithal/azimuthal equidistant (ARC) projection...
int arcset(struct prjprm *prj)
Set up a prjprm struct for the zenithal/azimuthal equidistant (ARC) projection. 
int bonx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for Bonne's (BON) projection. 
int simplezen
Definition: prj.h:685
int coeset(struct prjprm *prj)
Set up a prjprm struct for the conic equal area (COE) projection. 
Error message handling. 
Definition: wcserr.h:225
int equiareal
Definition: prj.h:686
int sflset(struct prjprm *prj)
Set up a prjprm struct for the Sanson-Flamsteed (SFL) projection. 
int bons2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for Bonne's (BON) projection. 
int m
Definition: prj.h:700
const char prj_categories[9][32]
Projection categories. 
int copset(struct prjprm *prj)
Set up a prjprm struct for the conic perspective (COP) projection. 
int tanx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the gnomonic (TAN) projection. 
int airx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for Airy's (AIR) projection. 
prj_errmsg_enum
Definition: prj.h:633
int stgx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the stereographic (STG) projection. 
const char prj_codes[28][4]
Recognized three-letter projection codes. 
int szpset(struct prjprm *prj)
Set up a prjprm struct for the slant zenithal perspective (SZP) projection. 
int aits2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the Hammer-Aitoff (AIT) projection. 
int cooset(struct prjprm *prj)
Set up a prjprm struct for the conic orthomorphic (COO) projection. 
int zpns2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the zenithal/azimuthal polynomial (ZPN) projection...
int merx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for Mercator's (MER) projection. 
int merset(struct prjprm *prj)
Set up a prjprm struct for Mercator's (MER) projection. 
int parx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the parabolic (PAR) projection. 
int coes2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the conic equal area (COE) projection. 
int carx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the plate carrée (CAR) projection. 
void * padding
Definition: prj.h:698
double pv[PVN]
Definition: prj.h:676
int(* prjs2x)(PRJS2X_ARGS)
Definition: prj.h:703
int cypx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the cylindrical perspective (CYP) projection. 
int cscset(struct prjprm *prj)
Set up a prjprm struct for the COBE spherical cube (CSC) projection. 
int category
Definition: prj.h:683
int aitset(struct prjprm *prj)
Set up a prjprm struct for the Hammer-Aitoff (AIT) projection. 
const int CYLINDRICAL
Identifier for cylindrical projections. 
int cops2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the conic perspective (COP) projection. ...
int pcox2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the polyconic (PCO) projection. 
int prjfree(struct prjprm *prj)
Destructor for the prjprm struct. 
int carset(struct prjprm *prj)
Set up a prjprm struct for the plate carrée (CAR) projection. 
int tscset(struct prjprm *prj)
Set up a prjprm struct for the tangential spherical cube (TSC) projection. 
int prjs2x(PRJS2X_ARGS)
Generic spherical-to-Cartesian projection. 
int cscx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the COBE spherical cube (CSC) projection. 
int airset(struct prjprm *prj)
Set up a prjprm struct for Airy's (AIR) projection. 
int cscs2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the COBE spherical cube (CSC) projection. 
Projection parameters. 
Definition: prj.h:667
int pcos2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the polyconic (PCO) projection. 
int szps2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the slant zenithal perspective (SZP) projection. 
int zeax2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the zenithal/azimuthal equal area (ZEA) projection...
int qscx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the quadrilateralized spherical cube (QSC) projection...
double phi0
Definition: prj.h:677
double r0
Definition: prj.h:675
const int POLYCONIC
Identifier for polyconic projections. 
int qscset(struct prjprm *prj)
Set up a prjprm struct for the quadrilateralized spherical cube (QSC) projection. ...
int prjbchk(double tol, int nx, int ny, int spt, double phi[], double theta[], int stat[])
Bounds checking on native coordinates. 
int zeaset(struct prjprm *prj)
Set up a prjprm struct for the zenithal/azimuthal equal area (ZEA) projection. 
int sinset(struct prjprm *prj)
Set up a prjprm struct for the orthographic/synthesis (SIN) projection. 
char code[4]
Definition: prj.h:674
int(* prjx2s)(PRJX2S_ARGS)
Definition: prj.h:702
#define PRJS2X_ARGS
For use in declaring projection function prototypes. 
Definition: prj.h:663
int hpxset(struct prjprm *prj)
Set up a prjprm struct for the HEALPix (HPX) projection. 
const int QUADCUBE
Identifier for quadcube projections. 
int sflx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the Sanson-Flamsteed (SFL) projection. 
const char * prj_errmsg[]
Status return messages. 
const int prj_ncode
The number of recognized three-letter projection codes. 
int zeas2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the zenithal/azimuthal equal area (ZEA) projection...
int airs2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for Airy's (AIR) projection. 
int tscx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the tangential spherical cube (TSC) projection. 
char name[40]
Definition: prj.h:682
int copx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the conic perspective (COP) projection. ...
double x0
Definition: prj.h:690
int cods2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the conic equidistant (COD) projection. ...
int prjset(struct prjprm *prj)
Generic setup routine for the prjprm struct. 
int conformal
Definition: prj.h:687
int prjperr(const struct prjprm *prj, const char *prefix)
Print error messages from a prjprm struct. 
int pvrange
Definition: prj.h:684
int sins2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the orthographic/synthesis (SIN) projection. 
const int CONIC
Identifier for conic projections. 
int cyps2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the cylindrical perspective (CYP) projection. 
int arcs2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the zenithal/azimuthal equidistant (ARC) projection...
double w[10]
Definition: prj.h:699
int n
Definition: prj.h:700
const int HEALPIX
Identifier for the HEALPix projection. 
int mers2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for Mercator's (MER) projection. 
int codset(struct prjprm *prj)
Set up a prjprm struct for the conic equidistant (COD) projection. 
int tscs2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the tangential spherical cube (TSC) projection. 
const int ZENITHAL
Identifier for zenithal/azimuthal projections. 
int coox2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the conic orthomorphic (COO) projection. 
int qscs2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the quadrilateralized spherical cube (QSC) projection...
int hpxx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the HEALPix (HPX) projection. 
int bonset(struct prjprm *prj)
Set up a prjprm struct for Bonne's (BON) projection. 
int coex2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the conic equal area (COE) projection. 
int xphset(struct prjprm *prj)
const int PSEUDOCYLINDRICAL
Identifier for pseudocylindrical projections. 
int szpx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the slant zenithal perspective (SZP) projection. 
#define PVN
Total number of projection parameters. 
Definition: prj.h:629
int ceas2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the cylindrical equal area (CEA) projection. 
double y0
Definition: prj.h:690
int coos2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the conic orthomorphic (COO) projection. 
int aitx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the Hammer-Aitoff (AIT) projection. 
int zpnset(struct prjprm *prj)
Set up a prjprm struct for the zenithal/azimuthal polynomial (ZPN) projection. 
int sfls2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the Sanson-Flamsteed (SFL) projection. 
int mols2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for Mollweide's (MOL) projection. 
int global
Definition: prj.h:688
int pcoset(struct prjprm *prj)
Set up a prjprm struct for the polyconic (PCO) projection. 
int ceaset(struct prjprm *prj)
Set up a prjprm struct for the cylindrical equal area (CEA) projection. 
int prjini(struct prjprm *prj)
Default constructor for the prjprm struct. 
int bounds
Definition: prj.h:678
struct wcserr * err
Definition: prj.h:694
int tans2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the gnomonic (TAN) projection. 
int azpset(struct prjprm *prj)
Set up a prjprm struct for the zenithal/azimuthal perspective (AZP) projection. 
int flag
Definition: prj.h:670
int parset(struct prjprm *prj)
Set up a prjprm struct for the parabolic (PAR) projection. 
int azps2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the zenithal/azimuthal perspective (AZP) projection...
int stgs2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the stereographic (STG) projection. 
int ceax2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the cylindrical equal area (CEA) projection. 
int hpxs2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the HEALPix (HPX) projection. 
int zpnx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the zenithal/azimuthal polynomial (ZPN) projection...
int azpx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the zenithal/azimuthal perspective (AZP) projection...
int prjx2s(PRJX2S_ARGS)
Generic Cartesian-to-spherical deprojection. 
int molx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for Mollweide's (MOL) projection. 
#define PRJX2S_ARGS
For use in declaring deprojection function prototypes. 
Definition: prj.h:659
double theta0
Definition: prj.h:677
int divergent
Definition: prj.h:689
int pars2x(PRJS2X_ARGS)
Spherical-to-Cartesian transformation for the parabolic (PAR) projection. 
int cypset(struct prjprm *prj)
Set up a prjprm struct for the cylindrical perspective (CYP) projection. 
int codx2s(PRJX2S_ARGS)
Cartesian-to-spherical transformation for the conic equidistant (COD) projection. ...