|
|
1.1 ! root 1: #include "map.h" ! 2: ! 3: static double a; ! 4: ! 5: static int ! 6: Xcylequalarea(struct place *place, double *x, double *y) ! 7: { ! 8: *x = - place->wlon.l * a; ! 9: *y = place->nlat.s; ! 10: return(1); ! 11: } ! 12: ! 13: proj ! 14: cylequalarea(double par) ! 15: { ! 16: struct coord stdp0; ! 17: if(par > 89.0) ! 18: return(0); ! 19: deg2rad(par, &stdp0); ! 20: a = stdp0.c*stdp0.c; ! 21: return(Xcylequalarea); ! 22: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.