ARC2.cxx
Go to the documentation of this file.
1 
12 #include "ARC2.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 = "ARC2";
24  const std::string projType("ARC");
25  double crpix[] = {180, 90}, crval[] = {180,90}, cdelt[] = {1,1};
26  initwcs (projType, crpix, crval, cdelt, 0, false);
27 }
28 
29 ARC2::ARC2 ( const ARC2 & t )
31 {
32  const std::string projType("ARC");
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 * ARC2::clone () const
43 #else
44 ARC2 * ARC2::clone () const
45 #endif
46 {
47  return new ARC2 ( *this );
48 }
49 
50 
51 
52 /* virtual */
53 double ARC2::aspectRatio () const
54 {
55  return 1.0;
56 }
57 
58 
59 

Generated for HippoDraw Class Library by doxygen