Annotation of researchv10no/cmd/map/libmap/laue.c, revision 1.1

1.1     ! root        1: #include "map.h"
        !             2: 
        !             3: 
        !             4: static int
        !             5: Xlaue(struct place *place, double *x, double *y)
        !             6: {
        !             7:        double r;
        !             8:        if(place->nlat.l<PI/4+FUZZ)
        !             9:                return(-1);
        !            10:        r = tan(PI-2*place->nlat.l);
        !            11:        if(r>3)
        !            12:                return(-1);
        !            13:        *x = - r * place->wlon.s;
        !            14:        *y = - r * place->wlon.c;
        !            15:        return(1);
        !            16: }
        !            17: 
        !            18: proj
        !            19: laue(void)
        !            20: {
        !            21:        return(Xlaue);
        !            22: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.