48 GWcsCAR(
const std::string& coords,
49 const double& crval1,
const double& crval2,
50 const double& crpix1,
const double& crpix2,
51 const double& cdelt1,
const double& cdelt2);
59 virtual void clear(
void);
61 virtual std::string
classname(
void)
const;
62 virtual std::string
code(
void)
const;
63 virtual std::string
name(
void)
const;
72 void prj_x2s(
int nx,
int ny,
int sxy,
int spt,
73 const double* x,
const double* y,
74 double* phi,
double* theta,
int* stat)
const;
75 void prj_s2x(
int nphi,
int ntheta,
int spt,
int sxy,
76 const double* phi,
const double* theta,
77 double* x,
double* y,
int* stat)
const;
117 return "plate carree";
void copy_members(const GWcsCAR &wcs)
Copy class members.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print WCS information.
virtual GWcsCAR * clone(void) const
Clone instance.
virtual std::string name(void) const
Return projection name.
virtual std::string classname(void) const
Return class name.
virtual ~GWcsCAR(void)
Destructor.
void init_members(void)
Initialise class members.
virtual void clear(void)
Clear instance.
virtual std::string code(void) const
Return projection code.
void prj_set(void) const
Setup of projection.
void prj_s2x(int nphi, int ntheta, int spt, int sxy, const double *phi, const double *theta, double *x, double *y, int *stat) const
Generic spherical-to-Cartesian projection.
Plate carree (CAR) projection class definition.
void prj_x2s(int nx, int ny, int sxy, int spt, const double *x, const double *y, double *phi, double *theta, int *stat) const
Cartesian-to-spherical deprojection.
Abstract world coordinate system base class.
GWcsCAR & operator=(const GWcsCAR &wcs)
Assignment operator.
GWcsCAR(void)
Void constructor.
void free_members(void)
Delete class members.
Abstract world coordinate system base class definition.