Changeset 15254 for trunk/Mars/mcore


Ignore:
Timestamp:
04/04/13 14:22:18 (12 years ago)
Author:
tbretz
Message:
Added ln_get_solar_equ_coords and ln_get_lunar_sdiam
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcore/nova.h

    r15207 r15254  
    4141    const LnLatPosn &ORM()
    4242    {
     43        //static LnLatPosn obs;
     44        //obs.lng = -(17.+53./60+26.525/3600);
     45        //obs.lat =   28.+45./60+42.462/3600;
    4346        const static LnLatPosn obs = { -(17.+53./60+26.525/3600), 28.+45./60+42.462/3600 };
    4447        return obs;
     
    8487        return rst;
    8588    }
     89    EquPosn GetSolarEquCoords(double jd)
     90    {
     91        EquPosn equ;
     92        ln_get_solar_equ_coords(jd, &equ);
     93        return equ;
     94    }
    8695
    8796    double GetLunarDisk(double jd)
    8897    {
    8998        return ln_get_lunar_disk(jd);
     99    }
     100
     101    double GetLunarSdiam(double jd)
     102    {
     103        return ln_get_lunar_sdiam(jd);
    90104    }
    91105
Note: See TracChangeset for help on using the changeset viewer.