IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1591


Ignore:
Timestamp:
Aug 18, 2004, 6:25:02 PM (22 years ago)
Author:
Paul Price
Message:

Updated from the SDRS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psPosition.h

    r1589 r1591  
    161161/* Positions of well-known objects */
    162162
     163/** These are not up to date: we don't need them immediately */
     164
    163165/** Get Sun Position */
    164166psSphere *
    165 psSunGetPos(psTime time)                ///< MJD to get position for
     167psSunGetPos(psTime *time)               ///< Time for which to get position
    166168;
    167169
     
    170172psSunGetRise(psTime *twi15,             ///< corresponding 15 deg twilight
    171173             psTime *twi18,             ///< corresponding 18 deg twilight
    172              psTime time)               ///< get rise closest to this time
     174             const psTime *time)        ///< get rise closest to this time
    173175;
    174176
     
    177179psSunGetSet(psTime *twi15,              ///< corresponding 15 deg twilight
    178180            psTime *twi18,              ///< corresponding 18 deg twilight
    179             psTime time)                ///< get set closest to this time
    180 ;
    181 
    182 /** Get Length of closest night */
     181            const psTime time)          ///< get set closest to this time
     182;
     183
     184/** Get Length of closest night in hours */
    183185float
    184 psNightLength(psTime time)              ///< MJD to get position for
     186psNightLength(const psTime *time)       ///< Time that specifies the night of interest
    185187;
    186188
    187189/** Get Moon Position */
    188190psSphere *
    189 psMoonGetPos(psTime time)               ///< MJD to get position for
    190 ;
    191 
    192 /** Get Moon Rise time */
    193 psSphere *
    194 psMoonGetRise(psTime time)              ///< get rise closest to this time
    195 ;
    196 
    197 /** Get Moon Set time */
    198 psSphere *
    199 psMoonGetSet(psTime time)               ///< get set closest to this time
     191psMoonGetPos(const psTime *time)        ///< Time for which to get position
     192;
     193
     194/** Get Moon Rise time and return position */
     195psSphere *
     196psMoonGetRise(psTime *time)             ///< get rise closest to this time
     197;
     198
     199/** Get Moon Set time and return position */
     200psSphere *
     201psMoonGetSet(psTime *time)              ///< get set closest to this time, and output
    200202;
    201203
    202204/** Get Moon phase */
    203205float
    204 psMoonGetPhase(psTime time)             ///< MJD to get phase for
     206psMoonGetPhase(const psTime *time)      ///< Get phase for this time
    205207;
    206208
     
    208210psSphere *
    209211psPlanetGetPos(const char *solarSystemObject, ///< Named S.S. object
    210                psTime time)             ///< MJD to get position for
     212               const psTime *time)      ///< Get position for this time
    211213;
    212214
Note: See TracChangeset for help on using the changeset viewer.