diff options
| author | Frank Warmerdam <warmerdam@pobox.com> | 2002-12-14 19:32:27 +0000 |
|---|---|---|
| committer | Frank Warmerdam <warmerdam@pobox.com> | 2002-12-14 19:32:27 +0000 |
| commit | 861c81759a1114ec6439320ece73672bbce15645 (patch) | |
| tree | 434f5180d3a744cc61245116604ea3c4e0d34a66 /src | |
| parent | 5272fd7c83ca75bc69663826e1c5cc3bb6fb0882 (diff) | |
| download | PROJ-861c81759a1114ec6439320ece73672bbce15645.tar.gz PROJ-861c81759a1114ec6439320ece73672bbce15645.zip | |
updated header
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1048 4e78687f-474d-0410-85f9-8d5e500ac6b2
Diffstat (limited to 'src')
| -rw-r--r-- | src/PJ_aea.c | 49 | ||||
| -rw-r--r-- | src/PJ_aeqd.c | 47 | ||||
| -rw-r--r-- | src/PJ_airy.c | 44 | ||||
| -rw-r--r-- | src/PJ_aitoff.c | 45 |
4 files changed, 166 insertions, 19 deletions
diff --git a/src/PJ_aea.c b/src/PJ_aea.c index 447d9755..c9fa305b 100644 --- a/src/PJ_aea.c +++ b/src/PJ_aea.c @@ -1,8 +1,38 @@ -#ifndef lint -static const char SCCSID[]="@(#)PJ_aea.c 4.2 94/03/18 GIE REL"; -#endif -# define EPS10 1.e-10 -# define TOL7 1.e-7 +/****************************************************************************** + * $Id$ + * + * Project: PROJ.4 + * Purpose: Implementation of the aea (Albers Equal Area) projection. + * Author: Gerald Evenden + * + ****************************************************************************** + * Copyright (c) 1995, Gerald Evenden + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + ****************************************************************************** + * + * $Log$ + * Revision 1.3 2002/12/14 19:27:06 warmerda + * updated header + * + */ + #define PROJ_PARMS__ \ double ec; \ double n; \ @@ -15,8 +45,15 @@ static const char SCCSID[]="@(#)PJ_aea.c 4.2 94/03/18 GIE REL"; double phi2; \ double *en; \ int ellips; + #define PJ_LIB__ -# include <projects.h> +#include <projects.h> + +PJ_CVSID("$Id$"); + +# define EPS10 1.e-10 +# define TOL7 1.e-7 + PROJ_HEAD(aea, "Albers Equal Area") "\n\tConic Sph&Ell\n\tlat_1= lat_2="; PROJ_HEAD(leac, "Lambert Equal Area Conic") diff --git a/src/PJ_aeqd.c b/src/PJ_aeqd.c index 388ff92f..285ee8ae 100644 --- a/src/PJ_aeqd.c +++ b/src/PJ_aeqd.c @@ -1,8 +1,38 @@ -#ifndef lint -static const char SCCSID[]="@(#)PJ_aeqd.c 4.3 94/11/03 GIE REL"; -#endif -#define EPS10 1.e-10 -#define TOL 1.e-14 +/****************************************************************************** + * $Id$ + * + * Project: PROJ.4 + * Purpose: Implementation of the aeqd (Azimuthal Equidistant) projection. + * Author: Gerald Evenden + * + ****************************************************************************** + * Copyright (c) 1995, Gerald Evenden + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + ****************************************************************************** + * + * $Log$ + * Revision 1.3 2002/12/14 19:27:06 warmerda + * updated header + * + */ + #define PROJ_PARMS__ \ double sinph0; \ double cosph0; \ @@ -15,7 +45,14 @@ static const char SCCSID[]="@(#)PJ_aeqd.c 4.3 94/11/03 GIE REL"; int mode; #define PJ_LIB__ #include <projects.h> + +PJ_CVSID("$Id$"); + PROJ_HEAD(aeqd, "Azimuthal Equidistant") "\n\tAzi, Sph&Ell\n\tlat_0 guam"; + +#define EPS10 1.e-10 +#define TOL 1.e-14 + #define N_POLE 0 #define S_POLE 1 #define EQUIT 2 diff --git a/src/PJ_airy.c b/src/PJ_airy.c index 52bce088..5326eae8 100644 --- a/src/PJ_airy.c +++ b/src/PJ_airy.c @@ -1,6 +1,38 @@ -#ifndef lint -static const char SCCSID[]="@(#)PJ_airy.c 4.1 94/02/15 GIE REL"; -#endif +/****************************************************************************** + * $Id$ + * + * Project: PROJ.4 + * Purpose: Implementation of the airy (Airy) projection. + * Author: Gerald Evenden + * + ****************************************************************************** + * Copyright (c) 1995, Gerald Evenden + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + ****************************************************************************** + * + * $Log$ + * Revision 1.2 2002/12/14 19:30:40 warmerda + * updated header + * + */ + #define PROJ_PARMS__ \ double p_halfpi; \ double sinph0; \ @@ -9,8 +41,12 @@ static const char SCCSID[]="@(#)PJ_airy.c 4.1 94/02/15 GIE REL"; int mode; \ int no_cut; /* do not cut at hemisphere limit */ #define PJ_LIB__ -#include <projects.h> +#include <projects.h> + +PJ_CVSID("$Id$"); + PROJ_HEAD(airy, "Airy") "\n\tMisc Sph, no inv.\n\tno_cut lat_b="; + # define EPS 1.e-10 # define N_POLE 0 # define S_POLE 1 diff --git a/src/PJ_aitoff.c b/src/PJ_aitoff.c index c2048a02..ee5fbdc6 100644 --- a/src/PJ_aitoff.c +++ b/src/PJ_aitoff.c @@ -1,13 +1,50 @@ -#ifndef lint -static const char SCCSID[]="@(#)PJ_aitoff.c 4.1 94/02/15 GIE REL"; -#endif +/****************************************************************************** + * $Id$ + * + * Project: PROJ.4 + * Purpose: Implementation of the aitoff (Aitoff) and wintri (Winkel Tripel) + * projections. + * Author: Gerald Evenden + * + ****************************************************************************** + * Copyright (c) 1995, Gerald Evenden + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + * DEALINGS IN THE SOFTWARE. + ****************************************************************************** + * + * $Log$ + * Revision 1.3 2002/12/14 19:32:27 warmerda + * updated header + * + */ + #define PROJ_PARMS__ \ double cosphi1; \ int mode; #define PJ_LIB__ -#include <projects.h> +#include <projects.h> + +PJ_CVSID("$Id$"); + PROJ_HEAD(aitoff, "Aitoff") "\n\tMisc Sph"; PROJ_HEAD(wintri, "Winkel Tripel") "\n\tMisc Sph\n\tlat_1"; + FORWARD(s_forward); /* spheroid */ double c, d; |
