Changeset 1720 in Sophya for trunk/SophyaExt


Ignore:
Timestamp:
Oct 23, 2001, 12:28:24 PM (24 years ago)
Author:
cmv
Message:

PrecessInPlace cmv 23/10/2001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/XAstroPack/xastropack.h

    r1682 r1720  
    114114// ------------------- Calculs Divers -------------------
    115115void Precess(double mjd1,double mjd2,double ra1,double dec1,double *ra2,double *dec2);
     116inline void PrecessInPlace(double mjd1,double mjd2,double* ra,double* dec) {
     117  double ra1=*ra, dec1=*dec;
     118  Precess(mjd1,mjd2,ra1,dec1,ra,dec);
     119}
    116120double AirmassfrAlt(double alt);
    117121double HelioCorr(double jd,double ra,double dec);
     
    119123// ------------------- Transformation de coordonnees -------------------
    120124/*! \ingroup XAstroPack
    121 \brief Give the hour angle from local sideral time and right ascencion
     125\brief Give the hour angle from local sideral time and right ascension
    122126\warning right ascencion should be first precessed to date of interest
    123127\warning no nutation or obliquity correction are done.
Note: See TracChangeset for help on using the changeset viewer.