SIN2.cxx
Go to the documentation of this file.
1 
12 #include "SIN2.h"
13 #include "UnaryTransform.h"
14 
15 using namespace hippodraw;
16 
17 
19  : PeriodicBinaryTransform ( z, true, true, false, true,
20  0.0, +360.0,
21  - 90.0, + 90.0 )
22 {
23  m_name = "SIN2";
24  const std::string projType("SIN");
25  double crpix[] = {180, 90}, crval[] = {180,90}, cdelt[] = {1,1};
26  initwcs (projType, crpix, crval, cdelt, 0, false);
27 }
28 
29 SIN2::SIN2 ( const SIN2 & t )
31 {
32  const std::string projType("SIN");
33  double crpix[] = {180, 90}, crval[] = {180,90}, cdelt[] = {1,1};
34  initwcs (projType, crpix, crval, cdelt, 0, false);
35 }
36 
38 {
39 }
40 
41 #ifdef CLONE_DEFECT
42 TransformBase * SIN2::clone () const
43 #else
44 SIN2 * SIN2::clone () const
45 #endif
46 {
47  return new SIN2 ( *this );
48 }
49 
50 
51 
52 /* virtual */
53 double SIN2::aspectRatio () const
54 {
55  return 1.0;
56 }
57 
58 
59 

Generated for HippoDraw Class Library by doxygen