~ubuntu-branches/ubuntu/wily/proj/wily

« back to all changes in this revision

Viewing changes to src/proj_rouss.c

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine, Jerome Villeneuve Larouche, Francesco Paolo Lovergine
  • Date: 2013-11-25 15:11:25 UTC
  • mfrom: (1.2.7)
  • Revision ID: package-import@ubuntu.com-20131125151125-mvcw144wvgep1hev
Tags: 4.8.0-1
[ Jerome Villeneuve Larouche ]
* New upstream release
* Modified libproj-dev.install to remove nad_list.h and projects.h
* Modified proj-bin.install to remove nad2nad
* Modified proj-bin.manpages to remove nad2nad man
* Added symbols for libproj0

[ Francesco Paolo Lovergine ]
* Properly merged with current git master and sid version 4.7.0-2.
* Removed proj transitional package and obsolete conflicts/replaces against
  series 4.6 and older.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
** Copyright (c) 2003, 2006   Gerald I. Evenden
5
5
*/
6
6
static const char
7
 
LIBPROJ_ID[] = "$Id: proj_rouss.c 1504 2009-01-06 02:11:57Z warmerdam $";
 
7
LIBPROJ_ID[] = "$Id: proj_rouss.c 1856 2010-06-11 03:26:04Z warmerdam $";
8
8
/*
9
9
** Permission is hereby granted, free of charge, to any person obtaining
10
10
** a copy of this software and associated documentation files (the
61
61
        s = P->s0 + y*(1.+y2*(-P->D2+P->D8*y2))+
62
62
                x2*(-P->D1+y*(-P->D3+y*(-P->D5+y*(-P->D7+y*P->D11)))+
63
63
                x2*(P->D4+y*(P->D6+y*P->D10)-x2*P->D9));
64
 
        lp.phi=proj_inv_mdist(s, P->en);
 
64
        lp.phi=proj_inv_mdist(P->ctx, s, P->en);
65
65
        s = sin(lp.phi);
66
66
        lp.lam=al * sqrt(1. - P->es * s * s)/cos(lp.phi);
67
67
        return (lp);