48 GWcsSTG(
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 "stereographic";
virtual std::string code(void) const
Return projection code.
void prj_x2s(int nx, int ny, int sxy, int spt, const double *x, const double *y, double *phi, double *theta, int *stat) const
Pixel-to-spherical deprojection.
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-pixel projection.
virtual std::string name(void) const
Return projection name.
void init_members(void)
Initialise class members.
void prj_set(void) const
Setup of projection.
GWcsSTG(void)
Void constructor.
virtual std::string classname(void) const
Return class name.
virtual std::string print(const GChatter &chatter=NORMAL) const
Print projection information.
virtual ~GWcsSTG(void)
Destructor.
Abstract world coordinate system base class.
virtual void clear(void)
Clear projection.
GWcsSTG & operator=(const GWcsSTG &wcs)
Assignment operator.
void free_members(void)
Delete class members.
virtual GWcsSTG * clone(void) const
Clone projection.
Stereographic (STG) projection class definition.
Abstract world coordinate system base class definition.
void copy_members(const GWcsSTG &wcs)
Copy class members.