15 using namespace hippodraw;
24 const std::string projType(
"MER");
25 double crpix[] = {180, 0}, crval[] = {180,0}, cdelt[] = {1,1};
26 initwcs (projType, crpix, crval, cdelt, 0,
false);
32 const std::string projType(
"MER");
33 double crpix[] = {180, 0}, crval[] = {180,0}, cdelt[] = {1,1};
34 initwcs (projType, crpix, crval, cdelt, 0,
false);
void initwcs(const std::string &transformName, double *crpix, double *crval, double *cdelt, double crota2, bool galactic)
Initialize the WCS transform type.
A transform that transforms coordinates from one coordinate system to another.
UnaryTransform class interface.
virtual Mercator2 * clone() const
Creates a new Transform object by copying an existing one.
virtual double aspectRatio() const
Returns the aspect ratio.
A Periodic transform that transforms coordinates from one 2D coordinate system to another...
hippodraw::Mercator2 class interface
virtual ~Mercator2()
The virtual destructor.
Mercator2(UnaryTransform *z)
The constructor.
std::string m_name
Name of the Transform.
A transform that transforms coordinates in one dimension from one coordinate system to another...
A transform that performs the Mercator2 projection.