Ignore:
Timestamp:
Dec 3, 2004, 11:39:58 AM (21 years ago)
Author:
cmv
Message:

mise a jour version xephem 3.6.2 cmv 3/12/04

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/XephemAstroLib/circum.c

    r2551 r2641  
    808808        elongation(lpd, psi, lsn-PI, &el);
    809809        el = fabs(el);
    810         /* only continue if object is within about 10 deg around the sun
    811          * and not obscured by the sun's disc (radius 0.25 deg)
     810        /* only continue if object is within about 10 deg around the sun,
     811         * not obscured by the sun's disc (radius 0.25 deg) and farther away
     812         * than the sun.
    812813         *
    813814         * precise geocentric deflection is:  g1 * tan(el/2)
     
    818819         *              g2 varies from 0 (highest contribution) to 2
    819820         */
    820         if (el<degrad(170) || el>degrad(179.75)) return;
     821        if (el<degrad(170) || el>degrad(179.75) || rho<rsn) return;
    821822
    822823        /* get cartesian vectors */
     
    860861
    861862/* For RCS Only -- Do Not Edit */
    862 static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: circum.c,v $ $Date: 2004-06-15 16:52:37 $ $Revision: 1.3 $ $Name: not supported by cvs2svn $"};
     863static char *rcsid[2] = {(char *)rcsid, "@(#) $RCSfile: circum.c,v $ $Date: 2004-12-03 10:39:58 $ $Revision: 1.4 $ $Name: not supported by cvs2svn $"};
Note: See TracChangeset for help on using the changeset viewer.