diff options
Diffstat (limited to 'src/PJ_aea.c')
| -rw-r--r-- | src/PJ_aea.c | 49 |
1 files changed, 43 insertions, 6 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") |
