Statistics
| Revision:

svn-gvsig-desktop / tags / v1_1_2_Build_1045 / libraries / libjni-proj4 / src / PJ_gins8.c @ 38629

History | View | Annotate | Download (573 Bytes)

1
#ifndef lint
2
static const char SCCSID[]="@(#)PJ_gins8.c        4.1        94/02/15        GIE        REL";
3
#endif
4
#define PJ_LIB__
5
# include        <projects.h>
6
PROJ_HEAD(gins8, "Ginsburg VIII (TsNIIGAiK)") "\n\tPCyl, Sph., no inv.";
7
#define        Cl 0.000952426
8
#define        Cp 0.162388
9
#define        C12 0.08333333333333333
10
FORWARD(s_forward); /* spheroid */
11
        double t = lp.phi * lp.phi;
12

    
13
        xy.y = lp.phi * (1. + t * C12);
14
        xy.x = lp.lam * (1. - Cp * t);
15
        t = lp.lam * lp.lam;
16
        xy.x *= (0.87 - Cl * t * t);
17
        return (xy);
18
}
19
FREEUP; if (P) pj_dalloc(P); }
20
ENTRY0(gins8) P->es = 0.; P->inv = 0; P->fwd = s_forward; ENDENTRY(P)