Commit 730d5e81d4b6f4b8ed6a2e328f9eb20a8e86c95f

Authored by knodlseder
1 parent 35e7be91

remane GSkyDir::rotate() to GSkyDir_rotate_deg()

include/GSkyDir.hpp
... ... @@ -24,16 +24,17 @@
24 24 #include <iostream>
25 25 #include "GLog.hpp"
26 26 #include "GVector.hpp"
  27 +#include "GMatrix.hpp"
27 28  
28 29  
29 30 /***********************************************************************//**
30 31 * @class GSkyDir
31 32 *
32   - * @brief GSkyDir class interface defintion
  33 + * @brief Sky direction class
33 34 *
34   - * The GSkyDir class implements a coordinate on the sphere. Two coordinate
  35 + * This class implements a spherical coordinate on the sky. Two coordinate
35 36 * systems are supported: celestial (or equatorial), defined by Right
36   - * Ascension and Declination, and galactic, defined by galactic longitude
  37 + * Ascension and Declination, and Galactic, defined by galactic longitude
37 38 * and galactic latitude. The class provides automatic conversion between
38 39 * both systems if required. Coordinates are stored in either of the
39 40 * systems (in units of radians), and conversion is performed (and stored)
... ... @@ -66,7 +67,7 @@ public:
66 67 void lb(const double& l, const double& b);
67 68 void lb_deg(const double& l, const double& b);
68 69 void celvector(const GVector& vector);
69   - void rotate(const double& phi, const double& theta);
  70 + void rotate_deg(const double& phi, const double& theta);
70 71 double l(void) const;
71 72 double l_deg(void) const;
72 73 double b(void) const;
... ...
pyext/GSkyDir.i
... ... @@ -42,7 +42,7 @@ public:
42 42 void lb(const double& l, const double& b);
43 43 void lb_deg(const double& l, const double& b);
44 44 void celvector(const GVector& vector);
45   - void rotate(const double& phi, const double& theta);
  45 + void rotate_deg(const double& phi, const double& theta);
46 46 double l(void) const;
47 47 double l_deg(void) const;
48 48 double b(void) const;
... ...