[wcslib] 01/02: Revert "Revert "New upstream version 4.21""

Ole Streicher olebole-guest at moszumanska.debian.org
Sun Apr 13 09:58:32 UTC 2014


This is an automated email from the git hooks/post-receive script.

olebole-guest pushed a commit to branch debian-contrib
in repository wcslib.

commit b8732311d82c66bb10ae53d315ae2419b9c96ab3
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Sun Apr 13 11:38:14 2014 +0200

    Revert "Revert "New upstream version 4.21""
    
    This reverts commit e972477fa791348f6d694424449137020c56842f.
---
 C/GNUmakefile                                  |    4 +-
 C/cel.c                                        |    6 +-
 C/cel.h                                        |    8 +-
 C/fitshdr.h                                    |    6 +-
 C/fitshdr.l                                    |    6 +-
 C/flexed/fitshdr.c                             |    6 +-
 C/flexed/wcsbth.c                              |    6 +-
 C/flexed/wcspih.c                              |    6 +-
 C/flexed/wcsulex.c                             |    6 +-
 C/flexed/wcsutrn.c                             |    6 +-
 C/getwcstab.c                                  |    6 +-
 C/getwcstab.h                                  |    6 +-
 C/lin.c                                        |    6 +-
 C/lin.h                                        |    8 +-
 C/log.c                                        |    6 +-
 C/log.h                                        |    8 +-
 C/makedefs.in                                  |  240 ---
 C/prj.c                                        |  301 +++-
 C/prj.h                                        |   86 +-
 C/spc.c                                        |    6 +-
 C/spc.h                                        |    8 +-
 C/sph.c                                        |    6 +-
 C/sph.h                                        |    8 +-
 C/spx.c                                        |    6 +-
 C/spx.h                                        |    8 +-
 C/tab.c                                        |    6 +-
 C/tab.h                                        |    8 +-
 C/test/bth.keyrec                              |    6 +-
 C/test/pih.keyrec                              |    6 +-
 C/test/tbth1.c                                 |    6 +-
 C/test/tbth1.out                               |   10 +-
 C/test/tcel1.c                                 |    6 +-
 C/test/tcel2.c                                 |    6 +-
 C/test/tfitshdr.c                              |    6 +-
 C/test/tlin.c                                  |    6 +-
 C/test/tlog.c                                  |    6 +-
 C/test/tofits.c                                |    6 +-
 C/test/tpih1.c                                 |    6 +-
 C/test/tpih1.out                               |    6 +-
 C/test/tpih2.c                                 |    6 +-
 C/test/tprj1.c                                 |   88 +-
 C/test/tprj2.c                                 |    6 +-
 C/test/tspc.c                                  |    6 +-
 C/test/tspcaips.c                              |    6 +-
 C/test/tspcspxe.c                              |    6 +-
 C/test/tspctrne.c                              |    6 +-
 C/test/tsph.c                                  |    6 +-
 C/test/tsphdpa.c                               |    6 +-
 C/test/tspx.c                                  |    6 +-
 C/test/ttab1.c                                 |    6 +-
 C/test/ttab2.c                                 |    6 +-
 C/test/ttab3.c                                 |   32 +-
 C/test/tunits.c                                |    6 +-
 C/test/twcs.c                                  |    6 +-
 C/test/twcs_locale.c                           |    6 +-
 C/test/twcsfix.c                               |    6 +-
 C/test/twcsfix.out                             |    4 +-
 C/test/twcshdr.c                               |    6 +-
 C/test/twcsmix.c                               |    6 +-
 C/test/twcssub.c                               |    6 +-
 C/test/twcssub.out                             |    4 +-
 C/test/twcstab.c                               |    6 +-
 C/test/twcstab.out                             |    2 +-
 C/test/wcstab.keyrec                           |    6 +-
 C/test/xmmlss.hdr                              |    1 -
 C/wcs.c                                        |    6 +-
 C/wcs.h                                        |   34 +-
 C/wcsbth.l                                     |    6 +-
 C/wcserr.c                                     |    6 +-
 C/wcserr.h                                     |    6 +-
 C/wcsfix.c                                     |    6 +-
 C/wcsfix.h                                     |    8 +-
 C/wcshdr.c                                     |    6 +-
 C/wcshdr.h                                     |    8 +-
 C/wcslib.h                                     |    8 +-
 C/wcsmath.h                                    |    6 +-
 C/wcspih.l                                     |    6 +-
 C/wcsprintf.c                                  |    6 +-
 C/wcsprintf.h                                  |    8 +-
 C/wcstrig.c                                    |    6 +-
 C/wcstrig.h                                    |    6 +-
 C/wcsulex.l                                    |    6 +-
 C/wcsunits.c                                   |    6 +-
 C/wcsunits.h                                   |    8 +-
 C/wcsutil.c                                    |    6 +-
 C/wcsutil.h                                    |    6 +-
 C/wcsutrn.l                                    |    6 +-
 CHANGES                                        |   29 +-
 Fortran/GNUmakefile                            |    6 +-
 Fortran/cel.inc                                |    6 +-
 Fortran/cel_data.f                             |    6 +-
 Fortran/cel_f.c                                |    6 +-
 Fortran/fitshdr.inc                            |    6 +-
 Fortran/fitshdr_data.f                         |    6 +-
 Fortran/fitshdr_f.c                            |    6 +-
 Fortran/getwcstab.inc                          |    6 +-
 Fortran/getwcstab_f.c                          |    6 +-
 Fortran/lin.inc                                |    6 +-
 Fortran/lin_data.f                             |    6 +-
 Fortran/lin_f.c                                |    6 +-
 Fortran/log.inc                                |    6 +-
 Fortran/log_data.f                             |    6 +-
 Fortran/log_f.c                                |    6 +-
 Fortran/prj.inc                                |   71 +-
 Fortran/prj_data.f                             |    6 +-
 Fortran/prj_f.c                                |   22 +-
 Fortran/spc.inc                                |    6 +-
 Fortran/spc_data.f                             |    6 +-
 Fortran/spc_f.c                                |    6 +-
 Fortran/sph.inc                                |    6 +-
 Fortran/sph_f.c                                |    6 +-
 Fortran/spx.inc                                |    6 +-
 Fortran/spx_data.f                             |    6 +-
 Fortran/spx_f.c                                |    6 +-
 Fortran/tab.inc                                |    6 +-
 Fortran/tab_data.f                             |    6 +-
 Fortran/tab_f.c                                |    6 +-
 Fortran/test/tcel1.f                           |    6 +-
 Fortran/test/tfitshdr.f                        |    6 +-
 Fortran/test/tlin.f                            |    6 +-
 Fortran/test/tlog.f                            |    6 +-
 Fortran/test/tpih1.f                           |    6 +-
 Fortran/test/tpih1.out                         |    6 +-
 Fortran/test/tpih2.f                           |    6 +-
 Fortran/test/tprj1.f                           |  134 +-
 Fortran/test/tprj2.f                           |    6 +-
 Fortran/test/tspc.f                            |    6 +-
 Fortran/test/tsph.f                            |    6 +-
 Fortran/test/tspx.f                            |    6 +-
 Fortran/test/ttab1.f                           |    6 +-
 Fortran/test/ttab2.f                           |    6 +-
 Fortran/test/ttab3.f                           |   20 +-
 Fortran/test/tunits.f                          |    6 +-
 Fortran/test/twcs.f                            |    6 +-
 Fortran/test/twcsfix.f                         |    6 +-
 Fortran/test/twcsfix.out                       |    4 +-
 Fortran/test/twcsmix.f                         |    6 +-
 Fortran/test/twcssub.f                         |    6 +-
 Fortran/test/twcssub.out                       |    4 +-
 Fortran/test/twcstab.f                         |    6 +-
 Fortran/test/twcstab.out                       |    2 +-
 Fortran/wcs.inc                                |    6 +-
 Fortran/wcs_data.f                             |    6 +-
 Fortran/wcs_f.c                                |    6 +-
 Fortran/wcsconfig.h.in                         |   18 -
 Fortran/wcsconfig_f77.h.in                     |   21 -
 Fortran/wcserr.inc                             |    6 +-
 Fortran/wcserr_f.c                             |    6 +-
 Fortran/wcsfix.inc                             |    6 +-
 Fortran/wcsfix_data.f                          |    6 +-
 Fortran/wcsfix_f.c                             |    6 +-
 Fortran/wcshdr.inc                             |    6 +-
 Fortran/wcshdr_data.f                          |    6 +-
 Fortran/wcshdr_f.c                             |    6 +-
 Fortran/wcsmath.inc                            |    6 +-
 Fortran/wcsunits.inc                           |    6 +-
 Fortran/wcsunits_data.f                        |    6 +-
 Fortran/wcsunits_f.c                           |    6 +-
 GNUmakefile                                    |    4 +-
 INSTALL                                        |    8 +-
 README                                         |    8 +-
 THANKS                                         |    2 +-
 VALIDATION                                     |   11 +-
 configure                                      |   24 +-
 configure.ac                                   |    6 +-
 doxygen/Doxyfile                               |    2 +-
 doxygen/GNUmakefile                            |    4 +-
 doxygen/README                                 |    2 +-
 doxygen/doxextr.l                              |    6 +-
 doxygen/mainpage.dox                           |   10 +-
 flavours                                       |    2 +-
 html/annotated.html                            |    6 +-
 html/cel_8h.html                               |    6 +-
 html/cel_8h_source.html                        |   14 +-
 html/classes.html                              |    6 +-
 html/deprecated.html                           |    6 +-
 html/diagnostics.html                          |    8 +-
 html/dir_af99bb3c152a306abd27951285ad1127.html |    6 +-
 html/files.html                                |    6 +-
 html/fitshdr_8h.html                           |    6 +-
 html/fitshdr_8h_source.html                    |   12 +-
 html/fortran.html                              |    8 +-
 html/functions.html                            |    6 +-
 html/functions_0x62.html                       |    6 +-
 html/functions_0x63.html                       |    6 +-
 html/functions_0x64.html                       |    6 +-
 html/functions_0x65.html                       |    6 +-
 html/functions_0x66.html                       |    6 +-
 html/functions_0x67.html                       |    6 +-
 html/functions_0x69.html                       |    6 +-
 html/functions_0x6b.html                       |    6 +-
 html/functions_0x6c.html                       |    6 +-
 html/functions_0x6d.html                       |    6 +-
 html/functions_0x6e.html                       |    6 +-
 html/functions_0x6f.html                       |    6 +-
 html/functions_0x70.html                       |    6 +-
 html/functions_0x72.html                       |    6 +-
 html/functions_0x73.html                       |    6 +-
 html/functions_0x74.html                       |    6 +-
 html/functions_0x75.html                       |    6 +-
 html/functions_0x76.html                       |    6 +-
 html/functions_0x77.html                       |    6 +-
 html/functions_0x78.html                       |    6 +-
 html/functions_0x79.html                       |    6 +-
 html/functions_0x7a.html                       |    6 +-
 html/functions_vars.html                       |    6 +-
 html/functions_vars_0x62.html                  |    6 +-
 html/functions_vars_0x63.html                  |    6 +-
 html/functions_vars_0x64.html                  |    6 +-
 html/functions_vars_0x65.html                  |    6 +-
 html/functions_vars_0x66.html                  |    6 +-
 html/functions_vars_0x67.html                  |    6 +-
 html/functions_vars_0x69.html                  |    6 +-
 html/functions_vars_0x6b.html                  |    6 +-
 html/functions_vars_0x6c.html                  |    6 +-
 html/functions_vars_0x6d.html                  |    6 +-
 html/functions_vars_0x6e.html                  |    6 +-
 html/functions_vars_0x6f.html                  |    6 +-
 html/functions_vars_0x70.html                  |    6 +-
 html/functions_vars_0x72.html                  |    6 +-
 html/functions_vars_0x73.html                  |    6 +-
 html/functions_vars_0x74.html                  |    6 +-
 html/functions_vars_0x75.html                  |    6 +-
 html/functions_vars_0x76.html                  |    6 +-
 html/functions_vars_0x77.html                  |    6 +-
 html/functions_vars_0x78.html                  |    6 +-
 html/functions_vars_0x79.html                  |    6 +-
 html/functions_vars_0x7a.html                  |    6 +-
 html/getwcstab_8h.html                         |    6 +-
 html/getwcstab_8h_source.html                  |   12 +-
 html/globals.html                              |    6 +-
 html/globals_0x62.html                         |    6 +-
 html/globals_0x63.html                         |    6 +-
 html/globals_0x64.html                         |    6 +-
 html/globals_0x65.html                         |    6 +-
 html/globals_0x66.html                         |    6 +-
 html/globals_0x68.html                         |    6 +-
 html/globals_0x69.html                         |    6 +-
 html/globals_0x6b.html                         |    6 +-
 html/globals_0x6c.html                         |    6 +-
 html/globals_0x6d.html                         |    6 +-
 html/globals_0x6e.html                         |    6 +-
 html/globals_0x70.html                         |    9 +-
 html/globals_0x71.html                         |    6 +-
 html/globals_0x72.html                         |    6 +-
 html/globals_0x73.html                         |    6 +-
 html/globals_0x74.html                         |    6 +-
 html/globals_0x75.html                         |   12 +-
 html/globals_0x76.html                         |    6 +-
 html/globals_0x77.html                         |    6 +-
 html/globals_0x78.html                         |    6 +-
 html/globals_0x7a.html                         |    6 +-
 html/globals_defs.html                         |    6 +-
 html/globals_enum.html                         |    6 +-
 html/globals_eval.html                         |    6 +-
 html/globals_func.html                         |    6 +-
 html/globals_func_0x62.html                    |    6 +-
 html/globals_func_0x63.html                    |    6 +-
 html/globals_func_0x64.html                    |    6 +-
 html/globals_func_0x65.html                    |    6 +-
 html/globals_func_0x66.html                    |    6 +-
 html/globals_func_0x68.html                    |    6 +-
 html/globals_func_0x6c.html                    |    6 +-
 html/globals_func_0x6d.html                    |    6 +-
 html/globals_func_0x70.html                    |    9 +-
 html/globals_func_0x71.html                    |    6 +-
 html/globals_func_0x73.html                    |    6 +-
 html/globals_func_0x74.html                    |    6 +-
 html/globals_func_0x75.html                    |    6 +-
 html/globals_func_0x76.html                    |    6 +-
 html/globals_func_0x77.html                    |    6 +-
 html/globals_func_0x78.html                    |    6 +-
 html/globals_func_0x7a.html                    |    6 +-
 html/globals_type.html                         |    6 +-
 html/globals_vars.html                         |    6 +-
 html/index.html                                |   14 +-
 html/intro.html                                |    8 +-
 html/lin_8h.html                               |    6 +-
 html/lin_8h_source.html                        |   14 +-
 html/log_8h.html                               |    6 +-
 html/log_8h_source.html                        |   14 +-
 html/memory.html                               |    8 +-
 html/overview.html                             |    8 +-
 html/pages.html                                |    6 +-
 html/pgsbox.html                               |    8 +-
 html/prj_8h.html                               |  101 +-
 html/prj_8h_source.html                        | 1390 ++++++++-------
 html/software.html                             |    8 +-
 html/spc_8h.html                               |    6 +-
 html/spc_8h_source.html                        |   14 +-
 html/sph_8h.html                               |    6 +-
 html/sph_8h_source.html                        |   14 +-
 html/spx_8h.html                               |    6 +-
 html/spx_8h_source.html                        |   14 +-
 html/structcelprm.html                         |    6 +-
 html/structfitskey.html                        |    6 +-
 html/structfitskeyid.html                      |    6 +-
 html/structlinprm.html                         |    6 +-
 html/structprjprm.html                         |    8 +-
 html/structpscard.html                         |    6 +-
 html/structpvcard.html                         |    6 +-
 html/structs.html                              |    8 +-
 html/structspcprm.html                         |    6 +-
 html/structspxprm.html                         |    6 +-
 html/structtabprm.html                         |    6 +-
 html/structwcserr.html                         |    6 +-
 html/structwcsprm.html                         |    6 +-
 html/structwtbarr.html                         |    6 +-
 html/tab_8h.html                               |    6 +-
 html/tab_8h_source.html                        |   14 +-
 html/testing.html                              |    8 +-
 html/threads.html                              |   10 +-
 html/vector.html                               |    8 +-
 html/wcs_8h.html                               |   17 +-
 html/wcs_8h_source.html                        | 2216 ++++++++++++------------
 html/wcserr_8h.html                            |    6 +-
 html/wcserr_8h_source.html                     |   12 +-
 html/wcsfix_8h.html                            |    6 +-
 html/wcsfix_8h_source.html                     |   14 +-
 html/wcshdr_8h.html                            |    6 +-
 html/wcshdr_8h_source.html                     |   14 +-
 html/wcslib_8h.html                            |    6 +-
 html/wcslib_8h_source.html                     |   14 +-
 html/wcsmath_8h.html                           |    6 +-
 html/wcsmath_8h_source.html                    |   12 +-
 html/wcsprintf_8h.html                         |    6 +-
 html/wcsprintf_8h_source.html                  |   14 +-
 html/wcstrig_8h.html                           |    6 +-
 html/wcstrig_8h_source.html                    |   12 +-
 html/wcsunits_8h.html                          |    6 +-
 html/wcsunits_8h_source.html                   |   14 +-
 html/wcsutil_8h.html                           |    6 +-
 html/wcsutil_8h_source.html                    |   12 +-
 makedefs.in                                    |    8 +-
 pgsbox/GNUmakefile                             |    6 +-
 pgsbox/cpgsbox.c                               |    6 +-
 pgsbox/cpgsbox.h                               |    6 +-
 pgsbox/cpgtest.c                               |    6 +-
 pgsbox/fscan.f                                 |    6 +-
 pgsbox/lngvel.f                                |    6 +-
 pgsbox/makedefs.in                             |  240 ---
 pgsbox/pgcrfn.f                                |    6 +-
 pgsbox/pgcrvl.f                                |    4 +-
 pgsbox/pgsbox.f                                |    6 +-
 pgsbox/pgtest.f                                |    6 +-
 pgsbox/pgwcsl.c                                |    6 +-
 pgsbox/pgwcsl.h                                |    6 +-
 pgsbox/wcsconfig_f77.h.in                      |   21 -
 utils/GNUmakefile                              |    6 +-
 utils/HPXcvt.1                                 |    2 +-
 utils/HPXcvt.c                                 |    6 +-
 utils/fitshdr.1                                |    2 +-
 utils/fitshdr.c                                |    6 +-
 utils/hpx.fits                                 |    1 +
 utils/hpx.keyrec                               |   14 +
 utils/makedefs.in                              |  240 ---
 utils/wcsconfig.h.in                           |   18 -
 utils/wcsconfig_utils.h.in                     |   35 -
 utils/wcsgrid.1                                |    2 +-
 utils/wcsgrid.c                                |    6 +-
 utils/wcsware.1                                |    2 +-
 utils/wcsware.c                                |    6 +-
 wcsconfig.h.in                                 |    4 +-
 wcsconfig_f77.h.in                             |    4 +-
 wcsconfig_tests.h.in                           |    4 +-
 wcsconfig_utils.h.in                           |    4 +-
 wcslib.pdf                                     |  Bin 860162 -> 861464 bytes
 367 files changed, 3653 insertions(+), 3958 deletions(-)

diff --git a/C/GNUmakefile b/C/GNUmakefile
index 86e2e0f..2f3cf3a 100644
--- a/C/GNUmakefile
+++ b/C/GNUmakefile
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# GNU makefile for building WCSLIB 4.20 and its test suite.
+# GNU makefile for building WCSLIB 4.21 and its test suite.
 #
 # Summary of the main targets
 # ---------------------------
@@ -31,7 +31,7 @@
 #
 # Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 # http://www.atnf.csiro.au/people/Mark.Calabretta
-# $Id: GNUmakefile,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+# $Id: GNUmakefile,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 #-----------------------------------------------------------------------------
 # Get configure settings.
 include ../makedefs
diff --git a/C/cel.c b/C/cel.c
index 3ebbb34..997c45c 100644
--- a/C/cel.c
+++ b/C/cel.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: cel.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: cel.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <math.h>
diff --git a/C/cel.h b/C/cel.h
index 7c6ca69..dacd796 100644
--- a/C/cel.h
+++ b/C/cel.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,10 +22,10 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: cel.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: cel.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
-* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System
+* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System
 * (WCS) standard.  Refer to
 *
 *   "Representations of world coordinates in FITS",
diff --git a/C/fitshdr.h b/C/fitshdr.h
index ac172a7..b3046d8 100644
--- a/C/fitshdr.h
+++ b/C/fitshdr.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: fitshdr.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: fitshdr.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
 * The Flexible Image Transport System (FITS), a data format widely used in
diff --git a/C/fitshdr.l b/C/fitshdr.l
index 65f064d..6c165ac 100644
--- a/C/fitshdr.l
+++ b/C/fitshdr.l
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: fitshdr.l,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: fitshdr.l,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
 * fitshdr.l is a Flex description file containing a lexical scanner
diff --git a/C/flexed/fitshdr.c b/C/flexed/fitshdr.c
index 1bd627d..b736ab8 100644
--- a/C/flexed/fitshdr.c
+++ b/C/flexed/fitshdr.c
@@ -10083,8 +10083,8 @@ char *fitshdrtext;
 #line 1 "fitshdr.l"
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -10105,7 +10105,7 @@ char *fitshdrtext;
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: fitshdr.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: fitshdr.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * fitshdr.l is a Flex description file containing a lexical scanner
diff --git a/C/flexed/wcsbth.c b/C/flexed/wcsbth.c
index 24132e3..559bbdb 100644
--- a/C/flexed/wcsbth.c
+++ b/C/flexed/wcsbth.c
@@ -16669,8 +16669,8 @@ char *wcsbthtext;
 #line 1 "wcsbth.l"
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -16691,7 +16691,7 @@ char *wcsbthtext;
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsbth.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcsbth.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * wcsbth.l is a Flex description file containing the definition of a lexical
diff --git a/C/flexed/wcspih.c b/C/flexed/wcspih.c
index 407a63a..0ce8ebc 100644
--- a/C/flexed/wcspih.c
+++ b/C/flexed/wcspih.c
@@ -8153,8 +8153,8 @@ char *wcspihtext;
 #line 1 "wcspih.l"
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -8175,7 +8175,7 @@ char *wcspihtext;
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcspih.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcspih.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * wcspih.l is a Flex description file containing the definition of a lexical
diff --git a/C/flexed/wcsulex.c b/C/flexed/wcsulex.c
index 28d88e3..67ffe7e 100644
--- a/C/flexed/wcsulex.c
+++ b/C/flexed/wcsulex.c
@@ -6860,8 +6860,8 @@ char *wcsulextext;
 #line 1 "wcsulex.l"
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -6882,7 +6882,7 @@ char *wcsulextext;
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsulex.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcsulex.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * wcsulex.l is a Flex description file containing the definition of a
diff --git a/C/flexed/wcsutrn.c b/C/flexed/wcsutrn.c
index 443b369..2f60e4a 100644
--- a/C/flexed/wcsutrn.c
+++ b/C/flexed/wcsutrn.c
@@ -3982,8 +3982,8 @@ char *wcsutrntext;
 #line 1 "wcsutrn.l"
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -4004,7 +4004,7 @@ char *wcsutrntext;
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsutrn.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcsutrn.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * wcsutrn.l is a Flex description file containing the definition of a lexical
diff --git a/C/getwcstab.c b/C/getwcstab.c
index f03dc7b..2884ad2 100644
--- a/C/getwcstab.c
+++ b/C/getwcstab.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: getwcstab.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: getwcstab.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <stdlib.h>
diff --git a/C/getwcstab.h b/C/getwcstab.h
index d265fda..f3eb5f7 100644
--- a/C/getwcstab.h
+++ b/C/getwcstab.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: getwcstab.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: getwcstab.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
 * Summary of the getwcstab routines
diff --git a/C/lin.c b/C/lin.c
index 459bd9e..b7ae6e9 100644
--- a/C/lin.c
+++ b/C/lin.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: lin.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: lin.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <stdio.h>
diff --git a/C/lin.h b/C/lin.h
index 92e73b7..c331b43 100644
--- a/C/lin.h
+++ b/C/lin.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,10 +22,10 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: lin.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: lin.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
-* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System
+* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System
 * (WCS) standard.  Refer to
 *
 *   "Representations of world coordinates in FITS",
diff --git a/C/log.c b/C/log.c
index aa1ea0c..4833064 100644
--- a/C/log.c
+++ b/C/log.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: log.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: log.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <math.h>
diff --git a/C/log.h b/C/log.h
index d7e848a..c8bee43 100644
--- a/C/log.h
+++ b/C/log.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,10 +22,10 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: log.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: log.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
-* WCSLIB 4.20 - C routines that implement logarithmic coordinate systems as
+* WCSLIB 4.21 - C routines that implement logarithmic coordinate systems as
 * defined by the FITS World Coordinate System (WCS) standard.  Refer to
 *
 *   "Representations of world coordinates in FITS",
diff --git a/C/makedefs.in b/C/makedefs.in
deleted file mode 100644
index e690ba3..0000000
--- a/C/makedefs.in
+++ /dev/null
@@ -1,240 +0,0 @@
-#-----------------------------------------------------------------------------
-# GNU makefile definitions for building WCSLIB 4.17
-#
-# makedefs is generated from makedefs.in by configure.  It contains variable
-# definitions and some general-purpose rules for building WCSLIB.
-#
-# Targets defined here
-# --------------------
-#   printenv:  Print the environment as seen within makefile rules.
-#   show:      Print the values of all makefile variables used.
-#
-# Notes:
-#   1) If you need to make changes then it may be preferable to modify
-#      makedefs.in (not makedefs).  The makefile will detect this and
-#      automatically re-run config.status to regenerate makedefs.
-#
-#   2) There are three choices for trigd functions - cosd(), sind(), tand(),
-#      acosd(), asind(), atand(), and atan2d(), made by setting WCSTRIG:
-#
-#      1: Use the wrapper functions supplied with WCSLIB (default):
-#         WCSTRIG := WRAPPER
-#
-#      2: Use native trigd functions supplied in a mathematics library such
-#         as libsunmath (you will also need to add the library to the LIBS
-#         variable below):
-#         WCSTRIG := NATIVE
-#
-#      3: Use C preprocessor macro implementations of the trigd functions
-#         (this method is typically 20% faster but may lead to rounding
-#         errors near the poles):
-#         WCSTRIG := MACRO
-#
-#   3) Variables for creating the shared (dynamic) library are currently
-#      only set by 'configure' if the GNU C compiler is used.  However,
-#      you can set these variables by hand, preferably in makedefs.in.
-#
-#      Shared libraries require position-independent code (PIC) which imposes
-#      a performance overhead.  Consequently the static libraries are
-#      compiled separately without this option.
-#
-#      The shared library will be installed with version number, e.g. as
-#      libwcs.so.4.17 or libwcs.4.17.dylib with or without the symlink
-#      required to make it visible to the linker (controlled by the SHRLN
-#      variable).  On Macs it is deliberately not created because its very
-#      existence precludes static linking with the cctools linker.  You can
-#      still link dynamically by using -lwcs.4.17.
-#
-#   4) PGPLOT is Tim Pearson's Fortran graphics library with separate C
-#      interface available from astro.caltech.edu.  It is only required by
-#      one utility, wcsgrid, and the test programs that plot test grids
-#      (tprj2, tcel1, tcel2, tspc, ttab2, ttab3, twcsmix, and tpih2).  You can
-#      skip these by setting PGPLOTLIB to blank.
-#
-#      It is difficult for configure to deduce what auxiliary graphics
-#      libraries may be needed for PGPLOT since it depends on which of many
-#      possible graphics drivers were selected when PGPLOT was installed.
-#      Therefore it is quite likely that you will need to add additional
-#      libraries to PGPLOTLIB.
-#
-#   5) CFITSIO is Bill Pence's FITS I/O library written in C with Fortran
-#      wrappers, available from http://heasarc.gsfc.nasa.gov/fitsio.
-#
-#      CFITSIO is required by three utilities, HPXcvt, wcsgrid, and wcsware,
-#      and also by the test programs twcstab and twcshdr.  wcsware and the
-#      test programs use fits_read_wcstab() which is implemented by
-#      getwcstab.c.  However, this implementation is included in CFITSIO post
-#      3.004beta, so getwcstab.c is required here only for older releases
-#      (controlled by variable GETWCSTAB).  getwcstab.o itself is not inserted
-#      into the WCSLIB object library.
-#
-#      If available, CFITSIO is also optionally used for test programs
-#      tfitshdr, tbth1, tpih1 and tpih2 by setting preprocessor macro
-#      -DDO_CFITSIO.
-#
-# Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
-# http://www.atnf.csiro.au/people/Mark.Calabretta
-# $Id: makedefs.in,v 4.17.1.1 2013/01/29 05:32:33 cal103 Exp $
-#-----------------------------------------------------------------------------
-# Version.
-  LIBVER    := @LIBVER@
-  WCSLIBPKG := wcslib- at PACKAGE_VERSION@
-
-# System architecture.
-  ARCH     := @ARCH@
-
-# Flex and options.
-  FLEX     := @FLEX@
-  FLFLAGS  :=
-
-# C preprocessor and options.
-  CPP      := @CPP@
-  CPPFLAGS := @DEFS@
-  WCSTRIG  := WRAPPER
-
-# C compiler and options.
-  CC       := @CC@
-  CFLAGS   := @CFLAGS@
-
-# Fortran compiler and options.
-  FC       := @F77@
-  FFLAGS   := @FFLAGS@
-
-# Static object library.
-  WCSLIB   := libwcs-$(LIBVER).a
-  RANLIB   := @RANLIB@
-
-# Shared (dynamic) library (see note 3 above).
-  SHRLIB   := @SHRLIB@
-  SONAME   := @SONAME@
-  SHRFLAGS := @SHRFLAGS@
-  SHRLD    := @SHRLD@
-  SHRLN    := @SHRLN@
-
-# What subdirectories to build.
-  SUBDIRS  := @SUBDIRS@
-  TSTDIRS  := @TSTDIRS@
-
-# Top of the 'make install' hierarchy: pgsbox -> Fortran -> C.
-  INSTDIR  := @INSTDIR@
-
-# Installation utilities and locations.
-  LN_S     := @LN_S@
-  INSTALL  := @INSTALL@
-
-  # Needed for the definitions provided by autoconf.
-  prefix          := @prefix@
-  exec_prefix     := @exec_prefix@
-  datarootdir     := @datarootdir@
-  PACKAGE_TARNAME := @PACKAGE_TARNAME@
-  docdir          := @docdir@
-
-  LIBDIR   := $(DESTDIR)@libdir@
-  BINDIR   := $(DESTDIR)@bindir@
-  INCDIR   := $(DESTDIR)@includedir@/wcslib-$(LIBVER)
-  INCLINK  := $(DESTDIR)@includedir@/wcslib
-  DOCDIR   := $(DESTDIR)@docdir@
-  DOCLINK  := $(dir $(DESTDIR)@docdir@)wcslib
-  HTMLDIR  := $(DESTDIR)@htmldir@
-  PDFDIR   := $(DESTDIR)@pdfdir@
-  MANDIR   := $(DESTDIR)@mandir@
-
-# For putting timestamps in the build log.
-  TIMER    := date +"%a %Y/%m/%d %X %z, executing on $$HOST"
-
-
-# The remaining options are for building utilities and test programs.
-# -------------------------------------------------------------------
-# Linker options (use CC for linking).
-  LD       = $(CC)
-  LDFLAGS := @LDFLAGS@
-
-# PGPLOT (see note 4 above).
-  PGPLOTINC := @PGPLOTINC@
-  PGPLOTLIB := @PGPLOTLIB@
-
-# CFITSIO (see note 5 above).
-  CFITSIOINC := @CFITSIOINC@
-  CFITSIOLIB := @CFITSIOLIB@
-  GETWCSTAB  := @GETWCSTAB@
-
-# Libraries required by the above Fortran compiler.
-  FLIBS := @FLIBS@
-
-# Libraries required by WCSLIB itself.
-  LIBS := @LIBS@
-
-
-#-----------------------------------------------------------------------------
-# You shouldn't need to change anything below here.
-#-----------------------------------------------------------------------------
-
-SHELL := /bin/sh
-VPATH := ..
-
-# Common targets.
-.PHONY : all build printenv show
-
-all : show build
-
-# Print the environment as seen by makefile rules.
-printenv :
-	-@ printenv | sort
-
-# Print variable definitions.
-show :: wcsconfig.h
-	-@ echo ''
-	-@ uname -a
-	-@ echo ''
-	-@ $(MAKE) --version | head -1
-	-@ echo '  MAKEFLAGS   := $(MAKEFLAGS)'
-	-@ echo ''
-	-@ echo 'For building and installing $(WCSLIBPKG)...'
-	-@ echo '  ARCH        := $(ARCH)'
-	-@ echo '  FLEX        := $(FLEX)'
-	-@ echo '  FLFLAGS     := $(FLFLAGS)'
-	-@ echo '  CPP         := $(CPP)'
-	-@ echo '  CPPFLAGS    := $(CPPFLAGS)'
-	-@ echo '  WCSTRIG     := $(WCSTRIG)'
-	-@ echo '  CC          := $(CC)'
-	-@ echo '  CFLAGS      := $(CFLAGS)'
-	-@ echo '  FC          := $(FC)'
-	-@ echo '  FFLAGS      := $(FFLAGS)'
-	-@ echo '  WCSLIB      := $(WCSLIB)'
-	-@ echo '  RANLIB      := $(RANLIB)'
-	-@ echo '  SHRLIB      := $(SHRLIB)'
-	-@ echo '  SONAME      := $(SONAME)'
-	-@ echo '  SHRFLAGS    := $(SHRFLAGS)'
-	-@ echo '  SHRLD       := $(SHRLD)'
-	-@ echo '  SHRLN       := $(SHRLN)'
-	-@ echo '  LN_S        := $(LN_S)'
-	-@ echo '  INSTALL     := $(INSTALL)'
-	-@ echo '  LIBDIR      := $(LIBDIR)'
-	-@ echo '  BINDIR      := $(BINDIR)'
-	-@ echo '  INCDIR      := $(INCDIR)'
-	-@ echo '  INCLINK     := $(INCLINK)'
-	-@ echo '  DOCDIR      := $(DOCDIR)'
-	-@ echo '  DOCLINK     := $(DOCLINK)'
-	-@ echo '  HTMLDIR     := $(HTMLDIR)'
-	-@ echo '  PDFDIR      := $(PDFDIR)'
-	-@ echo '  MANDIR      := $(MANDIR)'
-	-@ echo '  TIMER       := $(TIMER)'
-	-@ echo ''
-	-@ echo 'Important wcsconfig.h defines...'
-	-@ echo "  `grep HAVE_SINCOS $<`"
-	-@ echo "  `grep WCSLIB_INT64 $<`"
-	-@ echo ''
-	-@ echo 'To build utilities and test programs...'
-	-@ echo '  LD          := $(LD)'
-	-@ echo '  LDFLAGS     := $(LDFLAGS)'
-	-@ echo '  PGPLOTINC   := $(PGPLOTINC)'
-	-@ echo '  PGPLOTLIB   := $(PGPLOTLIB)'
-	-@ echo '  CFITSIOINC  := $(CFITSIOINC)'
-	-@ echo '  CFITSIOLIB  := $(CFITSIOLIB)'
-	-@ echo '  GETWCSTAB   := $(GETWCSTAB)'
-	-@ echo '  FLIBS       := $(FLIBS)'
-	-@ echo '  LIBS        := $(LIBS)'
-	-@ echo ''
-
-# Code development overrides, for use in the code subdirectories.
--include ../flavours
diff --git a/C/prj.c b/C/prj.c
index ea18e40..ce60e50 100644
--- a/C/prj.c
+++ b/C/prj.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: prj.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: prj.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <math.h>
@@ -117,12 +117,18 @@ const char *prj_errmsg[] = {
 
 
 /*============================================================================
-* Generic routines.
+* Generic routines:
 *
 * prjini initializes a prjprm struct to default values.
 *
+* prjfree frees any memory that may have been allocated to store an error
+*        message in the prjprm struct.
+*
 * prjprt prints the contents of a prjprm struct.
 *
+* prjbchk performs bounds checking on the native coordinates returned by the
+*        *x2s() routines.
+*
 * prjset invokes the specific initialization routine based on the projection
 *        code in the prjprm struct.
 *
@@ -154,7 +160,7 @@ struct prjprm *prj;
   prj->r0     = 0.0;
   prj->phi0   = UNDEFINED;
   prj->theta0 = UNDEFINED;
-  prj->bounds = 3;
+  prj->bounds = 7;
 
   strcpy(prj->name, "undefined");
   for (k = 9; k < 40; prj->name[k++] = '\0');
@@ -289,6 +295,62 @@ const struct prjprm *prj;
 
 /*--------------------------------------------------------------------------*/
 
+int prjbchk(tol, nphi, ntheta, spt, phi, theta, stat)
+
+double tol;
+int nphi, ntheta, spt;
+double phi[], theta[];
+int stat[];
+
+{
+  int status = 0;
+  register int iphi, itheta, *statp;
+  register double *phip, *thetap;
+
+  phip   = phi;
+  thetap = theta;
+  statp  = stat;
+  for (itheta = 0; itheta < ntheta; itheta++) {
+    for (iphi = 0; iphi < nphi; iphi++, phip += spt, thetap += spt, statp++) {
+      if (*phip < -180.0) {
+        if (*phip < -180.0-tol) {
+          *statp = 1;
+          status = 1;
+        } else {
+          *phip = -180.0;
+        }
+      } else if (180.0 < *phip) {
+        if (180.0+tol < *phip) {
+          *statp = 1;
+          status = 1;
+        } else {
+          *phip = 180.0;
+        }
+      }
+
+      if (*thetap < -90.0) {
+        if (*thetap < -90.0-tol) {
+          *statp = 1;
+          status = 1;
+        } else {
+          *thetap = -90.0;
+        }
+      } else if (90.0 < *thetap) {
+        if (90.0+tol < *thetap) {
+          *statp = 1;
+          status = 1;
+        } else {
+          *thetap = 90.0;
+        }
+      }
+    }
+  }
+
+  return status;
+}
+
+/*--------------------------------------------------------------------------*/
+
 int prjset(prj)
 
 struct prjprm *prj;
@@ -414,8 +476,8 @@ int stat[];
 }
 
 /*============================================================================
-* Internal helper routine used by the *set() routines that forces
-* (x,y) = (0,0) at (phi0,theta0).
+* Internal helper routine used by the *set() routines - not intended for
+* outside use.  It forces (x,y) = (0,0) at (phi0,theta0).
 *---------------------------------------------------------------------------*/
 
 int prjoff(prj, phi0, theta0)
@@ -637,6 +699,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("azpx2s");
+  }
+
   return status;
 }
 
@@ -964,6 +1032,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("szpx2s");
+  }
+
   return status;
 }
 
@@ -1163,6 +1237,8 @@ int stat[];
     ny = nx;
   }
 
+  status = 0;
+
 
   /* Do x dependence. */
   xp = x;
@@ -1203,7 +1279,13 @@ int stat[];
     }
   }
 
-  return 0;
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("tanx2s");
+  }
+
+  return status;
 }
 
 /*--------------------------------------------------------------------------*/
@@ -1724,6 +1806,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("sinx2s");
+  }
+
   return status;
 }
 
@@ -1929,6 +2017,8 @@ int stat[];
     ny = nx;
   }
 
+  status = 0;
+
 
   /* Do x dependence. */
   xp = x;
@@ -1970,7 +2060,13 @@ int stat[];
     }
   }
 
-  return 0;
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("arcx2s");
+  }
+
+  return status;
 }
 
 /*--------------------------------------------------------------------------*/
@@ -2243,9 +2339,11 @@ int stat[];
       if (k < 1) {
         /* Constant - no solution. */
         return PRJERR_BAD_PARAM_SET("zpnx2s");
+
       } else if (k == 1) {
         /* Linear. */
         zd = (r - prj->pv[0])/prj->pv[1];
+
       } else if (k == 2) {
         /* Quadratic. */
         a = prj->pv[2];
@@ -2343,6 +2441,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("zpnx2s");
+  }
+
   return status;
 }
 
@@ -2575,6 +2679,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("zeax2s");
+  }
+
   return status;
 }
 
@@ -2859,6 +2969,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("airx2s");
+  }
+
   return status;
 }
 
@@ -2932,7 +3048,7 @@ int stat[];
         r = xi*prj->w[3];
       } else {
         cosxi = cosd((90.0 - *thetap)/2.0);
-        tanxi = sqrt(1.0-cosxi*cosxi)/cosxi;
+        tanxi = sqrt(1.0 - cosxi*cosxi)/cosxi;
         r = -prj->w[0]*(log(cosxi)/tanxi + prj->w[1]*tanxi);
       }
     } else {
@@ -3071,6 +3187,8 @@ int stat[];
     ny = nx;
   }
 
+  status = 0;
+
 
   /* Do x dependence. */
   xp = x;
@@ -3101,7 +3219,13 @@ int stat[];
     }
   }
 
-  return 0;
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("cypx2s");
+  }
+
+  return status;
 }
 
 /*--------------------------------------------------------------------------*/
@@ -3330,6 +3454,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("ceax2s");
+  }
+
   return status;
 }
 
@@ -3484,6 +3614,8 @@ int stat[];
     ny = nx;
   }
 
+  status = 0;
+
 
   /* Do x dependence. */
   xp = x;
@@ -3513,7 +3645,13 @@ int stat[];
     }
   }
 
-  return 0;
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("carx2s");
+  }
+
+  return status;
 }
 
 /*--------------------------------------------------------------------------*/
@@ -3667,6 +3805,8 @@ int stat[];
     ny = nx;
   }
 
+  status = 0;
+
 
   /* Do x dependence. */
   xp = x;
@@ -3696,7 +3836,13 @@ int stat[];
     }
   }
 
-  return 0;
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("merx2s");
+  }
+
+  return status;
 }
 
 /*--------------------------------------------------------------------------*/
@@ -3904,6 +4050,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("sflx2s");
+  }
+
   return status;
 }
 
@@ -4126,6 +4278,8 @@ int stat[];
           *(statp++) = 1;
           if (!status) status = PRJERR_BAD_PIX_SET("parx2s");
         }
+      } else {
+        *(statp++) = istat;
       }
 
       *phip  *= s;
@@ -4133,6 +4287,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-12, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("parx2s");
+  }
+
   return status;
 }
 
@@ -4377,6 +4537,8 @@ int stat[];
           *(statp++) = 1;
           if (!status) status = PRJERR_BAD_PIX_SET("molx2s");
         }
+      } else {
+        *(statp++) = istat;
       }
 
       *phip  *= s;
@@ -4384,6 +4546,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-11, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("molx2s");
+  }
+
   return status;
 }
 
@@ -4446,9 +4614,11 @@ int stat[];
     if (fabs(*thetap) == 90.0) {
       xi  = 0.0;
       eta = copysign(prj->w[0], *thetap);
+
     } else if (*thetap == 0.0) {
       xi  = 1.0;
       eta = 0.0;
+
     } else {
       u  = PI*sind(*thetap);
       v0 = -PI;
@@ -4640,6 +4810,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("aitx2s");
+  }
+
   return status;
 }
 
@@ -4823,6 +4999,8 @@ int stat[];
     ny = nx;
   }
 
+  status = 0;
+
 
   /* Do x dependence. */
   xp = x;
@@ -4866,7 +5044,13 @@ int stat[];
     }
   }
 
-  return 0;
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("copx2s");
+  }
+
+  return status;
 }
 
 /*--------------------------------------------------------------------------*/
@@ -5142,6 +5326,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("coex2s");
+  }
+
   return status;
 }
 
@@ -5323,6 +5513,8 @@ int stat[];
     ny = nx;
   }
 
+  status = 0;
+
 
   /* Do x dependence. */
   xp = x;
@@ -5366,7 +5558,13 @@ int stat[];
     }
   }
 
-  return 0;
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("codx2s");
+  }
+
+  return status;
 }
 
 /*--------------------------------------------------------------------------*/
@@ -5618,6 +5816,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("coox2s");
+  }
+
   return status;
 }
 
@@ -5807,6 +6011,8 @@ int stat[];
     ny = nx;
   }
 
+  status = 0;
+
 
   /* Do x dependence. */
   xp = x;
@@ -5858,7 +6064,13 @@ int stat[];
     }
   }
 
-  return 0;
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-11, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("bonx2s");
+  }
+
+  return status;
 }
 
 /*--------------------------------------------------------------------------*/
@@ -6028,6 +6240,8 @@ int stat[];
     ny = nx;
   }
 
+  status = 0;
+
 
   /* Do x dependence. */
   xp = x;
@@ -6127,7 +6341,13 @@ int stat[];
     }
   }
 
-  return 0;
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-12, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("pcox2s");
+  }
+
+  return status;
 }
 
 /*--------------------------------------------------------------------------*/
@@ -6389,6 +6609,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("tscx2s");
+  }
+
   return status;
 }
 
@@ -6806,6 +7032,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("cscx2s");
+  }
+
   return status;
 }
 
@@ -7292,6 +7524,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-13, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("qscx2s");
+  }
+
   return status;
 }
 
@@ -7620,7 +7858,7 @@ int stat[];
 
 {
   int h, mx, my, offset, rowlen, rowoff, status;
-  double absy, s, sigma, slim, t, ylim, yr;
+  double absy, r, s, sigma, slim, t, ylim, yr;
   register int istat, ix, iy, *statp;
   register const double *xp, *yp;
   register double *phip, *thetap;
@@ -7723,19 +7961,20 @@ int stat[];
         }
 
         /* Recall that theta[] holds (x - x_c). */
-        s *= *thetap;
-        if (s != 0.0) s -= *thetap;
-        *phip += s;
-        *thetap = t;
+        r = s * *thetap;
 
         /* Bounds checking. */
         if (prj->bounds&2) {
-          if (slim <= fabs(s)) {
+          if (slim <= fabs(r)) {
             istat = 1;
             if (!status) status = PRJERR_BAD_PIX_SET("hpxx2s");
           }
         }
 
+        if (r != 0.0) r -= *thetap;
+        *phip  += r;
+        *thetap = t;
+
         *(statp++) = istat;
       }
 
@@ -7750,6 +7989,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-12, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("hpxx2s");
+  }
+
   return status;
 }
 
@@ -7973,7 +8218,7 @@ int stat[];
   for (ix = 0; ix < nx; ix++, rowoff += spt, xp += sxy) {
     xr = (*xp + prj->x0)*prj->w[1];
 
-    phip   = phi + rowoff;
+    phip = phi + rowoff;
     for (iy = 0; iy < my; iy++) {
       *phip = xr;
       phip  += rowlen;
@@ -8044,7 +8289,7 @@ int stat[];
             }
           } else if (yr == 0.0) {
             if (xr < 0.0) {
-              *phip = 270.0;
+              *phip = -90.0;
             } else {
               *phip =  90.0;
             }
@@ -8081,6 +8326,12 @@ int stat[];
     }
   }
 
+
+  /* Do bounds checking on the native coordinates. */
+  if (prj->bounds&4 && prjbchk(1.0e-12, nx, my, spt, phi, theta, stat)) {
+    if (!status) status = PRJERR_BAD_PIX_SET("xphx2s");
+  }
+
   return status;
 }
 
diff --git a/C/prj.h b/C/prj.h
index a1163f5..d147e04 100644
--- a/C/prj.h
+++ b/C/prj.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,10 +22,10 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: prj.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: prj.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
-* WCSLIB 4.20 - C routines that implement the spherical map projections
+* WCSLIB 4.21 - C routines that implement the spherical map projections
 * recognized by the FITS World Coordinate System (WCS) standard.  Refer to
 *
 *   "Representations of world coordinates in FITS",
@@ -48,7 +48,8 @@
 *
 * Routine prjini() is provided to initialize the prjprm struct with default
 * values, prjfree() reclaims any memory that may have been allocated to store
-* an error message, and prjprt() prints its contents.
+* an error message, and prjprt() prints its contents.  prjbchk() performs
+* bounds checking on native spherical coordinates.
 *
 * Setup routines for each projection with names of the form ???set(), where
 * "???" is the down-cased three-letter projection code, compute intermediate
@@ -66,7 +67,9 @@
 *
 * In summary, the routines are:
 *   - prjini()                Initialization routine for the prjprm struct.
-*   - prjprt()                Routine to print the prjprm struct.
+*   - prjfree()               Reclaim memory allocated for error messages.
+*   - prjprt()                Print the prjprm struct.
+*   - prjbchk()               Bounds checking on native coordinates.
 *
 *   - prjset(), prjx2s(), prjs2x():   Generic driver routines
 *
@@ -119,8 +122,11 @@
 * ------------------------------------------
 * Error checking on the projected coordinates (x,y) is limited to that
 * required to ascertain whether a solution exists.  Where a solution does
-* exist no check is made that the value of phi and theta obtained lie within
-* the ranges [-180,180] for phi, and [-90,90] for theta.
+* exist, an optional check is made that the value of phi and theta obtained
+* lie within the ranges [-180,180] for phi, and [-90,90] for theta.  This
+* check, performed by prjbchk(), is enabled by default.  It may be disabled by
+* setting prjprm::bounds%4 to 0 (rather than 1); the projections need not be
+* reinitialized.
 *
 * Accuracy:
 * ---------
@@ -179,6 +185,43 @@
 *                         1: Null prjprm pointer passed.
 *
 *
+* prjbchk() - Bounds checking on native coordinates
+* -------------------------------------------------
+* prjbchk() performs bounds checking on native spherical coordinates.  As
+* returned by the deprojection (x2s) routines, native longitude is expected
+* to lie in the closed interval [-180,180], with latitude in [-90,90].
+*
+* A tolerance may be specified to provide a small allowance for numerical
+* imprecision.  Values that lie outside the allowed range by not more than
+* the specified tolerance will be adjusted back into range.
+*
+* If prjprm::bounds&4 is set, as it is by prjini(), then prjbchk() will be
+* invoked automatically by the Cartesian-to-spherical deprojection (x2s)
+* routines with an appropriate tolerance set for each projection.
+*
+* Given:
+*   tol       double    Tolerance for the bounds check [deg].
+*
+*   nphi,
+*   ntheta    int       Vector lengths.
+*
+*   spt       int       Vector stride.
+*
+* Given and returned:
+*   phi,theta double[]  Native longitude and latitude (phi,theta) [deg].
+*
+* Returned:
+*   stat      int[]     Status value for each vector element:
+*                         0: Valid value of (phi,theta).
+*                         1: Invalid value.
+*
+* Function return value:
+*             int       Status return value:
+*                         0: Success.
+*                         1: One or more of the (phi,theta) coordinates
+*                            were, invalid, as indicated by the stat vector.
+*
+*
 * prjset() - Generic setup routine for the prjprm struct
 * ------------------------------------------------------
 * prjset() sets up a prjprm struct according to information supplied within
@@ -232,7 +275,7 @@
 *   phi,theta double[]  Longitude and latitude (phi,theta) of the projected
 *                       point in native spherical coordinates [deg].
 *
-*   stat      int[]     Status return value for each vector element:
+*   stat      int[]     Status value for each vector element:
 *                         0: Success.
 *                         1: Invalid value of (x,y).
 *
@@ -272,7 +315,7 @@
 * Returned:
 *   x,y       double[]  Projected coordinates.
 *
-*   stat      int[]     Status return value for each vector element:
+*   stat      int[]     Status value for each vector element:
 *                         0: Success.
 *                         1: Invalid value of (phi,theta).
 *
@@ -328,7 +371,7 @@
 *   phi,theta double[]  Longitude and latitude of the projected point in
 *                       native spherical coordinates [deg].
 *
-*   stat      int[]     Status return value for each vector element:
+*   stat      int[]     Status value for each vector element:
 *                         0: Success.
 *                         1: Invalid value of (x,y).
 *
@@ -366,7 +409,7 @@
 * Returned:
 *   x,y       double[]  Projected coordinates.
 *
-*   stat      int[]     Status return value for each vector element:
+*   stat      int[]     Status value for each vector element:
 *                         0: Success.
 *                         1: Invalid value of (phi,theta).
 *
@@ -433,12 +476,15 @@
 *     projection-specific default.
 *
 *   int bounds
-*     (Given) Controls strict bounds checking.  If bounds&1 then enable bounds
-*     checking for the sky-to-pixel (s2x) transformation for the AZP, SZP,
-*     TAN, SIN, ZPN, and COP projections.  If bounds&2 then enable bounds
-*     checking for the pixel-to-sky transformation for the HPX and XPH
-*     projections.  Set to 3 by prjini() by default which enables both.  Zero
-*     it to disable all checking.
+*     (Given) Controls bounds checking.  If bounds&1 then enable strict bounds
+*     checking for the spherical-to-Cartesian (s2x) transformation for the
+*     AZP, SZP, TAN, SIN, ZPN, and COP projections.  If bounds&2 then enable
+*     strict bounds checking for the Cartesian-to-spherical transformation
+*     (x2s) for the HPX and XPH projections.  If bounds&4 then the Cartesian-
+*     to-spherical transformations (x2s) will invoke prjbchk() to perform
+*     bounds checking on the computed native coordinates, with a tolerance set
+*     to suit each projection.  bounds is set to 7 by prjini() by default
+*     which enables all checks.  Zero it to disable all checking.
 *
 * The remaining members of the prjprm struct are maintained by the setup
 * routines and must not be modified elsewhere:
@@ -600,7 +646,7 @@ struct prjprm {
   double r0;			/* Radius of the generating sphere.         */
   double pv[PVN];		/* Projection parameters.                   */
   double phi0, theta0;		/* Fiducial native coordinates.             */
-  int    bounds;		/* Enable strict bounds checking.           */
+  int    bounds;		/* Controls bounds checking.                */
 
   /* Information derived from the parameters supplied.                      */
   /*------------------------------------------------------------------------*/
@@ -636,6 +682,8 @@ struct prjprm {
 int prjini(struct prjprm *prj);
 int prjfree(struct prjprm *prj);
 int prjprt(const struct prjprm *prj);
+int prjbchk(double tol, int nx, int ny, int spt, double phi[], double theta[],
+           int stat[]);
 
 int prjset(struct prjprm *prj);
 int prjx2s(PRJX2S_ARGS);
diff --git a/C/spc.c b/C/spc.c
index ee9068c..5cfd07e 100644
--- a/C/spc.c
+++ b/C/spc.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: spc.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: spc.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <math.h>
diff --git a/C/spc.h b/C/spc.h
index 417fafd..2076cc2 100644
--- a/C/spc.h
+++ b/C/spc.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,10 +22,10 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: spc.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: spc.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
-* WCSLIB 4.20 - C routines that implement the spectral coordinate systems
+* WCSLIB 4.21 - C routines that implement the spectral coordinate systems
 * recognized by the FITS World Coordinate System (WCS) standard.  Refer to
 *
 *   "Representations of world coordinates in FITS",
diff --git a/C/sph.c b/C/sph.c
index 3c497f5..eed8a6b 100644
--- a/C/sph.c
+++ b/C/sph.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: sph.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: sph.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <math.h>
diff --git a/C/sph.h b/C/sph.h
index ef8bf03..c35693a 100644
--- a/C/sph.h
+++ b/C/sph.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,10 +22,10 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: sph.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: sph.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
-* WCSLIB 4.20 - C routines that implement the spherical coordinate
+* WCSLIB 4.21 - C routines that implement the spherical coordinate
 * transformations used by the FITS World Coordinate System (WCS) standard.
 * Refer to
 *
diff --git a/C/spx.c b/C/spx.c
index 43dd77a..aa18ee6 100644
--- a/C/spx.c
+++ b/C/spx.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: spx.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: spx.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <math.h>
diff --git a/C/spx.h b/C/spx.h
index fd54b70..96bbc33 100644
--- a/C/spx.h
+++ b/C/spx.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,10 +22,10 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: spx.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: spx.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
-* WCSLIB 4.20 - C routines that implement the spectral coordinate systems
+* WCSLIB 4.21 - C routines that implement the spectral coordinate systems
 * recognized by the FITS World Coordinate System (WCS) standard.  Refer to
 *
 *   "Representations of world coordinates in FITS",
diff --git a/C/tab.c b/C/tab.c
index 03fc7a4..447ae8c 100644
--- a/C/tab.c
+++ b/C/tab.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tab.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: tab.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <math.h>
diff --git a/C/tab.h b/C/tab.h
index ed08564..d2c93d7 100644
--- a/C/tab.h
+++ b/C/tab.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,10 +22,10 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tab.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: tab.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
-* WCSLIB 4.20 - C routines that implement tabular coordinate systems as
+* WCSLIB 4.21 - C routines that implement tabular coordinate systems as
 * defined by the FITS World Coordinate System (WCS) standard.  Refer to
 *
 *   "Representations of world coordinates in FITS",
diff --git a/C/test/bth.keyrec b/C/test/bth.keyrec
index 0445fbf..e89ecc0 100644
--- a/C/test/bth.keyrec
+++ b/C/test/bth.keyrec
@@ -1,6 +1,6 @@
 #-----------------------------------------------------------------------------
-# WCSLIB 4.20 - an implementation of the FITS WCS standard.
-# Copyright (C) 1995-2013, Mark Calabretta
+# WCSLIB 4.21 - an implementation of the FITS WCS standard.
+# Copyright (C) 1995-2014, Mark Calabretta
 #
 # This file is part of WCSLIB.
 #
@@ -21,7 +21,7 @@
 #
 # Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 # http://www.atnf.csiro.au/people/Mark.Calabretta
-# $Id: bth.keyrec,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+# $Id: bth.keyrec,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 #-----------------------------------------------------------------------------
 #
 # FITS header keyrecords used for testing by tbth1.
diff --git a/C/test/pih.keyrec b/C/test/pih.keyrec
index 4f7c803..95ffc96 100644
--- a/C/test/pih.keyrec
+++ b/C/test/pih.keyrec
@@ -1,6 +1,6 @@
 #-----------------------------------------------------------------------------
-# WCSLIB 4.20 - an implementation of the FITS WCS standard.
-# Copyright (C) 1995-2013, Mark Calabretta
+# WCSLIB 4.21 - an implementation of the FITS WCS standard.
+# Copyright (C) 1995-2014, Mark Calabretta
 #
 # This file is part of WCSLIB.
 #
@@ -21,7 +21,7 @@
 #
 # Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 # http://www.atnf.csiro.au/people/Mark.Calabretta
-# $Id: pih.keyrec,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+# $Id: pih.keyrec,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 #-----------------------------------------------------------------------------
 #
 # FITS header keyrecords used for testing by tpih1, tpih2 and tfitshdr.
diff --git a/C/test/tbth1.c b/C/test/tbth1.c
index 106b456..8722893 100644
--- a/C/test/tbth1.c
+++ b/C/test/tbth1.c
@@ -1,6 +1,6 @@
 /*============================================================================
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -21,7 +21,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tbth1.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tbth1.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tbth1 tests wcsbth(), the WCS FITS parser for binary table headers, and
diff --git a/C/test/tbth1.out b/C/test/tbth1.out
index 3704abf..1a0d22a 100644
--- a/C/test/tbth1.out
+++ b/C/test/tbth1.out
@@ -191,7 +191,7 @@ imgpix[3][]:   0            0            0            1
          pv: (not used)
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "gnomonic"
    category: 1 (zenithal)
@@ -379,7 +379,7 @@ imgpix[3][]:   0            0            0            1
          pv: (not used)
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "gnomonic"
    category: 1 (zenithal)
@@ -568,7 +568,7 @@ imgpix[3][]:   0            0            0            1
               0            0         
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "orthographic/synthesis"
    category: 1 (zenithal)
@@ -765,7 +765,7 @@ imgpix[3][]:   0            0            0            1
               0            180          45        
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "slant zenithal perspective"
    category: 1 (zenithal)
@@ -961,7 +961,7 @@ imgpix[2][]:  -0           -0           -21905
               0            0            0            0         
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "zenithal/azimuthal polynomial"
    category: 1 (zenithal)
diff --git a/C/test/tcel1.c b/C/test/tcel1.c
index 14cbd4b..20f09b6 100644
--- a/C/test/tcel1.c
+++ b/C/test/tcel1.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tcel1.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tcel1.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tcel1 tests the spherical projection driver routines supplied with WCSLIB by
diff --git a/C/test/tcel2.c b/C/test/tcel2.c
index a5d9ac8..864a057 100644
--- a/C/test/tcel2.c
+++ b/C/test/tcel2.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tcel2.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tcel2.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tcel2 thoroughly tests the WCSLIB celestial coordinate transformation
diff --git a/C/test/tfitshdr.c b/C/test/tfitshdr.c
index 62f9edc..2436f81 100644
--- a/C/test/tfitshdr.c
+++ b/C/test/tfitshdr.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tfitshdr.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tfitshdr.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tfitshdr tests fitshdr(), the FITS parser for image headers, by reading a
diff --git a/C/test/tlin.c b/C/test/tlin.c
index bbb94ed..8474581 100644
--- a/C/test/tlin.c
+++ b/C/test/tlin.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tlin.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tlin.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 *  tlin tests the linear transformation routines supplied with WCSLIB.
diff --git a/C/test/tlog.c b/C/test/tlog.c
index 5058951..0c2cfd4 100644
--- a/C/test/tlog.c
+++ b/C/test/tlog.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tlog.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tlog.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 *   tlog tests the logarithmic coordinate transformation routines for closure.
diff --git a/C/test/tofits.c b/C/test/tofits.c
index 238792d..3be2710 100644
--- a/C/test/tofits.c
+++ b/C/test/tofits.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tofits.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tofits.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tofits turns a list of FITS header keyrecords, one per line, into a proper
diff --git a/C/test/tpih1.c b/C/test/tpih1.c
index 4fc9822..336cfe7 100644
--- a/C/test/tpih1.c
+++ b/C/test/tpih1.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tpih1.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tpih1.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tpih1 tests wcspih(), the WCS FITS parser for image headers, and wcsfix(),
diff --git a/C/test/tpih1.out b/C/test/tpih1.out
index b224068..462c54d 100644
--- a/C/test/tpih1.out
+++ b/C/test/tpih1.out
@@ -237,7 +237,7 @@ imgpix[3][]:   0            0            0            1
          pv: (not used)
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "gnomonic"
    category: 1 (zenithal)
@@ -434,7 +434,7 @@ imgpix[3][]:   0            0            0            1
               0            180          45        
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "slant zenithal perspective"
    category: 1 (zenithal)
@@ -630,7 +630,7 @@ imgpix[2][]:  -0           -0           -21905
               0            0            0            0         
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "zenithal/azimuthal polynomial"
    category: 1 (zenithal)
diff --git a/C/test/tpih2.c b/C/test/tpih2.c
index 6880fef..fa9070e 100644
--- a/C/test/tpih2.c
+++ b/C/test/tpih2.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tpih2.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tpih2.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tpih2 tests wcspih(), the WCS FITS parser for image headers, by reading a
diff --git a/C/test/tprj1.c b/C/test/tprj1.c
index bfbb846..a80d4f6 100644
--- a/C/test/tprj1.c
+++ b/C/test/tprj1.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tprj1.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tprj1.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tproj1 tests spherical projections for closure.
@@ -215,12 +215,12 @@ int projex(
   double tol)
 
 {
-  int    lat, lng, nFail = 0, stat1[361], stat2[361], status;
-  register int j;
-  double dlat, dlatmx, dlng, dlngmx, dr, drmax;
-  double lat1, lat2[361], lng1[361], lng2[361];
-  double r, theta;
-  double x[361], x1[361], x2[361], y[361], y1[361], y2[361];
+  int    lat, lng, nFail = 0, stat1[361], stat2[361], statr[25][25], status;
+  register int i, j;
+  double dlat, dlatmx, dlng, dlngmx, dr, drmax, dx, dy;
+  double lat1, lat2[361], lng1[361], lng2[361], x[361], y[361];
+  double latr[25][25], lngr[25][25], r, x1[25], x2[25][25], y1[25],
+         y2[25][25];
 
 
   strcpy(prj->code, pcode);
@@ -257,10 +257,13 @@ int projex(
       if (stat1[j]) continue;
 
       if (stat2[j]) {
+        nFail++;
         printf("   %3s(X2S): lng1 =%20.15f  lat1 =%20.15f\n",
           pcode, lng1[j], lat1);
-        printf("                x =%20.15f     y =%20.15f  ERROR%3d\n",
-          x[j], y[j], stat2[j]);
+        printf("                x =%20.15f     y =%20.15f\n",
+          x[j], y[j]);
+        printf("             lng2 =%20.15f  lat2 =%20.15f  ERROR%3d\n",
+          lng2[j], lat2[j], stat2[j]);
         continue;
       }
 
@@ -298,45 +301,48 @@ int projex(
 
   /* Test closure in the neighbourhood of the reference point. */
   r = 1.0;
-  theta = -180.0;
+  x1[12] = y1[12] = 0.0;
+  for (i = 0; i < 12; i++) {
+    x1[i] = -r;
+    y1[i] = -r;
+    x1[24-i] = r;
+    y1[24-i] = r;
 
-  drmax = 0.0;
-
-  for (j = 1; j <= 12; j++) {
-    x1[0] = r*cosd(theta);
-    y1[0] = r*sind(theta);
+    r /= 10.0;
+  }
 
-    if ((status = prj->prjx2s(prj, 1, 1, 1, 1, x1, y1, lng1, &lat1, stat2))) {
-      printf("   %3s(X2S):   x1 =%20.15f    y1 =%20.15f  ERROR%3d\n",
-        pcode, x1[0], y1[0], status);
+  if ((status = prj->prjx2s(prj, 25, 25, 1, 1, x1, y1, lngr[0], latr[0],
+                            statr[0]))) {
+    printf("   %3s(X2S) ERROR: %s\n", pcode, prj_errmsg[status]);
 
-    } else if ((status = prj->prjs2x(prj, 1, 1, 1, 1, lng1, &lat1, x2, y2,
-                                     stat1))) {
-      printf("   %3s(S2X):   x1 =%20.15f    y1 =%20.15f\n",
-        pcode, x1[0], y1[0]);
-      printf("              lng =%20.15f   lat =%20.15f  ERROR%3d\n",
-        lng1[0], lat1, status);
+  } else if ((status = prj->prjs2x(prj, 625, 0, 1, 1, lngr[0], latr[0],
+                                   x2[0], y2[0], statr[0]))) {
+    printf("   %3s(S2X) ERROR: %s\n", pcode, prj_errmsg[status]);
 
-    } else {
-      dr = sqrt((x2[0]-x1[0])*(x2[0]-x1[0]) + (y2[0]-y1[0])*(y2[0]-y1[0]));
-      if (dr > drmax) drmax = dr;
-      if (dr > tol) {
-        nFail++;
-        printf("        %3s:   x1 =%20.15f    y1 =%20.15f\n",
-          pcode, x1[0], y1[0]);
-        printf("              lng =%20.15f   lat =%20.15f\n",
-          lng1[0], lat1);
-        printf("               x2 =%20.15f    y2 =%20.15f\n",
-          x2[0], y2[0]);
+  } else {
+    drmax = 0.0;
+    for (j = 0; j < 25; j++) {
+      for (i = 0; i < 25; i++) {
+        dx = x2[j][i] - x1[i];
+        dy = y2[j][i] - y1[j];
+        dr = sqrt(dx*dx + dy*dy);
+
+        if (dr > drmax) drmax = dr;
+        if (dr > tol) {
+          nFail++;
+          printf("        %3s:   x1 =%20.15f    y1 =%20.15f\n",
+            pcode, x1[i], y1[j]);
+          printf("              lng =%20.15f   lat =%20.15f\n",
+            lngr[j][i], latr[j][i]);
+          printf("               x2 =%20.15f    y2 =%20.15f\n",
+            x2[j][i], y2[j][i]);
+        }
       }
     }
 
-    r /= 10.0;
-    theta += 15.0;
+    printf("             Maximum residual (ref):  dR%8.1e\n", drmax);
   }
 
-  printf("             Maximum residual (ref):  dR%8.1e\n", drmax);
-
   prjini(prj);
 
   return nFail;
diff --git a/C/test/tprj2.c b/C/test/tprj2.c
index c59e277..a4d573f 100644
--- a/C/test/tprj2.c
+++ b/C/test/tprj2.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tprj2.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tprj2.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tproj2 tests projection routines by plotting test graticules using PGPLOT.
diff --git a/C/test/tspc.c b/C/test/tspc.c
index 7d72ad0..e7d3a1b 100644
--- a/C/test/tspc.c
+++ b/C/test/tspc.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tspc.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tspc.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tspc tests the spectral transformation driver routines for closure.
diff --git a/C/test/tspcaips.c b/C/test/tspcaips.c
index 502282f..9bc8df6 100644
--- a/C/test/tspcaips.c
+++ b/C/test/tspcaips.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tspcaips.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tspcaips.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tspcaips does a quick test of spcaips().  Not part of the official test
diff --git a/C/test/tspcspxe.c b/C/test/tspcspxe.c
index ac49ebf..49fb201 100644
--- a/C/test/tspcspxe.c
+++ b/C/test/tspcspxe.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tspcspxe.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tspcspxe.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tspcspxe tests function spcspxe().  Not part of the official test suite.
diff --git a/C/test/tspctrne.c b/C/test/tspctrne.c
index 00bc16d..8d770c5 100644
--- a/C/test/tspctrne.c
+++ b/C/test/tspctrne.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tspctrne.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tspctrne.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tspctrne does a quick test of spctrne().  Not part of the official test
diff --git a/C/test/tsph.c b/C/test/tsph.c
index 40d41b6..cf45e2d 100644
--- a/C/test/tsph.c
+++ b/C/test/tsph.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tsph.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tsph.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tsph tests the spherical coordinate transformation routines for closure.
diff --git a/C/test/tsphdpa.c b/C/test/tsphdpa.c
index 1c28f88..3b64024 100644
--- a/C/test/tsphdpa.c
+++ b/C/test/tsphdpa.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tsphdpa.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tsphdpa.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tsphdpa tests sphdpa().
diff --git a/C/test/tspx.c b/C/test/tspx.c
index 91eb7e7..9923082 100644
--- a/C/test/tspx.c
+++ b/C/test/tspx.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tspx.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tspx.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tspx tests the spectral transformation routines for closure.
diff --git a/C/test/ttab1.c b/C/test/ttab1.c
index 9b68c7c..852fb86 100644
--- a/C/test/ttab1.c
+++ b/C/test/ttab1.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: ttab1.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: ttab1.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * ttab1 tests the -TAB routines for closure.
diff --git a/C/test/ttab2.c b/C/test/ttab2.c
index 0277b4a..6ea5611 100644
--- a/C/test/ttab2.c
+++ b/C/test/ttab2.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: ttab2.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: ttab2.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * ttab2 tests the -TAB routines using PGPLOT for graphical display.  It
diff --git a/C/test/ttab3.c b/C/test/ttab3.c
index fc81a13..ca5f286 100644
--- a/C/test/ttab3.c
+++ b/C/test/ttab3.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: ttab3.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: ttab3.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * ttab3 tests the -TAB routines using PGPLOT for graphical display.  It
@@ -120,19 +120,15 @@ int main()
 
   prjini(&prj);
   prj.pv[1] = 35.0;
-  status = bonx2s(&prj, K1, K2, 1, 2, x, y, tab.coord, tab.coord+1,
-                  (int *)stat);
 
-  dp = tab.coord;
-  for (j = 0; j < K2; j++) {
-    for (i = 0; i < K1; i++) {
-      if (stat[j][i]) {
-        *dp = 999.0;
-        *(dp+1) = 999.0;
-      }
-      dp += 2;
-    }
-  }
+  /* Disable bounds checking (or alternatively, simply ignore out-of-bounds
+     errors).  This is necessary to provide continuity beyond the -180 and
+     +180 meridians, noting that bonx2s() computes out-of-bounds values so
+     as to provide continuity. */
+  prj.bounds = 0;
+
+  status = bonx2s(&prj, K1, K2, 1, 2, x, y, tab.coord, tab.coord+1,
+                  stat[0]);
 
 
   /* Draw meridians. */
@@ -150,8 +146,7 @@ int main()
     world[0][0] = 0.0;
     world[180][0] = 0.0;
 
-    status = tabs2x(&tab, 181, 2, (double *)world, (double *)xy,
-                    (int *)stat);
+    status = tabs2x(&tab, 181, 2, world[0], xy[0], stat[0]);
 
     k = 0;
     for (j = 0; j < 181; j++) {
@@ -181,8 +176,7 @@ int main()
       world[j][1] = (double)ilat;
     }
 
-    status = tabs2x(&tab, 361, 2, (double *)world, (double *)xy,
-                    (int *)stat);
+    status = tabs2x(&tab, 361, 2, world[0], xy[0], stat[0]);
 
     k = 0;
     for (j = 0; j < 361; j++) {
diff --git a/C/test/tunits.c b/C/test/tunits.c
index f03865a..92d9bcd 100644
--- a/C/test/tunits.c
+++ b/C/test/tunits.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tunits.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tunits.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * tunits tests wcsulex(), wcsutrn(), and wcsunits() the FITS units
diff --git a/C/test/twcs.c b/C/test/twcs.c
index 7ba150b..8096735 100644
--- a/C/test/twcs.c
+++ b/C/test/twcs.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -23,7 +23,7 @@
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO,
      and: Michael Droetboom, Space Telescope Science Institute
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: twcs.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: twcs.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * twcs tests wcss2p() and wcsp2s() for closure on an oblique 2-D slice through
diff --git a/C/test/twcs_locale.c b/C/test/twcs_locale.c
index fe87008..fb6804e 100644
--- a/C/test/twcs_locale.c
+++ b/C/test/twcs_locale.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -23,7 +23,7 @@
   Author: Michael Droetboom, Space Telescope Science Institute,
      and: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: twcs_locale.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: twcs_locale.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * twcs_locale tests wcslib's handling of locales, such as fr_FR, that use a
diff --git a/C/test/twcsfix.c b/C/test/twcsfix.c
index 98ee888..76ca412 100644
--- a/C/test/twcsfix.c
+++ b/C/test/twcsfix.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: twcsfix.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: twcsfix.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * twcsfix tests the translation routines for non-standard WCS keyvalues, the
diff --git a/C/test/twcsfix.out b/C/test/twcsfix.out
index 7283908..05dc650 100644
--- a/C/test/twcsfix.out
+++ b/C/test/twcsfix.out
@@ -155,7 +155,7 @@ Changed CTYPE3 from 'FELO-HEL' to 'VOPT-F2W'.
               0           -1.8049    
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "orthographic/synthesis"
    category: 1 (zenithal)
@@ -335,7 +335,7 @@ Changed CTYPE3 from 'FELO-HEL' to 'VOPT-F2W'.
               0           -1.8049    
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "orthographic/synthesis"
    category: 1 (zenithal)
diff --git a/C/test/twcshdr.c b/C/test/twcshdr.c
index 91f12f8..6339851 100644
--- a/C/test/twcshdr.c
+++ b/C/test/twcshdr.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: twcshdr.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: twcshdr.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * twcshdr illustrates the steps required to read WCS information (including
diff --git a/C/test/twcsmix.c b/C/test/twcsmix.c
index e46ea8d..c3a17d1 100644
--- a/C/test/twcsmix.c
+++ b/C/test/twcsmix.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: twcsmix.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: twcsmix.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * twcsmix tests wcsmix() for closure on the 1 degree celestial graticule for
diff --git a/C/test/twcssub.c b/C/test/twcssub.c
index 59f66d1..1226a37 100644
--- a/C/test/twcssub.c
+++ b/C/test/twcssub.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: twcssub.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: twcssub.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * twcssub tests wcssub() which extracts the coordinate description for a
diff --git a/C/test/twcssub.out b/C/test/twcssub.out
index 7469984..753ab15 100644
--- a/C/test/twcssub.out
+++ b/C/test/twcssub.out
@@ -159,7 +159,7 @@ imgpix[3][]:  -0           -0           -0.20408     -1.0204
               2            210          60        
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "slant zenithal perspective"
    category: 1 (zenithal)
@@ -353,7 +353,7 @@ imgpix[3][]:   0            0            0            1
               2            210          60        
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "slant zenithal perspective"
    category: 1 (zenithal)
diff --git a/C/test/twcstab.c b/C/test/twcstab.c
index 40096f6..3018e01 100644
--- a/C/test/twcstab.c
+++ b/C/test/twcstab.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: twcstab.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: twcstab.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=============================================================================
 *
 * twcstab tests wcstab() and also provides sample code for using it in
diff --git a/C/test/twcstab.out b/C/test/twcstab.out
index 664aa33..f7de7ef 100644
--- a/C/test/twcstab.out
+++ b/C/test/twcstab.out
@@ -3246,7 +3246,7 @@ imgpix[3][]:   0            0           -1            1
          pv: (not used)
        phi0: UNDEFINED
      theta0: UNDEFINED
-     bounds: 3
+     bounds: 7
 
        name: "undefined"
    category: 0 (undefined)
diff --git a/C/test/wcstab.keyrec b/C/test/wcstab.keyrec
index 0a836f4..0dfd463 100644
--- a/C/test/wcstab.keyrec
+++ b/C/test/wcstab.keyrec
@@ -1,7 +1,7 @@
 #-----------------------------------------------------------------------------
 #
-# WCSLIB 4.20 - an implementation of the FITS WCS standard.
-# Copyright (C) 1995-2013, Mark Calabretta
+# WCSLIB 4.21 - an implementation of the FITS WCS standard.
+# Copyright (C) 1995-2014, Mark Calabretta
 #
 # This file is part of WCSLIB.
 #
@@ -22,7 +22,7 @@
 #
 # Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 # http://www.atnf.csiro.au/people/Mark.Calabretta
-# $Id: wcstab.keyrec,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+# $Id: wcstab.keyrec,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 #-----------------------------------------------------------------------------
 #
 # List of FITS header keyrecords used by 'twcstab' to construct a FITS file
diff --git a/C/test/xmmlss.hdr b/C/test/xmmlss.hdr
deleted file mode 100644
index 19adc2b..0000000
--- a/C/test/xmmlss.hdr
+++ /dev/null
@@ -1 +0,0 @@
-SIMPLE  =                    T / file does conform to FITS standard             BITPIX  =                  -32 / number of bits per data pixel                  NAXIS   =                    2 / number of data axes                            NAXIS1  =                 3840 / length of data axis 1                          NAXIS2  =                 3840 / length of data axis 2                          EXTEND  =                    T / FITS dataset may contain extensions            COMMENT   FI [...]
\ No newline at end of file
diff --git a/C/wcs.c b/C/wcs.c
index 5ec2050..29cbeb5 100644
--- a/C/wcs.c
+++ b/C/wcs.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcs.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcs.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <math.h>
diff --git a/C/wcs.h b/C/wcs.h
index 878bf8d..887af3f 100644
--- a/C/wcs.h
+++ b/C/wcs.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,10 +22,10 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcs.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcs.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
-* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System
+* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System
 * (WCS) standard.  Refer to
 *
 *   "Representations of world coordinates in FITS",
@@ -373,24 +373,28 @@
 *                         1: Null wcsprm pointer passed.
 *
 *
-* wcsbchk() - Enable/disable strict bounds checking
-* -------------------------------------------------
-* wcsbchk() is used to control strict bounds checking in the projection
-* routines.  Note that wcsset() always enables strict bounds checking.
-* wcsbchk() will invoke wcsset() on the wcsprm struct beforehand if necessary.
+* wcsbchk() - Enable/disable bounds checking
+* ------------------------------------------
+* wcsbchk() is used to control bounds checking in the projection routines.
+* Note that wcsset() always enables bounds checking.  wcsbchk() will invoke
+* wcsset() on the wcsprm struct beforehand if necessary.
 *
 * Given and returned:
 *   wcs       struct wcsprm*
 *                       Coordinate transformation parameters.
 *
 * Given:
-*   bounds    int       If bounds&1 then enable bounds checking for the
-*                       sky-to-pixel (s2x) transformation for the AZP, SZP,
-*                       TAN, SIN, ZPN, and COP projections.
+*   bounds    int       If bounds&1 then enable strict bounds checking for the
+*                       spherical-to-Cartesian (s2x) transformation for the
+*                       AZP, SZP, TAN, SIN, ZPN, and COP projections.
 *
-*                       If bounds&2 then enable bounds checking for the
-*                       pixel-to-sky transformation for the HPX and XPH
-*                       projections.
+*                       If bounds&2 then enable strict bounds checking for the
+*                       Cartesian-to-spherical (x2s) transformation for the
+*                       HPX and XPH projections.
+*
+*                       If bounds&4 then enable bounds checking on the native
+*                       coordinates returned by the Cartesian-to-spherical
+*                       (x2s) transformations using prjchk().
 *
 *                       Zero it to disable all checking.
 *
diff --git a/C/wcsbth.l b/C/wcsbth.l
index c224263..5631903 100644
--- a/C/wcsbth.l
+++ b/C/wcsbth.l
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsbth.l,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcsbth.l,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
 * wcsbth.l is a Flex description file containing the definition of a lexical
diff --git a/C/wcserr.c b/C/wcserr.c
index 8c0b468..63dcf64 100644
--- a/C/wcserr.c
+++ b/C/wcserr.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -23,7 +23,7 @@
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   Module author: Michael Droettboom
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcserr.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcserr.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <stdarg.h>
diff --git a/C/wcserr.h b/C/wcserr.h
index 969ccdd..33104c5 100644
--- a/C/wcserr.h
+++ b/C/wcserr.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -23,7 +23,7 @@
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   Module author: Michael Droettboom
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcserr.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcserr.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
 * Summary of the wcserr routines
diff --git a/C/wcsfix.c b/C/wcsfix.c
index 6c329fd..c8b587f 100644
--- a/C/wcsfix.c
+++ b/C/wcsfix.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsfix.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcsfix.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <math.h>
diff --git a/C/wcsfix.h b/C/wcsfix.h
index 0043f4e..219217c 100644
--- a/C/wcsfix.h
+++ b/C/wcsfix.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,10 +22,10 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsfix.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcsfix.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
-* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System
+* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System
 * (WCS) standard.  Refer to
 *
 *   "Representations of world coordinates in FITS",
diff --git a/C/wcshdr.c b/C/wcshdr.c
index f8ab8ce..4837bc0 100644
--- a/C/wcshdr.c
+++ b/C/wcshdr.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcshdr.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcshdr.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <ctype.h>
diff --git a/C/wcshdr.h b/C/wcshdr.h
index 323c64c..8663f73 100644
--- a/C/wcshdr.h
+++ b/C/wcshdr.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,10 +22,10 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcshdr.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcshdr.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
-* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System
+* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System
 * (WCS) standard.  Refer to
 *
 *   "Representations of world coordinates in FITS",
diff --git a/C/wcslib.h b/C/wcslib.h
index 04fb079..f32758f 100644
--- a/C/wcslib.h
+++ b/C/wcslib.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,10 +22,10 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcslib.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcslib.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
-* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System
+* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System
 * (WCS) standard.
 *
 * Summary of wcslib.h
diff --git a/C/wcsmath.h b/C/wcsmath.h
index 5a673d8..5a2c15e 100644
--- a/C/wcsmath.h
+++ b/C/wcsmath.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsmath.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcsmath.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
 * Summary of wcsmath.h
diff --git a/C/wcspih.l b/C/wcspih.l
index 08ef348..c95886e 100644
--- a/C/wcspih.l
+++ b/C/wcspih.l
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcspih.l,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcspih.l,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
 * wcspih.l is a Flex description file containing the definition of a lexical
diff --git a/C/wcsprintf.c b/C/wcsprintf.c
index 7090859..ba09834 100644
--- a/C/wcsprintf.c
+++ b/C/wcsprintf.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsprintf.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcsprintf.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <stdarg.h>
diff --git a/C/wcsprintf.h b/C/wcsprintf.h
index f9e6953..8a9813e 100644
--- a/C/wcsprintf.h
+++ b/C/wcsprintf.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,10 +22,10 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsprintf.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcsprintf.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
-* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System
+* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System
 * (WCS) standard.
 *
 * Summary of the wcsprintf routines
diff --git a/C/wcstrig.c b/C/wcstrig.c
index 4da762c..4cfebdf 100644
--- a/C/wcstrig.c
+++ b/C/wcstrig.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcstrig.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcstrig.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <math.h>
diff --git a/C/wcstrig.h b/C/wcstrig.h
index 2d7579f..46b6148 100644
--- a/C/wcstrig.h
+++ b/C/wcstrig.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcstrig.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcstrig.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
 * Summary of the wcstrig routines
diff --git a/C/wcsulex.l b/C/wcsulex.l
index 83160e9..cda26b2 100644
--- a/C/wcsulex.l
+++ b/C/wcsulex.l
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsulex.l,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcsulex.l,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
 * wcsulex.l is a Flex description file containing the definition of a
diff --git a/C/wcsunits.c b/C/wcsunits.c
index cd02c6a..362f04c 100644
--- a/C/wcsunits.c
+++ b/C/wcsunits.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsunits.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcsunits.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <math.h>
diff --git a/C/wcsunits.h b/C/wcsunits.h
index eba3009..dde0f71 100644
--- a/C/wcsunits.h
+++ b/C/wcsunits.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,10 +22,10 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsunits.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcsunits.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
-* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System
+* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System
 * (WCS) standard.  Refer to
 *
 *   "Representations of world coordinates in FITS",
diff --git a/C/wcsutil.c b/C/wcsutil.c
index ae33e8a..60ad4dc 100644
--- a/C/wcsutil.c
+++ b/C/wcsutil.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsutil.c,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcsutil.c,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *===========================================================================*/
 
 #include <ctype.h>
diff --git a/C/wcsutil.h b/C/wcsutil.h
index 2ea6ef1..c3a1be4 100644
--- a/C/wcsutil.h
+++ b/C/wcsutil.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsutil.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcsutil.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
 * Summary of the wcsutil routines
diff --git a/C/wcsutrn.l b/C/wcsutrn.l
index db35e9b..fceb001 100644
--- a/C/wcsutrn.l
+++ b/C/wcsutrn.l
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsutrn.l,v 4.20 2013/12/18 05:42:49 mcalabre Exp $
+  $Id: wcsutrn.l,v 4.21 2014/03/24 05:12:27 mcalabre Exp $
 *=============================================================================
 *
 * wcsutrn.l is a Flex description file containing the definition of a lexical
diff --git a/CHANGES b/CHANGES
index 27fee4c..dbe5a9d 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,28 @@
+WCSLIB version 4.21 (2014/03/24)
+--------------------------------
+
+* C library
+
+  - New function prjbchk() performs bounds checking on native spherical
+    coordinates.  It is invoked automatically by the deprojection (x2s)
+    routines if prjprm::bounds&4 is set.  Documented the new bounds
+    checking implemented by prjbchk() in the prologue entry for
+    wcsbchk().  Improvements to tprj1 to test the vector API of prjx2s()
+    and to deal better with out-of-bounds native coordinates returned by
+    it.
+
+  - Bug fixes in the projection routines: in hpxx2s() relating to bounds
+    checking, bug introduced at 4.20, reported by Michael Droettboom; in
+    parx2s() and molx2s() relating to setting the stat vector; in
+    hpxx2s() relating to implementation of the vector API; and in
+    xphx2s() relating to setting an out-of-bounds value of phi.
+
+* Fortran wrappers
+
+  - Wrapper for prjbchk().  Modified tprj1.f to track changes to the C
+    version.
+
+
 WCSLIB version 4.20 (2013/12/18)
 --------------------------------
 
@@ -9,7 +34,7 @@ WCSLIB version 4.20 (2013/12/18)
   - Enable bounds checking in the pixel-to-sky (x2s) direction for HPX
     and XPH if prjprm::bounds&2.  Tightened bounds checking in xphx2s().
     prjini() now sets prjprm::bounds = 3 to enable all bounds checking
-    by default. 
+    by default.
 
   - Fixed an incorrect error message in wcs_units().  Also report
     potentially unsafe units translations in unitfix() - both
@@ -2073,4 +2098,4 @@ WCSLIB version 1.0 (1995/01/31)
   Initial release.
 
 ------------------------------------------------------------------------
-$Id: CHANGES,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+$Id: CHANGES,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
diff --git a/Fortran/GNUmakefile b/Fortran/GNUmakefile
index f4c9518..89b3f63 100644
--- a/Fortran/GNUmakefile
+++ b/Fortran/GNUmakefile
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# GNU makefile for building the WCSLIB 4.20 FORTRAN wrappers.
+# GNU makefile for building the WCSLIB 4.21 FORTRAN wrappers.
 #
 # Summary of the main targets
 # ---------------------------
@@ -29,7 +29,7 @@
 #   1) If you need to make changes then preferably modify ../makedefs.in
 #      instead and re-run configure.
 #
-#   2) This makefile assumes that the WCSLIB 4.20 sources reside in ../C
+#   2) This makefile assumes that the WCSLIB 4.21 sources reside in ../C
 #      (as in the distribution kit).
 #
 #   3) twcstab assumes that ../C/wcstab.fits has already been generated by
@@ -37,7 +37,7 @@
 #
 # Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 # http://www.atnf.csiro.au/people/Mark.Calabretta
-# $Id: GNUmakefile,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+# $Id: GNUmakefile,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 #-----------------------------------------------------------------------------
 # Get configure settings.
 include ../makedefs
diff --git a/Fortran/cel.inc b/Fortran/cel.inc
index fa5c9e2..d5a11fc 100644
--- a/Fortran/cel.inc
+++ b/Fortran/cel.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: cel.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: cel.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     Functions.
diff --git a/Fortran/cel_data.f b/Fortran/cel_data.f
index 139b9a3..afc1c83 100644
--- a/Fortran/cel_data.f
+++ b/Fortran/cel_data.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: cel_data.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: cel_data.f,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
       BLOCK DATA CEL_BLOCK_DATA
diff --git a/Fortran/cel_f.c b/Fortran/cel_f.c
index e826e37..eaba058 100644
--- a/Fortran/cel_f.c
+++ b/Fortran/cel_f.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: cel_f.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: cel_f.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *===========================================================================*/
 
 #include <stdio.h>
diff --git a/Fortran/fitshdr.inc b/Fortran/fitshdr.inc
index 3ed5720..bb66a98 100644
--- a/Fortran/fitshdr.inc
+++ b/Fortran/fitshdr.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: fitshdr.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: fitshdr.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     Functions.
diff --git a/Fortran/fitshdr_data.f b/Fortran/fitshdr_data.f
index 26d41ce..63b3476 100644
--- a/Fortran/fitshdr_data.f
+++ b/Fortran/fitshdr_data.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: fitshdr_data.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: fitshdr_data.f,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
       BLOCK DATA FITSHDR_BLOCK_DATA
diff --git a/Fortran/fitshdr_f.c b/Fortran/fitshdr_f.c
index 41645bc..d42248c 100644
--- a/Fortran/fitshdr_f.c
+++ b/Fortran/fitshdr_f.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: fitshdr_f.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: fitshdr_f.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *===========================================================================*/
 
 #include <stdio.h>
diff --git a/Fortran/getwcstab.inc b/Fortran/getwcstab.inc
index 8dda662..de9e248 100644
--- a/Fortran/getwcstab.inc
+++ b/Fortran/getwcstab.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: getwcstab.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: getwcstab.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     Functions.
diff --git a/Fortran/getwcstab_f.c b/Fortran/getwcstab_f.c
index f8bd238..e2e8b91 100644
--- a/Fortran/getwcstab_f.c
+++ b/Fortran/getwcstab_f.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: getwcstab_f.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: getwcstab_f.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *===========================================================================*/
 
 #include <getwcstab.h>
diff --git a/Fortran/lin.inc b/Fortran/lin.inc
index fd255bf..2a7db41 100644
--- a/Fortran/lin.inc
+++ b/Fortran/lin.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: lin.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: lin.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     Functions.
diff --git a/Fortran/lin_data.f b/Fortran/lin_data.f
index e341a41..29cf2cb 100644
--- a/Fortran/lin_data.f
+++ b/Fortran/lin_data.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: lin_data.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: lin_data.f,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
       BLOCK DATA LIN_BLOCK_DATA
diff --git a/Fortran/lin_f.c b/Fortran/lin_f.c
index f0723c4..0ce8cce 100644
--- a/Fortran/lin_f.c
+++ b/Fortran/lin_f.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: lin_f.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: lin_f.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *===========================================================================*/
 
 #include <stdio.h>
diff --git a/Fortran/log.inc b/Fortran/log.inc
index b07ce90..bf07003 100644
--- a/Fortran/log.inc
+++ b/Fortran/log.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: log.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: log.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     Functions.
diff --git a/Fortran/log_data.f b/Fortran/log_data.f
index 4c5997f..8119483 100644
--- a/Fortran/log_data.f
+++ b/Fortran/log_data.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: log_data.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: log_data.f,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
       BLOCK DATA LOG_BLOCK_DATA
diff --git a/Fortran/log_f.c b/Fortran/log_f.c
index 2bef74a..0dd03a5 100644
--- a/Fortran/log_f.c
+++ b/Fortran/log_f.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: log_f.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: log_f.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *===========================================================================*/
 
 #include <log.h>
diff --git a/Fortran/prj.inc b/Fortran/prj.inc
index 2751138..1c92fcb 100644
--- a/Fortran/prj.inc
+++ b/Fortran/prj.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,41 +22,46 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: prj.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: prj.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     Functions.
-      EXTERNAL  PRJFREE, PRJGET, PRJGTC, PRJGTD, PRJGTI, PRJINI, PRJPRT,
-     :          PRJPTC,  PRJPTD, PRJPTI, PRJPUT, PRJS2X, PRJSET, PRJX2S
-      INTEGER   PRJFREE, PRJGET, PRJGTC, PRJGTD, PRJGTI, PRJINI, PRJPRT,
-     :          PRJPTC,  PRJPTD, PRJPTI, PRJPUT, PRJS2X, PRJSET, PRJX2S
+      EXTERNAL  PRJBCHK, PRJFREE, PRJGET, PRJGTC, PRJGTD, PRJGTI,
+     :          PRJINI,  PRJPRT,  PRJPTC, PRJPTD, PRJPTI, PRJPUT,
+     :          PRJS2X,  PRJSET,  PRJX2S
+      INTEGER   PRJBCHK, PRJFREE, PRJGET, PRJGTC, PRJGTD, PRJGTI,
+     :          PRJINI,  PRJPRT,  PRJPTC, PRJPTD, PRJPTI, PRJPUT,
+     :          PRJS2X,  PRJSET,  PRJX2S
 
-      EXTERNAL  AZPSET, AZPX2S, AZPS2X,    SFLSET, SFLX2S, SFLS2X,
-     :          SZPSET, SZPX2S, SZPS2X,    PARSET, PARX2S, PARS2X,
-     :          TANSET, TANX2S, TANS2X,    MOLSET, MOLX2S, MOLS2X,
-     :          STGSET, STGX2S, STGS2X,    AITSET, AITX2S, AITS2X,
-     :          SINSET, SINX2S, SINS2X,    COPSET, COPX2S, COPS2X,
-     :          ARCSET, ARCX2S, ARCS2X,    COESET, COEX2S, COES2X,
-     :          ZPNSET, ZPNX2S, ZPNS2X,    CODSET, CODX2S, CODS2X,
-     :          ZEASET, ZEAX2S, ZEAS2X,    COOSET, COOX2S, COOS2X,
-     :          AIRSET, AIRX2S, AIRS2X,    BONSET, BONX2S, BONS2X,
-     :          CYPSET, CYPX2S, CYPS2X,    PCOSET, PCOX2S, PCOS2X,
-     :          CEASET, CEAX2S, CEAS2X,    TSCSET, TSCX2S, TSCS2X,
-     :          CARSET, CARX2S, CARS2X,    CSCSET, CSCX2S, CSCS2X,
-     :          MERSET, MERX2S, MERS2X,    QSCSET, QSCX2S, QSCS2X
-      INTEGER   AZPSET, AZPX2S, AZPS2X,    SFLSET, SFLX2S, SFLS2X,
-     :          SZPSET, SZPX2S, SZPS2X,    PARSET, PARX2S, PARS2X,
-     :          TANSET, TANX2S, TANS2X,    MOLSET, MOLX2S, MOLS2X,
-     :          STGSET, STGX2S, STGS2X,    AITSET, AITX2S, AITS2X,
-     :          SINSET, SINX2S, SINS2X,    COPSET, COPX2S, COPS2X,
-     :          ARCSET, ARCX2S, ARCS2X,    COESET, COEX2S, COES2X,
-     :          ZPNSET, ZPNX2S, ZPNS2X,    CODSET, CODX2S, CODS2X,
-     :          ZEASET, ZEAX2S, ZEAS2X,    COOSET, COOX2S, COOS2X,
-     :          AIRSET, AIRX2S, AIRS2X,    BONSET, BONX2S, BONS2X,
-     :          CYPSET, CYPX2S, CYPS2X,    PCOSET, PCOX2S, PCOS2X,
-     :          CEASET, CEAX2S, CEAS2X,    TSCSET, TSCX2S, TSCS2X,
-     :          CARSET, CARX2S, CARS2X,    CSCSET, CSCX2S, CSCS2X,
-     :          MERSET, MERX2S, MERS2X,    QSCSET, QSCX2S, QSCS2X
+      EXTERNAL  AZPSET, AZPX2S, AZPS2X,    PARSET, PARX2S, PARS2X,
+     :          SZPSET, SZPX2S, SZPS2X,    MOLSET, MOLX2S, MOLS2X,
+     :          TANSET, TANX2S, TANS2X,    AITSET, AITX2S, AITS2X,
+     :          STGSET, STGX2S, STGS2X,    COPSET, COPX2S, COPS2X,
+     :          SINSET, SINX2S, SINS2X,    COESET, COEX2S, COES2X,
+     :          ARCSET, ARCX2S, ARCS2X,    CODSET, CODX2S, CODS2X,
+     :          ZPNSET, ZPNX2S, ZPNS2X,    COOSET, COOX2S, COOS2X,
+     :          ZEASET, ZEAX2S, ZEAS2X,    BONSET, BONX2S, BONS2X,
+     :          AIRSET, AIRX2S, AIRS2X,    PCOSET, PCOX2S, PCOS2X,
+     :          CYPSET, CYPX2S, CYPS2X,    TSCSET, TSCX2S, TSCS2X,
+     :          CEASET, CEAX2S, CEAS2X,    CSCSET, CSCX2S, CSCS2X,
+     :          CARSET, CARX2S, CARS2X,    QSCSET, QSCX2S, QSCS2X
+     :          MERSET, MERX2S, MERS2X,    HPXSET, HPXX2S, HPXS2X
+     :          SFLSET, SFLX2S, SFLS2X,    XPHSET, XPHX2S, XPHS2X
+
+      INTEGER   AZPSET, AZPX2S, AZPS2X,    PARSET, PARX2S, PARS2X,
+     :          SZPSET, SZPX2S, SZPS2X,    MOLSET, MOLX2S, MOLS2X,
+     :          TANSET, TANX2S, TANS2X,    AITSET, AITX2S, AITS2X,
+     :          STGSET, STGX2S, STGS2X,    COPSET, COPX2S, COPS2X,
+     :          SINSET, SINX2S, SINS2X,    COESET, COEX2S, COES2X,
+     :          ARCSET, ARCX2S, ARCS2X,    CODSET, CODX2S, CODS2X,
+     :          ZPNSET, ZPNX2S, ZPNS2X,    COOSET, COOX2S, COOS2X,
+     :          ZEASET, ZEAX2S, ZEAS2X,    BONSET, BONX2S, BONS2X,
+     :          AIRSET, AIRX2S, AIRS2X,    PCOSET, PCOX2S, PCOS2X,
+     :          CYPSET, CYPX2S, CYPS2X,    TSCSET, TSCX2S, TSCS2X,
+     :          CEASET, CEAX2S, CEAS2X,    CSCSET, CSCX2S, CSCS2X,
+     :          CARSET, CARX2S, CARS2X,    QSCSET, QSCX2S, QSCS2X
+     :          MERSET, MERX2S, MERS2X,    HPXSET, HPXX2S, HPXS2X
+     :          SFLSET, SFLX2S, SFLS2X,    XPHSET, XPHX2S, XPHS2X
 
 *     Length of the PRJPRM data structure (INTEGER array) on 64-bit
 *     machines.  Only needs to be 116 on 32-bit machines.
diff --git a/Fortran/prj_data.f b/Fortran/prj_data.f
index 4f093ed..9fe07e9 100644
--- a/Fortran/prj_data.f
+++ b/Fortran/prj_data.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: prj_data.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: prj_data.f,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
       BLOCK DATA PRJ_BLOCK_DATA
diff --git a/Fortran/prj_f.c b/Fortran/prj_f.c
index 4342de1..b8617fa 100644
--- a/Fortran/prj_f.c
+++ b/Fortran/prj_f.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: prj_f.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: prj_f.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *===========================================================================*/
 
 #include <stdio.h>
@@ -37,6 +37,7 @@
 #define prjget_  F77_FUNC(prjget,  PRJGET)
 #define prjfree_ F77_FUNC(prjfree, PRJFREE)
 #define prjprt_  F77_FUNC(prjprt,  PRJPRT)
+#define prjbchk_ F77_FUNC(prjbchk, PRJBCHK)
 
 #define prjptc_  F77_FUNC(prjptc,  PRJPTC)
 #define prjptd_  F77_FUNC(prjptd,  PRJPTD)
@@ -275,6 +276,21 @@ int prjprt_(int *prj)
 
 /*--------------------------------------------------------------------------*/
 
+int prjbchk_(
+  const double *tol,
+  const int *nphi,
+  const int *ntheta,
+  const int *spt,
+  double phi[],
+  double theta[],
+  int stat[])
+
+{
+  return prjbchk(*tol, *nphi, *ntheta, *spt, phi, theta, stat);
+}
+
+/*--------------------------------------------------------------------------*/
+
 #define PRJSET_FWRAP(pcode, PCODE) \
   int F77_FUNC(pcode##set, PCODE##SET)(int *prj) \
   {return prjset((struct prjprm *)prj);}
diff --git a/Fortran/spc.inc b/Fortran/spc.inc
index aaad7bc..b6790d4 100644
--- a/Fortran/spc.inc
+++ b/Fortran/spc.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: spc.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: spc.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     Functions.
diff --git a/Fortran/spc_data.f b/Fortran/spc_data.f
index 07cfede..1b3fa89 100644
--- a/Fortran/spc_data.f
+++ b/Fortran/spc_data.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: spc_data.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: spc_data.f,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
       BLOCK DATA SPC_BLOCK_DATA
diff --git a/Fortran/spc_f.c b/Fortran/spc_f.c
index 7799187..9a9a571 100644
--- a/Fortran/spc_f.c
+++ b/Fortran/spc_f.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: spc_f.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: spc_f.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *===========================================================================*/
 
 #include <stdio.h>
diff --git a/Fortran/sph.inc b/Fortran/sph.inc
index 098b660..fd12ae7 100644
--- a/Fortran/sph.inc
+++ b/Fortran/sph.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: sph.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: sph.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     Functions.
diff --git a/Fortran/sph_f.c b/Fortran/sph_f.c
index 7e3975e..97e0c6b 100644
--- a/Fortran/sph_f.c
+++ b/Fortran/sph_f.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: sph_f.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: sph_f.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *===========================================================================*/
 
 #include <sph.h>
diff --git a/Fortran/spx.inc b/Fortran/spx.inc
index 5379c02..55f0c44 100644
--- a/Fortran/spx.inc
+++ b/Fortran/spx.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: spx.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: spx.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     Functions.
diff --git a/Fortran/spx_data.f b/Fortran/spx_data.f
index 3a141b9..cc25605 100644
--- a/Fortran/spx_data.f
+++ b/Fortran/spx_data.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: spx_data.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: spx_data.f,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
       BLOCK DATA SPX_BLOCK_DATA
diff --git a/Fortran/spx_f.c b/Fortran/spx_f.c
index e8b46ed..53ec5ad 100644
--- a/Fortran/spx_f.c
+++ b/Fortran/spx_f.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: spx_f.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: spx_f.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *===========================================================================*/
 
 #include <string.h>
diff --git a/Fortran/tab.inc b/Fortran/tab.inc
index 1b7e9f0..bc70ac0 100644
--- a/Fortran/tab.inc
+++ b/Fortran/tab.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: tab.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: tab.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     Functions.
diff --git a/Fortran/tab_data.f b/Fortran/tab_data.f
index 125d68c..1c2c77e 100644
--- a/Fortran/tab_data.f
+++ b/Fortran/tab_data.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: tab_data.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: tab_data.f,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
       BLOCK DATA TAB_BLOCK_DATA
diff --git a/Fortran/tab_f.c b/Fortran/tab_f.c
index 66a2353..faf2444 100644
--- a/Fortran/tab_f.c
+++ b/Fortran/tab_f.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: tab_f.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: tab_f.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *===========================================================================*/
 
 #include <stdio.h>
diff --git a/Fortran/test/tcel1.f b/Fortran/test/tcel1.f
index d7275fa..b9aa469 100644
--- a/Fortran/test/tcel1.f
+++ b/Fortran/test/tcel1.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: tcel1.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: tcel1.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TCEL1
diff --git a/Fortran/test/tfitshdr.f b/Fortran/test/tfitshdr.f
index b4580a7..646bd13 100644
--- a/Fortran/test/tfitshdr.f
+++ b/Fortran/test/tfitshdr.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: tfitshdr.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: tfitshdr.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TFITSHDR
diff --git a/Fortran/test/tlin.f b/Fortran/test/tlin.f
index 2c11b2d..fde8b20 100644
--- a/Fortran/test/tlin.f
+++ b/Fortran/test/tlin.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: tlin.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: tlin.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TLIN
diff --git a/Fortran/test/tlog.f b/Fortran/test/tlog.f
index 370ca14..5238618 100644
--- a/Fortran/test/tlog.f
+++ b/Fortran/test/tlog.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: tlog.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: tlog.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TLOG
diff --git a/Fortran/test/tpih1.f b/Fortran/test/tpih1.f
index c90d4ce..158c316 100644
--- a/Fortran/test/tpih1.f
+++ b/Fortran/test/tpih1.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: tpih1.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: tpih1.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TPIH1
diff --git a/Fortran/test/tpih1.out b/Fortran/test/tpih1.out
index c7f1232..8ae3ab7 100644
--- a/Fortran/test/tpih1.out
+++ b/Fortran/test/tpih1.out
@@ -237,7 +237,7 @@ imgpix[3][]:   0            0            0            1
          pv: (not used)
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "gnomonic"
    category: 1 (zenithal)
@@ -434,7 +434,7 @@ imgpix[3][]:   0            0            0            1
               0            180          45        
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "slant zenithal perspective"
    category: 1 (zenithal)
@@ -630,7 +630,7 @@ imgpix[2][]:  -0           -0           -21905
               0            0            0            0         
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "zenithal/azimuthal polynomial"
    category: 1 (zenithal)
diff --git a/Fortran/test/tpih2.f b/Fortran/test/tpih2.f
index c58cc4e..9ecb44f 100644
--- a/Fortran/test/tpih2.f
+++ b/Fortran/test/tpih2.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: tpih2.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: tpih2.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TPIH2
diff --git a/Fortran/test/tprj1.f b/Fortran/test/tprj1.f
index 188caa0..5c082c3 100644
--- a/Fortran/test/tprj1.f
+++ b/Fortran/test/tprj1.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: tprj1.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: tprj1.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TPRJ1
@@ -207,11 +207,12 @@
 *      SOUTH    I        Southern cutoff latitude, degrees.
 *      TOL      D        Reporting tolerance, degrees.
 *-----------------------------------------------------------------------
-      INTEGER   J, LAT, LNG, NFAIL, NORTH, SOUTH, STAT1(361),
-     :          STAT2(361), STATUS
-      DOUBLE PRECISION DLAT, DLATMX, DLNG, DLNGMX, DR, DRMAX, LAT1,
-     :          LAT2(361), LNG1(361), LNG2(361), PV(0:29), R, THETA,
-     :          TOL, X(361), X1(361), X2(361), Y(361), Y1(361), Y2(361)
+      INTEGER   I, J, LAT, LNG, NFAIL, NORTH, SOUTH, STAT1(361),
+     :          STAT2(361), STATR(25,25), STATUS
+      DOUBLE PRECISION DLAT, DLATMX, DLNG, DLNGMX, DR, DRMAX, DX, DY,
+     :          LAT1, LAT2(361), LATR(25,25), LNG1(361), LNG2(361),
+     :          LNGR(25,25), PV(0:29), R, TOL, X(361), X1(25),
+     :          X2(25,25), Y(361), Y1(25), Y2(25,25)
       CHARACTER PCODE*3
 
 *     On some systems, such as Sun Sparc, the struct MUST be aligned
@@ -246,7 +247,7 @@
       DLNGMX = 0D0
       DLATMX = 0D0
 
-      DO 80 LAT = NORTH, SOUTH, -1
+      DO 90 LAT = NORTH, SOUTH, -1
         LAT1 = DBLE(LAT)
 
         J = 1
@@ -259,26 +260,29 @@
         IF (STATUS.EQ.1) THEN
           WRITE (*, 40) PCODE, STATUS
  40       FORMAT (3X,A3,'(S2X) ERROR',I2)
-          GO TO 80
+          GO TO 90
         END IF
 
         STATUS = PRJX2S (PRJ, 361, 0, 1, 1, X, Y, LNG2, LAT2, STAT2)
         IF (STATUS.EQ.1) THEN
           WRITE (*, 50) PCODE, STATUS
  50       FORMAT (3X,A3,'(X2S) ERROR',I2)
-          GO TO 80
+          GO TO 90
         END IF
 
         LNG = -180
-        DO 70 J = 1, 361
-          IF (STAT1(J).NE.0) GO TO 70
+        DO 80 J = 1, 361
+          IF (STAT1(J).NE.0) GO TO 80
 
           IF (STAT2(J).NE.0) THEN
-            WRITE (*, 55) PCODE, LNG1(J), LAT1, X(J), Y(J), STAT2(J)
- 55         FORMAT (3X,A3,'(X2S): lng1 =',F20.15,'  lat1 =',F20.15,/,
-     :              '                x =',F20.15,'     y =',F20.15,
+            NFAIL = NFAIL + 1
+            WRITE (*, 60) PCODE, LNG1(J), LAT1, X(J), Y(J), LNG2(J),
+     :                    LAT2(J), STAT2(J)
+ 60         FORMAT (3X,A3,'(X2S): lng1 =',F20.15,'  lat1 =',F20.15,/,
+     :              '                x =',F20.15,'     y =',F20.15,/,
+     :              '             lng2 =',F20.15,'  lat2 =',F20.15,
      :              '  ERROR',I3)
-            GO TO 70
+            GO TO 80
           END IF
 
           DLNG = ABS(LNG2(J) - LNG1(J))
@@ -289,71 +293,77 @@
 
           IF (DLAT.GT.TOL) THEN
             NFAIL = NFAIL + 1
-            WRITE (*, 60) PCODE, LNG1(J), LAT1, X(J), Y(J), LNG2(J),
+            WRITE (*, 70) PCODE, LNG1(J), LAT1, X(J), Y(J), LNG2(J),
      :                    LAT2(J)
- 60         FORMAT (8X,A3,': lng1 =',F20.15,'  lat1 =',F20.15,/,
+ 70         FORMAT (8X,A3,': lng1 =',F20.15,'  lat1 =',F20.15,/,
      :              8X,'        x =',F20.15,'     y =',F20.15,/,
      :              8X,'     lng2 =',F20.15,'  lat2 =',F20.15)
           ELSE IF (ABS(LAT).NE.90) THEN
             IF (DLNG.GT.TOL) THEN
               NFAIL = NFAIL + 1
-              WRITE (*, 60) PCODE, LNG1(J), LAT1, X(J), Y(J),
+              WRITE (*, 70) PCODE, LNG1(J), LAT1, X(J), Y(J),
      :                      LNG2(J), LAT2(J)
              END IF
           END IF
- 70     CONTINUE
- 80   CONTINUE
+ 80     CONTINUE
+ 90   CONTINUE
 
-      WRITE (*, 90) DLNGMX, DLATMX
- 90   FORMAT (13X,'Maximum residual (sky): lng',1P,E8.1,'   lat',E8.1)
+      WRITE (*, 100) DLNGMX, DLATMX
+ 100  FORMAT (13X,'Maximum residual (sky): lng',1P,E8.1,'   lat',E8.1)
 
 
 *     Test closure at points close to the reference point.
-      R = 1.0
-      THETA = -180D0
-
-      DRMAX = 0D0
+      R = 1D0
+      X1(13) = 0D0
+      Y1(13) = 0D0
+      DO 110 I = 1, 12
+        X1(I) = -R
+        Y1(I) = -R
+        X1(26-I) = R
+        Y1(26-I) = R
+
+        R = R / 10D0
+ 110  CONTINUE
+
+      STATUS = PRJX2S (PRJ, 25, 25, 1, 1, X1, Y1, LNGR, LATR, STATR)
+      IF (STATUS.NE.0) THEN
+        WRITE (*, 120) PCODE, STATUS
+ 120    FORMAT (8X,A3,'(X2S): ERROR',I3)
+        GO TO 999
+      END IF
 
-      DO 140 J = 1, 12
-        X1(1) = R*COS(THETA*D2R)
-        Y1(1) = R*SIN(THETA*D2R)
+      STATUS = PRJS2X (PRJ, 625, 0, 1, 1, LNGR, LATR, X2, Y2, STATR)
+      IF (STATUS.NE.0) THEN
+        WRITE (*, 130) PCODE, STATUS
+ 130    FORMAT (3X,A3,' ERROR',I3)
+        GO TO 999
+      END IF
 
-        STATUS = PRJX2S (PRJ, 1, 1, 1, 1, X1, Y1, LNG1, LAT1, STAT2)
-        IF (STATUS.NE.0) THEN
-          WRITE (*, 100) PCODE, X1(1), Y1(1), STATUS
- 100      FORMAT (8X,A3,'(X2S):   x1 =',F20.15,'    y1 =',F20.15,
-     :            '  ERROR',I3)
-          GO TO 130
-        END IF
+      DRMAX = 0D0
 
-        STATUS = PRJS2X (PRJ, 1, 1, 1, 1, LNG1, LAT1, X2, Y2, STAT1)
-        IF (STATUS.NE.0) THEN
-          WRITE (*, 110) PCODE, X1(1), Y1(1), LNG1(1), LAT1, STATUS
- 110      FORMAT (3X,A3,':   x1 =',F20.15,'    y1 =',F20.15,/,
-     :            3X,'      lng =',F20.15,'   lat =',F20.15,'  ERROR',
-     :            I3)
-          GO TO 130
-        END IF
+      DO 160 J = 1, 25
+        DO 150 I = 1, 25
+          DX = X2(I,J) - X1(I)
+          DY = Y2(I,J) - Y1(J)
+          DR = SQRT(DX*DX + DY*DY)
 
-        DR = SQRT((X2(1)-X1(1))**2 + (Y2(1)-Y1(1))**2)
-        IF (DR.GT.DRMAX) DRMAX = DR
-        IF (DR.GT.TOL) THEN
-          NFAIL = NFAIL + 1
-          WRITE (*, 120) PCODE, X1(1), Y1(1), LNG1(1), LAT1, X2(1),
-     :                   Y2(1)
- 120      FORMAT (8X,A3,':   x1 =',F20.15,'    y1 =',F20.15,/,
-     :            8X,'      lng =',F20.15,'   lat =',F20.15,/,
-     :            8X,'       x2 =',F20.15,'    y2 =',F20.15)
-        END IF
+          IF (DR.GT.DRMAX) DRMAX = DR
+          IF (DR.GT.TOL) THEN
+            NFAIL = NFAIL + 1
+            WRITE (*, 140) PCODE, X1(I), Y1(J), LNGR(I,J), LATR(I,J),
+     :                     X2(I,J), Y2(I,J)
+ 140        FORMAT (8X,A3,':   x1 =',F20.15,'    y1 =',F20.15,/,
+     :              8X,'      lng =',F20.15,'   lat =',F20.15,/,
+     :              8X,'       x2 =',F20.15,'    y2 =',F20.15)
+          END IF
+ 150    CONTINUE
+ 160  CONTINUE
 
- 130    R = R/10D0
-        THETA = THETA + 15D0
- 140  CONTINUE
 
-      WRITE (*, 150) DRMAX
- 150  FORMAT (13X,'Maximum residual (ref):  dR',1PE8.1)
+      WRITE (*, 170) DRMAX
+ 170  FORMAT (13X,'Maximum residual (ref):  dR',1PE8.1)
 
 
-      PROJEX = NFAIL
+ 999  PROJEX = NFAIL
 
       END
diff --git a/Fortran/test/tprj2.f b/Fortran/test/tprj2.f
index 5c18ed8..0d88bf2 100644
--- a/Fortran/test/tprj2.f
+++ b/Fortran/test/tprj2.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: tprj2.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: tprj2.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TPRJ2
diff --git a/Fortran/test/tspc.f b/Fortran/test/tspc.f
index b39ca55..5c2cabc 100644
--- a/Fortran/test/tspc.f
+++ b/Fortran/test/tspc.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: tspc.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: tspc.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TSPC
diff --git a/Fortran/test/tsph.f b/Fortran/test/tsph.f
index cde3fe1..1736529 100644
--- a/Fortran/test/tsph.f
+++ b/Fortran/test/tsph.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: tsph.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: tsph.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TSPH
diff --git a/Fortran/test/tspx.f b/Fortran/test/tspx.f
index aa8978d..84656a1 100644
--- a/Fortran/test/tspx.f
+++ b/Fortran/test/tspx.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: tspx.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: tspx.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TSPX
diff --git a/Fortran/test/ttab1.f b/Fortran/test/ttab1.f
index ca595b8..8068d40 100644
--- a/Fortran/test/ttab1.f
+++ b/Fortran/test/ttab1.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: ttab1.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: ttab1.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TTAB1
diff --git a/Fortran/test/ttab2.f b/Fortran/test/ttab2.f
index ad7ff55..778e607 100644
--- a/Fortran/test/ttab2.f
+++ b/Fortran/test/ttab2.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: ttab2.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: ttab2.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TTAB2
diff --git a/Fortran/test/ttab3.f b/Fortran/test/ttab3.f
index 141f780..a310b31 100644
--- a/Fortran/test/ttab3.f
+++ b/Fortran/test/ttab3.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: ttab3.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: ttab3.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TTAB3
@@ -113,18 +113,20 @@
  60   CONTINUE
 
       STATUS = PRJINI (PRJ)
-      STATUS = PRJPUT (PRJ, PRJ_PV, 35D0, 1)
+      STATUS = PRJPTD (PRJ, PRJ_PV, 35D0, 1)
+
+*     Disable bounds checking (or alternatively, simply ignore
+*     out-of-bounds errors).  This is necessary to provide continuity
+*     beyond the -180 and +180 meridians, noting that bonx2s() computes
+*     out-of-bounds values so as to provide continuity.
+      STATUS = PRJPTI (PRJ, PRJ_BOUNDS, 0, 0)
+
       STATUS = BONX2S (PRJ, K1, K2, 1, 2, X, Y, COORD(1,1,1),
      :                 COORD(2,1,1), STAT)
 
       IK = 1
       DO 80 J = 1, K2
         DO 70 I = 1, K1
-          IF (STAT(I,J).NE.0) THEN
-            COORD(1,I,J) = 999D0
-            COORD(2,I,J) = 999D0
-          END IF
-
           STATUS = TABPUT (TAB, TAB_COORD, COORD(1,I,J), IK, 0)
           STATUS = TABPUT (TAB, TAB_COORD, COORD(2,I,J), IK+1, 0)
           IK = IK + 2
diff --git a/Fortran/test/tunits.f b/Fortran/test/tunits.f
index 013bea3..65d43e1 100644
--- a/Fortran/test/tunits.f
+++ b/Fortran/test/tunits.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: tunits.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: tunits.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TUNITS
diff --git a/Fortran/test/twcs.f b/Fortran/test/twcs.f
index f8d7be7..93d25df 100644
--- a/Fortran/test/twcs.f
+++ b/Fortran/test/twcs.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: twcs.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: twcs.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TWCS
diff --git a/Fortran/test/twcsfix.f b/Fortran/test/twcsfix.f
index d120ef1..d752967 100644
--- a/Fortran/test/twcsfix.f
+++ b/Fortran/test/twcsfix.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: twcsfix.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: twcsfix.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TWCSFIX
diff --git a/Fortran/test/twcsfix.out b/Fortran/test/twcsfix.out
index 22110df..9336a42 100644
--- a/Fortran/test/twcsfix.out
+++ b/Fortran/test/twcsfix.out
@@ -146,7 +146,7 @@ WCSFIX status returns: (-1, 0, 0, 0, 0,-1)
               0           -1.8049    
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "orthographic/synthesis"
    category: 1 (zenithal)
@@ -326,7 +326,7 @@ WCSFIX status returns: (-1, 0, 0, 0, 0,-1)
               0           -1.8049    
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "orthographic/synthesis"
    category: 1 (zenithal)
diff --git a/Fortran/test/twcsmix.f b/Fortran/test/twcsmix.f
index d42b867..a5a2a31 100644
--- a/Fortran/test/twcsmix.f
+++ b/Fortran/test/twcsmix.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: twcsmix.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: twcsmix.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TWCS2
diff --git a/Fortran/test/twcssub.f b/Fortran/test/twcssub.f
index b22c285..a1056ff 100644
--- a/Fortran/test/twcssub.f
+++ b/Fortran/test/twcssub.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: twcssub.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: twcssub.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TWCSSUB
diff --git a/Fortran/test/twcssub.out b/Fortran/test/twcssub.out
index 50664eb..82a02bd 100644
--- a/Fortran/test/twcssub.out
+++ b/Fortran/test/twcssub.out
@@ -159,7 +159,7 @@ imgpix[3][]:  -0           -0           -0.20408     -1.0204
               2            210          60        
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "slant zenithal perspective"
    category: 1 (zenithal)
@@ -353,7 +353,7 @@ imgpix[3][]:   0            0            0            1
               2            210          60        
        phi0:  0.000000
      theta0: 90.000000
-     bounds: 3
+     bounds: 7
 
        name: "slant zenithal perspective"
    category: 1 (zenithal)
diff --git a/Fortran/test/twcstab.f b/Fortran/test/twcstab.f
index 6b91ac0..0bad7f8 100644
--- a/Fortran/test/twcstab.f
+++ b/Fortran/test/twcstab.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: twcstab.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: twcstab.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 
       PROGRAM TWCSTAB
diff --git a/Fortran/test/twcstab.out b/Fortran/test/twcstab.out
index 96dd372..df81671 100644
--- a/Fortran/test/twcstab.out
+++ b/Fortran/test/twcstab.out
@@ -3246,7 +3246,7 @@ imgpix[3][]:   0            0           -1            1
          pv: (not used)
        phi0: UNDEFINED
      theta0: UNDEFINED
-     bounds: 3
+     bounds: 7
 
        name: "undefined"
    category: 0 (undefined)
diff --git a/Fortran/wcs.inc b/Fortran/wcs.inc
index 2361d3c..7f0afc5 100644
--- a/Fortran/wcs.inc
+++ b/Fortran/wcs.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcs.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: wcs.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     Functions.
diff --git a/Fortran/wcs_data.f b/Fortran/wcs_data.f
index 7b3eda3..df5729c 100644
--- a/Fortran/wcs_data.f
+++ b/Fortran/wcs_data.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcs_data.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: wcs_data.f,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
       BLOCK DATA WCS_BLOCK_DATA
diff --git a/Fortran/wcs_f.c b/Fortran/wcs_f.c
index 090fce9..2e18668 100644
--- a/Fortran/wcs_f.c
+++ b/Fortran/wcs_f.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcs_f.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: wcs_f.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *===========================================================================*/
 
 #include <stdio.h>
diff --git a/Fortran/wcsconfig.h.in b/Fortran/wcsconfig.h.in
deleted file mode 100644
index edacd1f..0000000
--- a/Fortran/wcsconfig.h.in
+++ /dev/null
@@ -1,18 +0,0 @@
-/*============================================================================
-*
-* wcsconfig.h is generated from wcsconfig.h.in by 'configure'.  It contains
-* C preprocessor macro definitions for compiling WCSLIB 4.17
-*
-* Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
-* http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcsconfig.h.in,v 4.17.1.1 2013/01/29 05:32:33 cal103 Exp $
-*===========================================================================*/
-
-/* WCSLIB library version number. */
-#undef WCSLIB_VERSION
-
-/* Define to 1 if sincos() is available. */
-#undef HAVE_SINCOS
-
-/* 64-bit integer data type. */
-#undef WCSLIB_INT64
diff --git a/Fortran/wcsconfig_f77.h.in b/Fortran/wcsconfig_f77.h.in
deleted file mode 100644
index 2c7a48c..0000000
--- a/Fortran/wcsconfig_f77.h.in
+++ /dev/null
@@ -1,21 +0,0 @@
-/*============================================================================
-*
-* wcsconfig_f77.h is generated from wcsconfig_f77.h.in by 'configure'.  It
-* contains C preprocessor definitions for building the WCSLIB 4.17 Fortran
-* wrappers.
-*
-* Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
-* http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcsconfig_f77.h.in,v 4.17.1.1 2013/01/29 05:32:33 cal103 Exp $
-*===========================================================================*/
-
-/* Integer array type large enough to hold an address.  Set here to int[2] for
- * 64-bit addresses, but could be defined as int* on 32-bit machines. */
-typedef int iptr[2];
-
-/* Macro for mangling Fortran subroutine names that do not contain
- * underscores.  Typically a name like "WCSINI" (case-insensitive) will become
- * something like "wcsini_" (case-sensitive).  The Fortran wrappers, which are
- * written in C, are preprocessed into names that match the latter.  The macro
- * takes two arguments which specify the name in lower and upper case. */
-#undef F77_FUNC
diff --git a/Fortran/wcserr.inc b/Fortran/wcserr.inc
index b6f8012..323819b 100644
--- a/Fortran/wcserr.inc
+++ b/Fortran/wcserr.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcserr.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: wcserr.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     Functions.
diff --git a/Fortran/wcserr_f.c b/Fortran/wcserr_f.c
index 5c2b9f1..525fd87 100644
--- a/Fortran/wcserr_f.c
+++ b/Fortran/wcserr_f.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcserr_f.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: wcserr_f.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *===========================================================================*/
 
 #include <stdio.h>
diff --git a/Fortran/wcsfix.inc b/Fortran/wcsfix.inc
index d8879f4..89d03d1 100644
--- a/Fortran/wcsfix.inc
+++ b/Fortran/wcsfix.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcsfix.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: wcsfix.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     Functions.
diff --git a/Fortran/wcsfix_data.f b/Fortran/wcsfix_data.f
index e6f21f1..2140cbe 100644
--- a/Fortran/wcsfix_data.f
+++ b/Fortran/wcsfix_data.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcsfix_data.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: wcsfix_data.f,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
       BLOCK DATA WCSFIX_BLOCK_DATA
diff --git a/Fortran/wcsfix_f.c b/Fortran/wcsfix_f.c
index e80ddeb..2f12b5b 100644
--- a/Fortran/wcsfix_f.c
+++ b/Fortran/wcsfix_f.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsfix_f.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: wcsfix_f.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *===========================================================================*/
 
 #include <wcsfix.h>
diff --git a/Fortran/wcshdr.inc b/Fortran/wcshdr.inc
index 47491e1..75a0893 100644
--- a/Fortran/wcshdr.inc
+++ b/Fortran/wcshdr.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcshdr.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: wcshdr.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     Functions.
diff --git a/Fortran/wcshdr_data.f b/Fortran/wcshdr_data.f
index e6e9d19..525d0c9 100644
--- a/Fortran/wcshdr_data.f
+++ b/Fortran/wcshdr_data.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcshdr_data.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: wcshdr_data.f,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
       BLOCK DATA WCSHDR_BLOCK_DATA
diff --git a/Fortran/wcshdr_f.c b/Fortran/wcshdr_f.c
index 830a184..665de3f 100644
--- a/Fortran/wcshdr_f.c
+++ b/Fortran/wcshdr_f.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcshdr_f.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: wcshdr_f.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *===========================================================================*/
 
 #include <stdio.h>
diff --git a/Fortran/wcsmath.inc b/Fortran/wcsmath.inc
index 074da2e..bd71fe9 100644
--- a/Fortran/wcsmath.inc
+++ b/Fortran/wcsmath.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcsmath.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: wcsmath.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     The value used to represent an undefined parameter.
diff --git a/Fortran/wcsunits.inc b/Fortran/wcsunits.inc
index 1b3f99b..b75765d 100644
--- a/Fortran/wcsunits.inc
+++ b/Fortran/wcsunits.inc
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcsunits.inc,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: wcsunits.inc,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
 *     Functions.
diff --git a/Fortran/wcsunits_data.f b/Fortran/wcsunits_data.f
index 760f87a..d2f38c2 100644
--- a/Fortran/wcsunits_data.f
+++ b/Fortran/wcsunits_data.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* WCSLIB 4.20 - an implementation of the FITS WCS standard.
-* Copyright (C) 1995-2013, Mark Calabretta
+* WCSLIB 4.21 - an implementation of the FITS WCS standard.
+* Copyright (C) 1995-2014, Mark Calabretta
 *
 * This file is part of WCSLIB.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcsunits_data.f,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: wcsunits_data.f,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *=======================================================================
 
       BLOCK DATA WCSUNITS_BLOCK_DATA
diff --git a/Fortran/wcsunits_f.c b/Fortran/wcsunits_f.c
index d629bff..65694fd 100644
--- a/Fortran/wcsunits_f.c
+++ b/Fortran/wcsunits_f.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsunits_f.c,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: wcsunits_f.c,v 4.21 2014/03/24 05:12:28 mcalabre Exp $
 *===========================================================================*/
 
 #include <stdio.h>
diff --git a/GNUmakefile b/GNUmakefile
index bd3ae1d..84f6035 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# GNU makefile for building WCSLIB 4.20
+# GNU makefile for building WCSLIB 4.21
 #
 # Summary of the main targets
 # ---------------------------
@@ -32,7 +32,7 @@
 #
 # Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 # http://www.atnf.csiro.au/people/Mark.Calabretta
-# $Id: GNUmakefile,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+# $Id: GNUmakefile,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 #-----------------------------------------------------------------------------
 # Get configure settings.
 include makedefs
diff --git a/INSTALL b/INSTALL
index 1050fb3..e2eb0b1 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,5 +1,5 @@
 ------------------------------------------------------------------------------
-WCSLIB 4.20 and PGSBOX 4.20 INSTALLATION
+WCSLIB 4.21 and PGSBOX 4.21 INSTALLATION
 --------------------------------------
 
 WCSLIB requires an ANSI C compiler with standard ANSI C environment, that is,
@@ -10,8 +10,8 @@ Installation of WCSLIB is handled by GNU autoconf; GNU make (referred to here
 as 'gmake') must be used.  The WCSLIB distribution also includes PGSBOX (refer
 to the README file), to unpack it type
 
-  zcat wcslib-4.20.tar.gz | tar pvxf -
-  cd wcslib-4.20
+  zcat wcslib-4.21.tar.gz | tar pvxf -
+  cd wcslib-4.21
 
 then if you do not need to specify any configuration options, simply run
 
@@ -93,7 +93,7 @@ The INSTALL file provided with GNU autoconf 2.53 is appended without change.
 
 Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 http://www.atnf.csiro.au/people/Mark.Calabretta
-$Id: INSTALL,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+$Id: INSTALL,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 
 ==============================================================================
 
diff --git a/README b/README
index 79c223c..d3bbd44 100644
--- a/README
+++ b/README
@@ -1,8 +1,8 @@
 ------------------------------------------------------------------------------
-                         WCSLIB 4.20 and PGSBOX 4.20
+                         WCSLIB 4.21 and PGSBOX 4.21
 ------------------------------------------------------------------------------
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -23,7 +23,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: README,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: README,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 ------------------------------------------------------------------------------
 
 Please refer to
diff --git a/THANKS b/THANKS
index 1d8cf2c..35a3a26 100644
--- a/THANKS
+++ b/THANKS
@@ -82,4 +82,4 @@ Daren Scot Wilson (NRAO)
 Tony Wong (ATNF/CSIRO)
 
 
-$Id: THANKS,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+$Id: THANKS,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
diff --git a/VALIDATION b/VALIDATION
index 4ad5368..e03862f 100644
--- a/VALIDATION
+++ b/VALIDATION
@@ -1,6 +1,15 @@
 Platforms on which the installation procedures and test suite were exercised
 
 
+WCSLIB version 4.21 (2014/03/24)
+--------------------------------
+
+* Dell Latitude D620 (Intel Centrino, i686) running Debian linux 7.0 (wheezy)
+  uname -r (kernel version): 3.2.0-4-686-pae
+  gcc --version: gcc (Debian 4.7.2-5) 4.7.2
+  gfortran --version: GNU Fortran (Debian 4.7.2-5) 4.7.2
+
+
 WCSLIB version 4.20 (2013/12/18)
 --------------------------------
 
@@ -272,4 +281,4 @@ WCSLIB version 4.4 (2009/08/06)
           2004/04/23
 
 ------------------------------------------------------------------------------
-$Id: VALIDATION,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+$Id: VALIDATION,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
diff --git a/configure b/configure
index a4d35d1..d8b2d59 100755
--- a/configure
+++ b/configure
@@ -1,7 +1,7 @@
 #! /bin/sh
-# From configure.ac Revision: 4.20 .
+# From configure.ac Revision: 4.21 .
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for WCSLIB 4.20.
+# Generated by GNU Autoconf 2.61 for WCSLIB 4.21.
 #
 # Report bugs to <mark at calabretta.id.au>.
 #
@@ -574,9 +574,9 @@ SHELL=${CONFIG_SHELL-/bin/sh}
 
 # Identity of this package.
 PACKAGE_NAME='WCSLIB'
-PACKAGE_TARNAME='wcslib-4.20'
-PACKAGE_VERSION='4.20'
-PACKAGE_STRING='WCSLIB 4.20'
+PACKAGE_TARNAME='wcslib-4.21'
+PACKAGE_VERSION='4.21'
+PACKAGE_STRING='WCSLIB 4.21'
 PACKAGE_BUGREPORT='mark at calabretta.id.au'
 
 ac_unique_file="C/wcs.h"
@@ -1211,7 +1211,7 @@ if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures WCSLIB 4.20 to adapt to many kinds of systems.
+\`configure' configures WCSLIB 4.21 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1259,7 +1259,7 @@ Fine tuning of the installation directories:
   --infodir=DIR          info documentation [DATAROOTDIR/info]
   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
   --mandir=DIR           man documentation [DATAROOTDIR/man]
-  --docdir=DIR           documentation root [DATAROOTDIR/doc/wcslib-4.20]
+  --docdir=DIR           documentation root [DATAROOTDIR/doc/wcslib-4.21]
   --htmldir=DIR          html documentation [DOCDIR]
   --dvidir=DIR           dvi documentation [DOCDIR]
   --pdfdir=DIR           pdf documentation [DOCDIR]
@@ -1279,7 +1279,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of WCSLIB 4.20:";;
+     short | recursive ) echo "Configuration of WCSLIB 4.21:";;
    esac
   cat <<\_ACEOF
 
@@ -1379,7 +1379,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-WCSLIB configure 4.20
+WCSLIB configure 4.21
 generated by GNU Autoconf 2.61
 
 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1393,7 +1393,7 @@ cat >config.log <<_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by WCSLIB $as_me 4.20, which was
+It was created by WCSLIB $as_me 4.21, which was
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   $ $0 $@
@@ -12517,7 +12517,7 @@ exec 6>&1
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by WCSLIB $as_me 4.20, which was
+This file was extended by WCSLIB $as_me 4.21, which was
 generated by GNU Autoconf 2.61.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -12566,7 +12566,7 @@ Report bugs to <bug-autoconf at gnu.org>."
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF
 ac_cs_version="\\
-WCSLIB config.status 4.20
+WCSLIB config.status 4.21
 configured by $0, generated by GNU Autoconf 2.61,
   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 
diff --git a/configure.ac b/configure.ac
index ff6d72f..e76e3f5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,12 +8,12 @@
 #
 # Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 # http://www.atnf.csiro.au/people/Mark.Calabretta
-# $Id: configure.ac,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+# $Id: configure.ac,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 #-----------------------------------------------------------------------------
 
-AC_INIT([WCSLIB], [4.20], [mark at calabretta.id.au], [wcslib-4.20])
+AC_INIT([WCSLIB], [4.21], [mark at calabretta.id.au], [wcslib-4.21])
 AC_PREREQ([2.53])
-AC_REVISION([$Revision: 4.20 $])
+AC_REVISION([$Revision: 4.21 $])
 AC_SUBST([PACKAGE_VERSION])
 AC_DEFINE_UNQUOTED([WCSLIB_VERSION], [$PACKAGE_VERSION], [Define wcslib version])
 
diff --git a/doxygen/Doxyfile b/doxygen/Doxyfile
index 8afd8bc..b6208b3 100644
--- a/doxygen/Doxyfile
+++ b/doxygen/Doxyfile
@@ -28,7 +28,7 @@ DOXYFILE_ENCODING      = UTF-8
 # identify the project. Note that if you do not use Doxywizard you need
 # to put quotes around the project name if it contains spaces.
 
-PROJECT_NAME           = "WCSLIB 4.20"
+PROJECT_NAME           = "WCSLIB 4.21"
 
 # The PROJECT_NUMBER tag can be used to enter a project or revision number.
 # This could be handy for archiving the generated documentation or
diff --git a/doxygen/GNUmakefile b/doxygen/GNUmakefile
index e1440ac..219934b 100644
--- a/doxygen/GNUmakefile
+++ b/doxygen/GNUmakefile
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# GNU makefile for building the documentation for WCSLIB 4.20
+# GNU makefile for building the documentation for WCSLIB 4.21
 #
 # Summary of the main targets
 # ---------------------------
@@ -15,7 +15,7 @@
 #
 # Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 # http://www.atnf.csiro.au/people/Mark.Calabretta
-# $Id: GNUmakefile,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+# $Id: GNUmakefile,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 #-----------------------------------------------------------------------------
 # Get configure settings.
 include ../makedefs
diff --git a/doxygen/README b/doxygen/README
index 09378e7..83528ea 100644
--- a/doxygen/README
+++ b/doxygen/README
@@ -26,4 +26,4 @@ generated latex manual.
 
 Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 http://www.atnf.csiro.au/people/Mark.Calabretta
-$Id: README,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+$Id: README,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
diff --git a/doxygen/doxextr.l b/doxygen/doxextr.l
index 57f2a8a..240ef03 100644
--- a/doxygen/doxextr.l
+++ b/doxygen/doxextr.l
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: doxextr.l,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: doxextr.l,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=============================================================================
 *
 * doxextr.l is a Flex description file containing a lexical scanner definition
diff --git a/doxygen/mainpage.dox b/doxygen/mainpage.dox
index 3755a55..9b45104 100644
--- a/doxygen/mainpage.dox
+++ b/doxygen/mainpage.dox
@@ -1,4 +1,4 @@
-/** @mainpage WCSLIB 4.20 and PGSBOX 4.20
+/** @mainpage WCSLIB 4.21 and PGSBOX 4.21
 
 @image html Bonne.gif "Bonne's projection"
 
@@ -19,8 +19,8 @@
 @section copyright Copyright
 
 @verbatim
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   WCSLIB is free software: you can redistribute it and/or modify it under the
   terms of the GNU Lesser General Public License as published by the Free
@@ -39,7 +39,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: mainpage.dox,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: mainpage.dox,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 @endverbatim
 */
 
@@ -701,7 +701,7 @@ may be set to 0.
 
 /** @page threads Thread-safety
 
-With the following exceptions WCSLIB 4.20 is thread-safe:
+With the following exceptions WCSLIB 4.21 is thread-safe:
 
 - The C code generated by Flex is not re-entrant.  Flex does have the capacity
   for producing re-entrant scanners but they have a different API.  This may
diff --git a/flavours b/flavours
index f1f43f2..20edadf 100644
--- a/flavours
+++ b/flavours
@@ -12,7 +12,7 @@
 #
 # Reminder: add '-d' to FLFLAGS for debugging.
 #
-# $Id: flavours,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+# $Id: flavours,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 #-----------------------------------------------------------------------------
 
 # The list of FLAVOURs can be set on the command line.
diff --git a/html/annotated.html b/html/annotated.html
index 14375c1..0879854 100644
--- a/html/annotated.html
+++ b/html/annotated.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Structures</title>
+<title>WCSLIB 4.21: Data Structures</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -66,7 +66,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/cel_8h.html b/html/cel_8h.html
index f40640d..c91f79e 100644
--- a/html/cel_8h.html
+++ b/html/cel_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: cel.h File Reference</title>
+<title>WCSLIB 4.21: cel.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -599,7 +599,7 @@ For returns > 1, a detailed error message is set in <a class="el" href="struc
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/cel_8h_source.html b/html/cel_8h_source.html
index da6b2c0..251c1cb 100644
--- a/html/cel_8h_source.html
+++ b/html/cel_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: cel.h Source File</title>
+<title>WCSLIB 4.21: cel.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="cel_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,10 +74,10 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: cel.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: cel.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">* (WCS) standard.  Refer to</span></div>
 <div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">*   "Representations of world coordinates in FITS",</span></div>
@@ -488,7 +488,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/classes.html b/html/classes.html
index 3a68727..dd7350c 100644
--- a/html/classes.html
+++ b/html/classes.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Structure Index</title>
+<title>WCSLIB 4.21: Data Structure Index</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -68,7 +68,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/deprecated.html b/html/deprecated.html
index 3fe0bb3..7f0e9d4 100644
--- a/html/deprecated.html
+++ b/html/deprecated.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Deprecated List</title>
+<title>WCSLIB 4.21: Deprecated List</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -125,7 +125,7 @@
 </div></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/diagnostics.html b/html/diagnostics.html
index 321b410..39ec0ca 100644
--- a/html/diagnostics.html
+++ b/html/diagnostics.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Diagnostic output</title>
+<title>WCSLIB 4.21: Diagnostic output</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -36,7 +36,7 @@
   </div>
 <div id="nav-path" class="navpath">
   <ul>
-<li class="navelem"><a class="el" href="index.html">WCSLIB 4.20 and PGSBOX 4.20</a></li>  </ul>
+<li class="navelem"><a class="el" href="index.html">WCSLIB 4.21 and PGSBOX 4.21</a></li>  </ul>
 </div>
 </div><!-- top -->
 <div class="header">
@@ -82,7 +82,7 @@ ERROR 2 in bonset() at line 5727 of file prj.c:
 </div></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/dir_af99bb3c152a306abd27951285ad1127.html b/html/dir_af99bb3c152a306abd27951285ad1127.html
index 5908a77..a6f0f86 100644
--- a/html/dir_af99bb3c152a306abd27951285ad1127.html
+++ b/html/dir_af99bb3c152a306abd27951285ad1127.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: C Directory Reference</title>
+<title>WCSLIB 4.21: C Directory Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -89,7 +89,7 @@ Files</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/files.html b/html/files.html
index 8eb1263..23eadc6 100644
--- a/html/files.html
+++ b/html/files.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: File List</title>
+<title>WCSLIB 4.21: File List</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -73,7 +73,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/fitshdr_8h.html b/html/fitshdr_8h.html
index d658ef6..1d08381 100644
--- a/html/fitshdr_8h.html
+++ b/html/fitshdr_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: fitshdr.h File Reference</title>
+<title>WCSLIB 4.21: fitshdr.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -389,7 +389,7 @@ the previous keyrecord contained either a valid string keyvalue or a valid <code
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/fitshdr_8h_source.html b/html/fitshdr_8h_source.html
index 492842e..38bebe6 100644
--- a/html/fitshdr_8h_source.html
+++ b/html/fitshdr_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: fitshdr.h Source File</title>
+<title>WCSLIB 4.21: fitshdr.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="fitshdr_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,7 +74,7 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: fitshdr.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: fitshdr.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* The Flexible Image Transport System (FITS), a data format widely used in</span></div>
@@ -496,7 +496,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/fortran.html b/html/fortran.html
index 499cdd8..dd94890 100644
--- a/html/fortran.html
+++ b/html/fortran.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: WCSLIB Fortran wrappers</title>
+<title>WCSLIB 4.21: WCSLIB Fortran wrappers</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -36,7 +36,7 @@
   </div>
 <div id="nav-path" class="navpath">
   <ul>
-<li class="navelem"><a class="el" href="index.html">WCSLIB 4.20 and PGSBOX 4.20</a></li>  </ul>
+<li class="navelem"><a class="el" href="index.html">WCSLIB 4.21 and PGSBOX 4.21</a></li>  </ul>
 </div>
 </div><!-- top -->
 <div class="header">
@@ -102,7 +102,7 @@
 </div></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions.html b/html/functions.html
index 85ecd6b..bf62d47 100644
--- a/html/functions.html
+++ b/html/functions.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -97,7 +97,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x62.html b/html/functions_0x62.html
index 61be7a2..3d28be3 100644
--- a/html/functions_0x62.html
+++ b/html/functions_0x62.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -88,7 +88,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x63.html b/html/functions_0x63.html
index 662e541..a2d40c6 100644
--- a/html/functions_0x63.html
+++ b/html/functions_0x63.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -150,7 +150,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x64.html b/html/functions_0x64.html
index 1e7f258..4551965 100644
--- a/html/functions_0x64.html
+++ b/html/functions_0x64.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -175,7 +175,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x65.html b/html/functions_0x65.html
index 2a856fc..70fa0b0 100644
--- a/html/functions_0x65.html
+++ b/html/functions_0x65.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -115,7 +115,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x66.html b/html/functions_0x66.html
index c271a88..c075f8a 100644
--- a/html/functions_0x66.html
+++ b/html/functions_0x66.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -102,7 +102,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x67.html b/html/functions_0x67.html
index fa59dd8..1cbff37 100644
--- a/html/functions_0x67.html
+++ b/html/functions_0x67.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -85,7 +85,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x69.html b/html/functions_0x69.html
index bcbebd0..190e484 100644
--- a/html/functions_0x69.html
+++ b/html/functions_0x69.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -106,7 +106,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x6b.html b/html/functions_0x6b.html
index 1bf4e9a..176041b 100644
--- a/html/functions_0x6b.html
+++ b/html/functions_0x6b.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -103,7 +103,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x6c.html b/html/functions_0x6c.html
index dc666e8..8e09596 100644
--- a/html/functions_0x6c.html
+++ b/html/functions_0x6c.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -112,7 +112,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x6d.html b/html/functions_0x6d.html
index 2154337..494400a 100644
--- a/html/functions_0x6d.html
+++ b/html/functions_0x6d.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -191,7 +191,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x6e.html b/html/functions_0x6e.html
index 0c9e96b..0cc18e3 100644
--- a/html/functions_0x6e.html
+++ b/html/functions_0x6e.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -117,7 +117,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x6f.html b/html/functions_0x6f.html
index b399808..c5809dc 100644
--- a/html/functions_0x6f.html
+++ b/html/functions_0x6f.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -88,7 +88,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x70.html b/html/functions_0x70.html
index 3a64ec1..941619d 100644
--- a/html/functions_0x70.html
+++ b/html/functions_0x70.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -132,7 +132,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x72.html b/html/functions_0x72.html
index f994f53..aef57cc 100644
--- a/html/functions_0x72.html
+++ b/html/functions_0x72.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -104,7 +104,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x73.html b/html/functions_0x73.html
index 0272949..a9c9fcf 100644
--- a/html/functions_0x73.html
+++ b/html/functions_0x73.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -125,7 +125,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x74.html b/html/functions_0x74.html
index ae2a02b..7f82f03 100644
--- a/html/functions_0x74.html
+++ b/html/functions_0x74.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -99,7 +99,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x75.html b/html/functions_0x75.html
index 7313dc4..2850919 100644
--- a/html/functions_0x75.html
+++ b/html/functions_0x75.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -88,7 +88,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x76.html b/html/functions_0x76.html
index 490cce1..488eab5 100644
--- a/html/functions_0x76.html
+++ b/html/functions_0x76.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -107,7 +107,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x77.html b/html/functions_0x77.html
index f75b070..f871b8f 100644
--- a/html/functions_0x77.html
+++ b/html/functions_0x77.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -101,7 +101,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x78.html b/html/functions_0x78.html
index 7fcd562..a4b63ca 100644
--- a/html/functions_0x78.html
+++ b/html/functions_0x78.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -85,7 +85,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x79.html b/html/functions_0x79.html
index 43ab014..e1b87e0 100644
--- a/html/functions_0x79.html
+++ b/html/functions_0x79.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -85,7 +85,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_0x7a.html b/html/functions_0x7a.html
index c607cef..ea60a86 100644
--- a/html/functions_0x7a.html
+++ b/html/functions_0x7a.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields</title>
+<title>WCSLIB 4.21: Data Fields</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -88,7 +88,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars.html b/html/functions_vars.html
index ff91e0c..76b6a5f 100644
--- a/html/functions_vars.html
+++ b/html/functions_vars.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -97,7 +97,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x62.html b/html/functions_vars_0x62.html
index 67f3263..6a87e60 100644
--- a/html/functions_vars_0x62.html
+++ b/html/functions_vars_0x62.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -88,7 +88,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x63.html b/html/functions_vars_0x63.html
index 23aa297..62f56ed 100644
--- a/html/functions_vars_0x63.html
+++ b/html/functions_vars_0x63.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -150,7 +150,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x64.html b/html/functions_vars_0x64.html
index c29e63f..815c18f 100644
--- a/html/functions_vars_0x64.html
+++ b/html/functions_vars_0x64.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -175,7 +175,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x65.html b/html/functions_vars_0x65.html
index ce40551..0383a2c 100644
--- a/html/functions_vars_0x65.html
+++ b/html/functions_vars_0x65.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -115,7 +115,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x66.html b/html/functions_vars_0x66.html
index 73592b7..a3c172a 100644
--- a/html/functions_vars_0x66.html
+++ b/html/functions_vars_0x66.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -102,7 +102,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x67.html b/html/functions_vars_0x67.html
index 56aa8f7..063626a 100644
--- a/html/functions_vars_0x67.html
+++ b/html/functions_vars_0x67.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -85,7 +85,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x69.html b/html/functions_vars_0x69.html
index f94bc8e..7eb45fc 100644
--- a/html/functions_vars_0x69.html
+++ b/html/functions_vars_0x69.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -106,7 +106,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x6b.html b/html/functions_vars_0x6b.html
index 4b7ea3e..664bc38 100644
--- a/html/functions_vars_0x6b.html
+++ b/html/functions_vars_0x6b.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -103,7 +103,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x6c.html b/html/functions_vars_0x6c.html
index 266682a..5f10733 100644
--- a/html/functions_vars_0x6c.html
+++ b/html/functions_vars_0x6c.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -112,7 +112,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x6d.html b/html/functions_vars_0x6d.html
index 15935b3..9ce456a 100644
--- a/html/functions_vars_0x6d.html
+++ b/html/functions_vars_0x6d.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -191,7 +191,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x6e.html b/html/functions_vars_0x6e.html
index 05756de..1d09134 100644
--- a/html/functions_vars_0x6e.html
+++ b/html/functions_vars_0x6e.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -117,7 +117,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x6f.html b/html/functions_vars_0x6f.html
index aefbec0..a3b1712 100644
--- a/html/functions_vars_0x6f.html
+++ b/html/functions_vars_0x6f.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -88,7 +88,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x70.html b/html/functions_vars_0x70.html
index 4b1423c..17f9442 100644
--- a/html/functions_vars_0x70.html
+++ b/html/functions_vars_0x70.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -132,7 +132,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x72.html b/html/functions_vars_0x72.html
index da7295d..6511cc6 100644
--- a/html/functions_vars_0x72.html
+++ b/html/functions_vars_0x72.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -104,7 +104,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x73.html b/html/functions_vars_0x73.html
index 0ea97de..d660546 100644
--- a/html/functions_vars_0x73.html
+++ b/html/functions_vars_0x73.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -125,7 +125,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x74.html b/html/functions_vars_0x74.html
index be965a2..90ca804 100644
--- a/html/functions_vars_0x74.html
+++ b/html/functions_vars_0x74.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -99,7 +99,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x75.html b/html/functions_vars_0x75.html
index 98ff747..e60afa6 100644
--- a/html/functions_vars_0x75.html
+++ b/html/functions_vars_0x75.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -88,7 +88,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x76.html b/html/functions_vars_0x76.html
index f6c3ec7..134f1d9 100644
--- a/html/functions_vars_0x76.html
+++ b/html/functions_vars_0x76.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -107,7 +107,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x77.html b/html/functions_vars_0x77.html
index 66851dc..51a3e83 100644
--- a/html/functions_vars_0x77.html
+++ b/html/functions_vars_0x77.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -101,7 +101,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x78.html b/html/functions_vars_0x78.html
index 8cf9e89..22e2d18 100644
--- a/html/functions_vars_0x78.html
+++ b/html/functions_vars_0x78.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -85,7 +85,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x79.html b/html/functions_vars_0x79.html
index b8d0d2d..6794963 100644
--- a/html/functions_vars_0x79.html
+++ b/html/functions_vars_0x79.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -85,7 +85,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/functions_vars_0x7a.html b/html/functions_vars_0x7a.html
index 685ae7c..42c28dd 100644
--- a/html/functions_vars_0x7a.html
+++ b/html/functions_vars_0x7a.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Data Fields - Variables</title>
+<title>WCSLIB 4.21: Data Fields - Variables</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -88,7 +88,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/getwcstab_8h.html b/html/getwcstab_8h.html
index 41d7f34..ac34f07 100644
--- a/html/getwcstab_8h.html
+++ b/html/getwcstab_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: getwcstab.h File Reference</title>
+<title>WCSLIB 4.21: getwcstab.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -136,7 +136,7 @@ Functions</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/getwcstab_8h_source.html b/html/getwcstab_8h_source.html
index 85ba401..9220fb2 100644
--- a/html/getwcstab_8h_source.html
+++ b/html/getwcstab_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: getwcstab.h Source File</title>
+<title>WCSLIB 4.21: getwcstab.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="getwcstab_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,7 +74,7 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: getwcstab.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: getwcstab.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* Summary of the getwcstab routines</span></div>
@@ -242,7 +242,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals.html b/html/globals.html
index bc34aa6..c78010e 100644
--- a/html/globals.html
+++ b/html/globals.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -146,7 +146,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x62.html b/html/globals_0x62.html
index a335269..ba8111d 100644
--- a/html/globals_0x62.html
+++ b/html/globals_0x62.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -98,7 +98,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x63.html b/html/globals_0x63.html
index 52120a4..829f696 100644
--- a/html/globals_0x63.html
+++ b/html/globals_0x63.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -254,7 +254,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x64.html b/html/globals_0x64.html
index 1675c5e..6a062cd 100644
--- a/html/globals_0x64.html
+++ b/html/globals_0x64.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -95,7 +95,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x65.html b/html/globals_0x65.html
index b530efb..038363b 100644
--- a/html/globals_0x65.html
+++ b/html/globals_0x65.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -92,7 +92,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x66.html b/html/globals_0x66.html
index 4285fd4..571bc0f 100644
--- a/html/globals_0x66.html
+++ b/html/globals_0x66.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -179,7 +179,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x68.html b/html/globals_0x68.html
index adb9d20..ce34d21 100644
--- a/html/globals_0x68.html
+++ b/html/globals_0x68.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -98,7 +98,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x69.html b/html/globals_0x69.html
index 3885b87..97e18f0 100644
--- a/html/globals_0x69.html
+++ b/html/globals_0x69.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -89,7 +89,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x6b.html b/html/globals_0x6b.html
index f935d0c..efadd09 100644
--- a/html/globals_0x6b.html
+++ b/html/globals_0x6b.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -92,7 +92,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x6c.html b/html/globals_0x6c.html
index 555e9ff..993b1cd 100644
--- a/html/globals_0x6c.html
+++ b/html/globals_0x6c.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -176,7 +176,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x6d.html b/html/globals_0x6d.html
index 5735f4b..5e9cad8 100644
--- a/html/globals_0x6d.html
+++ b/html/globals_0x6d.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -107,7 +107,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x6e.html b/html/globals_0x6e.html
index 547e4ff..7101396 100644
--- a/html/globals_0x6e.html
+++ b/html/globals_0x6e.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -89,7 +89,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x70.html b/html/globals_0x70.html
index 74f1c47..90f8677 100644
--- a/html/globals_0x70.html
+++ b/html/globals_0x70.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -121,6 +121,9 @@
 <li>prj_ncode
 : <a class="el" href="prj_8h.html#a2d30db5685dd1faa18680a0e69bc5854">prj.h</a>
 </li>
+<li>prjbchk()
+: <a class="el" href="prj_8h.html#a147e82f4cede2e6d9ba0ff76b11a2ab2">prj.h</a>
+</li>
 <li>PRJERR_BAD_PARAM
 : <a class="el" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a6a0f63e2f52f594637a12db14e5814e6">prj.h</a>
 </li>
@@ -188,7 +191,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x71.html b/html/globals_0x71.html
index b67a837..6836f80 100644
--- a/html/globals_0x71.html
+++ b/html/globals_0x71.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -98,7 +98,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x72.html b/html/globals_0x72.html
index c99a7ad..acc20c9 100644
--- a/html/globals_0x72.html
+++ b/html/globals_0x72.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -89,7 +89,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x73.html b/html/globals_0x73.html
index a941c7e..ab2e3f8 100644
--- a/html/globals_0x73.html
+++ b/html/globals_0x73.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -266,7 +266,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x74.html b/html/globals_0x74.html
index fb15d17..8eccce1 100644
--- a/html/globals_0x74.html
+++ b/html/globals_0x74.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -179,7 +179,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x75.html b/html/globals_0x75.html
index b2e2194..5e66b64 100644
--- a/html/globals_0x75.html
+++ b/html/globals_0x75.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -88,12 +88,12 @@
 <li>undefined
 : <a class="el" href="wcsmath_8h.html#adea646bef24ac88b544d7094860127ff">wcsmath.h</a>
 </li>
-<li>UNITFIX
-: <a class="el" href="wcsfix_8h.html#a8f4a947e2605b35ffa92f08b113d60b2">wcsfix.h</a>
-</li>
 <li>unitfix()
 : <a class="el" href="wcsfix_8h.html#a883167275c4d3855ba453364db3d8d66">wcsfix.h</a>
 </li>
+<li>UNITFIX
+: <a class="el" href="wcsfix_8h.html#a8f4a947e2605b35ffa92f08b113d60b2">wcsfix.h</a>
+</li>
 <li>UNITSERR_BAD_EXPON_SYMBOL
 : <a class="el" href="wcsunits_8h.html#a864e6b966575a8c42eb333ba9f14a3efa0c9333946c5918c15c376f12e9afb086">wcsunits.h</a>
 </li>
@@ -137,7 +137,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x76.html b/html/globals_0x76.html
index 386f5d3..5bcff3e 100644
--- a/html/globals_0x76.html
+++ b/html/globals_0x76.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -104,7 +104,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x77.html b/html/globals_0x77.html
index 43a6168..8d26d89 100644
--- a/html/globals_0x77.html
+++ b/html/globals_0x77.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -533,7 +533,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x78.html b/html/globals_0x78.html
index c70eef1..2e5c1ab 100644
--- a/html/globals_0x78.html
+++ b/html/globals_0x78.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -95,7 +95,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_0x7a.html b/html/globals_0x7a.html
index 60d0978..b495b88 100644
--- a/html/globals_0x7a.html
+++ b/html/globals_0x7a.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -110,7 +110,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_defs.html b/html/globals_defs.html
index 9dbee61..935f20a 100644
--- a/html/globals_defs.html
+++ b/html/globals_defs.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -515,7 +515,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:58 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_enum.html b/html/globals_enum.html
index a37a705..4d3cd20 100644
--- a/html/globals_enum.html
+++ b/html/globals_enum.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -91,7 +91,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:58 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_eval.html b/html/globals_eval.html
index eab2e1b..2dceaac 100644
--- a/html/globals_eval.html
+++ b/html/globals_eval.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -358,7 +358,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:58 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func.html b/html/globals_func.html
index 76448f9..66e5ee1 100644
--- a/html/globals_func.html
+++ b/html/globals_func.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -142,7 +142,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x62.html b/html/globals_func_0x62.html
index 4827b78..04ebbf4 100644
--- a/html/globals_func_0x62.html
+++ b/html/globals_func_0x62.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -94,7 +94,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x63.html b/html/globals_func_0x63.html
index d78c4c0..37f2814 100644
--- a/html/globals_func_0x63.html
+++ b/html/globals_func_0x63.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -184,7 +184,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x64.html b/html/globals_func_0x64.html
index c249090..fe344b6 100644
--- a/html/globals_func_0x64.html
+++ b/html/globals_func_0x64.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -85,7 +85,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x65.html b/html/globals_func_0x65.html
index fe12d19..7da8007 100644
--- a/html/globals_func_0x65.html
+++ b/html/globals_func_0x65.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -85,7 +85,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x66.html b/html/globals_func_0x66.html
index f812553..514e2ac 100644
--- a/html/globals_func_0x66.html
+++ b/html/globals_func_0x66.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -109,7 +109,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x68.html b/html/globals_func_0x68.html
index 4169e4c..06e7e94 100644
--- a/html/globals_func_0x68.html
+++ b/html/globals_func_0x68.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -91,7 +91,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x6c.html b/html/globals_func_0x6c.html
index d39c1a6..b525aa2 100644
--- a/html/globals_func_0x6c.html
+++ b/html/globals_func_0x6c.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -109,7 +109,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x6d.html b/html/globals_func_0x6d.html
index 05bb0d3..5195794 100644
--- a/html/globals_func_0x6d.html
+++ b/html/globals_func_0x6d.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -103,7 +103,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x70.html b/html/globals_func_0x70.html
index 1f44bd0..8366b28 100644
--- a/html/globals_func_0x70.html
+++ b/html/globals_func_0x70.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -96,6 +96,9 @@
 <li>pcox2s()
 : <a class="el" href="prj_8h.html#a28b623c88d38ab711fc61f36a97d0b27">prj.h</a>
 </li>
+<li>prjbchk()
+: <a class="el" href="prj_8h.html#a147e82f4cede2e6d9ba0ff76b11a2ab2">prj.h</a>
+</li>
 <li>prjfree()
 : <a class="el" href="prj_8h.html#a50db1538981df162709b81be0b2961ab">prj.h</a>
 </li>
@@ -118,7 +121,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x71.html b/html/globals_func_0x71.html
index 3eb1434..6fdde4e 100644
--- a/html/globals_func_0x71.html
+++ b/html/globals_func_0x71.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -91,7 +91,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x73.html b/html/globals_func_0x73.html
index 4fbd245..c4ac751 100644
--- a/html/globals_func_0x73.html
+++ b/html/globals_func_0x73.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -187,7 +187,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x74.html b/html/globals_func_0x74.html
index 27a0335..fdebf5c 100644
--- a/html/globals_func_0x74.html
+++ b/html/globals_func_0x74.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -127,7 +127,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x75.html b/html/globals_func_0x75.html
index 8e36fb9..40a15ff 100644
--- a/html/globals_func_0x75.html
+++ b/html/globals_func_0x75.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -85,7 +85,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x76.html b/html/globals_func_0x76.html
index ecc7c4c..9a329de 100644
--- a/html/globals_func_0x76.html
+++ b/html/globals_func_0x76.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -100,7 +100,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x77.html b/html/globals_func_0x77.html
index c985208..ffa5794 100644
--- a/html/globals_func_0x77.html
+++ b/html/globals_func_0x77.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -238,7 +238,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x78.html b/html/globals_func_0x78.html
index d4c1fb0..d8e2950 100644
--- a/html/globals_func_0x78.html
+++ b/html/globals_func_0x78.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -91,7 +91,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_func_0x7a.html b/html/globals_func_0x7a.html
index 41f7d20..e75e3e9 100644
--- a/html/globals_func_0x7a.html
+++ b/html/globals_func_0x7a.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -103,7 +103,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_type.html b/html/globals_type.html
index 11296ce..c71d1f4 100644
--- a/html/globals_type.html
+++ b/html/globals_type.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -61,7 +61,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:58 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/globals_vars.html b/html/globals_vars.html
index 68a5ecd..c35ad78 100644
--- a/html/globals_vars.html
+++ b/html/globals_vars.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Globals</title>
+<title>WCSLIB 4.21: Globals</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -133,7 +133,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:58 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/index.html b/html/index.html
index 046dc13..ae1b52e 100644
--- a/html/index.html
+++ b/html/index.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: WCSLIB 4.20 and PGSBOX 4.20</title>
+<title>WCSLIB 4.21: WCSLIB 4.21 and PGSBOX 4.21</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -37,7 +37,7 @@
 </div><!-- top -->
 <div class="header">
   <div class="headertitle">
-<div class="title">WCSLIB 4.20 and PGSBOX 4.20 </div>  </div>
+<div class="title">WCSLIB 4.21 and PGSBOX 4.21 </div>  </div>
 </div><!--header-->
 <div class="contents">
 <div class="textblock"><div class="image">
@@ -61,8 +61,8 @@ Contents</h1>
 </ul>
 <h1><a class="anchor" id="copyright"></a>
 Copyright</h1>
-<pre class="fragment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+<pre class="fragment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   WCSLIB is free software: you can redistribute it and/or modify it under the
   terms of the GNU Lesser General Public License as published by the Free
@@ -81,11 +81,11 @@ Copyright</h1>
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: mainpage.dox,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+  $Id: mainpage.dox,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 </pre> </div></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/intro.html b/html/intro.html
index d05a1f2..f1ff95b 100644
--- a/html/intro.html
+++ b/html/intro.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Introduction</title>
+<title>WCSLIB 4.21: Introduction</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -36,7 +36,7 @@
   </div>
 <div id="nav-path" class="navpath">
   <ul>
-<li class="navelem"><a class="el" href="index.html">WCSLIB 4.20 and PGSBOX 4.20</a></li>  </ul>
+<li class="navelem"><a class="el" href="index.html">WCSLIB 4.21 and PGSBOX 4.21</a></li>  </ul>
 </div>
 </div><!-- top -->
 <div class="header">
@@ -62,7 +62,7 @@
 </div></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/lin_8h.html b/html/lin_8h.html
index 55d7f09..a70fda2 100644
--- a/html/lin_8h.html
+++ b/html/lin_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: lin.h File Reference</title>
+<title>WCSLIB 4.21: lin.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -639,7 +639,7 @@ For returns > 1, a detailed error message is set in <a class="el" href="struc
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/lin_8h_source.html b/html/lin_8h_source.html
index d903dc3..c6b2941 100644
--- a/html/lin_8h_source.html
+++ b/html/lin_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: lin.h Source File</title>
+<title>WCSLIB 4.21: lin.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="lin_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,10 +74,10 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: lin.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: lin.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">* (WCS) standard.  Refer to</span></div>
 <div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">*   "Representations of world coordinates in FITS",</span></div>
@@ -501,7 +501,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/log_8h.html b/html/log_8h.html
index 0868f19..91c6ec6 100644
--- a/html/log_8h.html
+++ b/html/log_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: log.h File Reference</title>
+<title>WCSLIB 4.21: log.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -291,7 +291,7 @@ Variables</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/log_8h_source.html b/html/log_8h_source.html
index 5166733..cd284d7 100644
--- a/html/log_8h_source.html
+++ b/html/log_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: log.h Source File</title>
+<title>WCSLIB 4.21: log.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="log_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,10 +74,10 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: log.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: log.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.20 - C routines that implement logarithmic coordinate systems as</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.21 - C routines that implement logarithmic coordinate systems as</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">* defined by the FITS World Coordinate System (WCS) standard.  Refer to</span></div>
 <div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">*   "Representations of world coordinates in FITS",</span></div>
@@ -219,7 +219,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/memory.html b/html/memory.html
index ac2a681..990f79c 100644
--- a/html/memory.html
+++ b/html/memory.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Memory management</title>
+<title>WCSLIB 4.21: Memory management</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -36,7 +36,7 @@
   </div>
 <div id="nav-path" class="navpath">
   <ul>
-<li class="navelem"><a class="el" href="index.html">WCSLIB 4.20 and PGSBOX 4.20</a></li>  </ul>
+<li class="navelem"><a class="el" href="index.html">WCSLIB 4.21 and PGSBOX 4.21</a></li>  </ul>
 </div>
 </div><!-- top -->
 <div class="header">
@@ -57,7 +57,7 @@
 </div></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/overview.html b/html/overview.html
index cec1547..d181545 100644
--- a/html/overview.html
+++ b/html/overview.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Overview of WCSLIB</title>
+<title>WCSLIB 4.21: Overview of WCSLIB</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -36,7 +36,7 @@
   </div>
 <div id="nav-path" class="navpath">
   <ul>
-<li class="navelem"><a class="el" href="index.html">WCSLIB 4.20 and PGSBOX 4.20</a></li>  </ul>
+<li class="navelem"><a class="el" href="index.html">WCSLIB 4.21 and PGSBOX 4.21</a></li>  </ul>
 </div>
 </div><!-- top -->
 <div class="header">
@@ -113,7 +113,7 @@
 </div></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/pages.html b/html/pages.html
index f2ffa64..dd27c08 100644
--- a/html/pages.html
+++ b/html/pages.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Related Pages</title>
+<title>WCSLIB 4.21: Related Pages</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -48,7 +48,7 @@
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:57 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:13:40 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/pgsbox.html b/html/pgsbox.html
index ff21c0b..404a957 100644
--- a/html/pgsbox.html
+++ b/html/pgsbox.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: PGSBOX</title>
+<title>WCSLIB 4.21: PGSBOX</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -36,7 +36,7 @@
   </div>
 <div id="nav-path" class="navpath">
   <ul>
-<li class="navelem"><a class="el" href="index.html">WCSLIB 4.20 and PGSBOX 4.20</a></li>  </ul>
+<li class="navelem"><a class="el" href="index.html">WCSLIB 4.21 and PGSBOX 4.21</a></li>  </ul>
 </div>
 </div><!-- top -->
 <div class="header">
@@ -53,7 +53,7 @@
 </div></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/prj_8h.html b/html/prj_8h.html
index 71698a8..3cd989c 100644
--- a/html/prj_8h.html
+++ b/html/prj_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: prj.h File Reference</title>
+<title>WCSLIB 4.21: prj.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -120,6 +120,9 @@ Functions</h2></td></tr>
 <tr class="memitem:a8785bdf33bdaa3d9d52fd51b621ec8d5"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="prj_8h.html#a8785bdf33bdaa3d9d52fd51b621ec8d5">prjprt</a> (const struct <a class="el" href="structprjprm.html">prjprm</a> *prj)</td></tr>
 <tr class="memdesc:a8785bdf33bdaa3d9d52fd51b621ec8d5"><td class="mdescLeft"> </td><td class="mdescRight">Print routine for the <a class="el" href="structprjprm.html" title="Projection parameters. ">prjprm</a> struct.  <a href="#a8785bdf33bdaa3d9d52fd51b621ec8d5">More...</a><br/></td></tr>
 <tr class="separator:a8785bdf33bdaa3d9d52fd51b621ec8d5"><td class="memSeparator" colspan="2"> </td></tr>
+<tr class="memitem:a147e82f4cede2e6d9ba0ff76b11a2ab2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="prj_8h.html#a147e82f4cede2e6d9ba0ff76b11a2ab2">prjbchk</a> (double tol, int nx, int ny, int spt, double phi[], double theta[], int stat[])</td></tr>
+<tr class="memdesc:a147e82f4cede2e6d9ba0ff76b11a2ab2"><td class="mdescLeft"> </td><td class="mdescRight">Bounds checking on native coordinates.  <a href="#a147e82f4cede2e6d9ba0ff76b11a2ab2">More...</a><br/></td></tr>
+<tr class="separator:a147e82f4cede2e6d9ba0ff76b11a2ab2"><td class="memSeparator" colspan="2"> </td></tr>
 <tr class="memitem:ad43dbc765c63162d0af2b9285b8a434f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="prj_8h.html#ad43dbc765c63162d0af2b9285b8a434f">prjset</a> (struct <a class="el" href="structprjprm.html">prjprm</a> *prj)</td></tr>
 <tr class="memdesc:ad43dbc765c63162d0af2b9285b8a434f"><td class="mdescLeft"> </td><td class="mdescRight">Generic setup routine for the <a class="el" href="structprjprm.html" title="Projection parameters. ">prjprm</a> struct.  <a href="#ad43dbc765c63162d0af2b9285b8a434f">More...</a><br/></td></tr>
 <tr class="separator:ad43dbc765c63162d0af2b9285b8a434f"><td class="memSeparator" colspan="2"> </td></tr>
@@ -420,7 +423,7 @@ Variables</h2></td></tr>
 </table>
 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
 <div class="textblock"><p>These routines implement the spherical map projections defined by the FITS WCS standard. They are based on the <a class="el" href="structprjprm.html" title="Projection parameters. ">prjprm</a> struct which contains all information needed for the computations. The struct contains some members that must be set by the user, and others that are maintained by these routines, somewhat like a C++ class but with no encapsulation.</p>
-<p>Routine <a class="el" href="prj_8h.html#ad994cb23871c51b20754973bef180f8a" title="Default constructor for the prjprm struct. ">prjini()</a> is provided to initialize the <a class="el" href="structprjprm.html" title="Projection parameters. ">prjprm</a> struct with default values, <a class="el" href="prj_8h.html#a50db1538981df162709b81be0b2961ab" title="Destructor for the prjprm struct. ">prjfree()</a> reclaims any memory that may have been allocated to store an error message, and <a cl [...]
+<p>Routine <a class="el" href="prj_8h.html#ad994cb23871c51b20754973bef180f8a" title="Default constructor for the prjprm struct. ">prjini()</a> is provided to initialize the <a class="el" href="structprjprm.html" title="Projection parameters. ">prjprm</a> struct with default values, <a class="el" href="prj_8h.html#a50db1538981df162709b81be0b2961ab" title="Destructor for the prjprm struct. ">prjfree()</a> reclaims any memory that may have been allocated to store an error message, and <a cl [...]
 <p>Setup routines for each projection with names of the form <b>???set()</b>, where "???" is the down-cased three-letter projection code, compute intermediate values in the <a class="el" href="structprjprm.html" title="Projection parameters. ">prjprm</a> struct from parameters in it that were supplied by the user. The struct always needs to be set by the projection's setup routine but that need not be called explicitly - refer to the explanation of <a class="el" href="structprjprm.html#a [...]
 <p>Each map projection is implemented via separate functions for the spherical projection, <b>???s2x()</b>, and deprojection, <b>???x2s()</b>.</p>
 <p>A set of driver routines, <a class="el" href="prj_8h.html#ad43dbc765c63162d0af2b9285b8a434f" title="Generic setup routine for the prjprm struct. ">prjset()</a>, <a class="el" href="prj_8h.html#a9a387f05414e7b59487fdcb03ff79ced" title="Generic Cartesian-to-spherical deprojection. ">prjx2s()</a>, and <a class="el" href="prj_8h.html#abe28216295d9e7ad7dbb01bf5985df9f" title="Generic spherical-to-Cartesian projection. ">prjs2x()</a>, provides a generic interface to the specific projection  [...]
@@ -430,7 +433,11 @@ Variables</h2></td></tr>
 <li>
 <a class="el" href="prj_8h.html#ad994cb23871c51b20754973bef180f8a" title="Default constructor for the prjprm struct. ">prjini()</a> Initialization routine for the <a class="el" href="structprjprm.html" title="Projection parameters. ">prjprm</a> struct. </li>
 <li>
-<p class="startli"><a class="el" href="prj_8h.html#a8785bdf33bdaa3d9d52fd51b621ec8d5" title="Print routine for the prjprm struct. ">prjprt()</a> Routine to print the <a class="el" href="structprjprm.html" title="Projection parameters. ">prjprm</a> struct.</p>
+<a class="el" href="prj_8h.html#a50db1538981df162709b81be0b2961ab" title="Destructor for the prjprm struct. ">prjfree()</a> Reclaim memory allocated for error messages. </li>
+<li>
+<a class="el" href="prj_8h.html#a8785bdf33bdaa3d9d52fd51b621ec8d5" title="Print routine for the prjprm struct. ">prjprt()</a> Print the <a class="el" href="structprjprm.html" title="Projection parameters. ">prjprm</a> struct. </li>
+<li>
+<p class="startli"><a class="el" href="prj_8h.html#a147e82f4cede2e6d9ba0ff76b11a2ab2" title="Bounds checking on native coordinates. ">prjbchk()</a> Bounds checking on native coordinates.</p>
 <p class="endli"></p>
 </li>
 <li>
@@ -498,7 +505,7 @@ Variables</h2></td></tr>
  The values of <img class="formulaInl" alt="$\phi$" src="form_24.png"/> and <img class="formulaInl" alt="$\theta$" src="form_25.png"/> (the native longitude and latitude) normally lie in the range <img class="formulaInl" alt="$[-180^\circ,180^\circ]$" src="form_26.png"/> for <img class="formulaInl" alt="$\phi$" src="form_24.png"/>, and <img class="formulaInl" alt="$[-90^\circ,90^\circ]$" src="form_27.png"/> for <img class="formulaInl" alt="$\theta$" src="form_25.png"/>. However, all proj [...]
 <p>The projection routines do not explicitly check that <img class="formulaInl" alt="$\theta$" src="form_25.png"/> lies within the range <img class="formulaInl" alt="$[-90^\circ,90^\circ]$" src="form_27.png"/>. They do check for any value of <img class="formulaInl" alt="$\theta$" src="form_25.png"/> that produces an invalid argument to the projection equations (e.g. leading to division by zero). The projection routines for <code><b>AZP</b></code>, <code><b>SZP</b></code>, <code><b>TAN</b [...]
 <p><b>Argument checking (deprojection routines):</b> <br/>
- Error checking on the projected coordinates <img class="formulaInl" alt="$(x,y)$" src="form_0.png"/> is limited to that required to ascertain whether a solution exists. Where a solution does exist no check is made that the value of <img class="formulaInl" alt="$\phi$" src="form_24.png"/> and <img class="formulaInl" alt="$\theta$" src="form_25.png"/> obtained lie within the ranges <img class="formulaInl" alt="$[-180^\circ,180^\circ]$" src="form_26.png"/> for <img class="formulaInl" alt=" [...]
+ Error checking on the projected coordinates <img class="formulaInl" alt="$(x,y)$" src="form_0.png"/> is limited to that required to ascertain whether a solution exists. Where a solution does exist, an optional check is made that the value of <img class="formulaInl" alt="$\phi$" src="form_24.png"/> and <img class="formulaInl" alt="$\theta$" src="form_25.png"/> obtained lie within the ranges <img class="formulaInl" alt="$[-180^\circ,180^\circ]$" src="form_26.png"/> for <img class="formula [...]
 <p><b>Accuracy:</b> <br/>
  No warranty is given for the accuracy of these routines (refer to the copyright notice); intending users must satisfy for themselves their adequacy for the intended purpose. However, closure to a precision of at least <img class="formulaInl" alt="$0^\circ.0000000001$" src="form_28.png"/> of longitude and latitude has been verified for typical projection parameters on the <img class="formulaInl" alt="$1^\circ$" src="form_20.png"/> degree graticule of native longitude and latitude (to wit [...]
 </div><h2 class="groupheader">Macro Definition Documentation</h2>
@@ -733,6 +740,84 @@ Variables</h2></td></tr>
 
 </div>
 </div>
+<a class="anchor" id="a147e82f4cede2e6d9ba0ff76b11a2ab2"></a>
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">int prjbchk </td>
+          <td>(</td>
+          <td class="paramtype">double </td>
+          <td class="paramname"><em>tol</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">int </td>
+          <td class="paramname"><em>nx</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">int </td>
+          <td class="paramname"><em>ny</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">int </td>
+          <td class="paramname"><em>spt</em>, </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">double </td>
+          <td class="paramname"><em>phi</em>[], </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">double </td>
+          <td class="paramname"><em>theta</em>[], </td>
+        </tr>
+        <tr>
+          <td class="paramkey"></td>
+          <td></td>
+          <td class="paramtype">int </td>
+          <td class="paramname"><em>stat</em>[] </td>
+        </tr>
+        <tr>
+          <td></td>
+          <td>)</td>
+          <td></td><td></td>
+        </tr>
+      </table>
+</div><div class="memdoc">
+<p><b>prjbchk</b>() performs bounds checking on native spherical coordinates. As returned by the deprojection (x2s) routines, native longitude is expected to lie in the closed interval <img class="formulaInl" alt="$[-180^\circ,180^\circ]$" src="form_26.png"/>, with latitude in <img class="formulaInl" alt="$[-90^\circ,90^\circ]$" src="form_27.png"/>.</p>
+<p>A tolerance may be specified to provide a small allowance for numerical imprecision. Values that lie outside the allowed range by not more than the specified tolerance will be adjusted back into range.</p>
+<p>If <a class="el" href="structprjprm.html#ab8dd3d8b1e462a2b261fc9e304885943">prjprm::bounds</a>&4 is set, as it is by <a class="el" href="prj_8h.html#ad994cb23871c51b20754973bef180f8a" title="Default constructor for the prjprm struct. ">prjini()</a>, then <b>prjbchk</b>() will be invoked automatically by the Cartesian-to-spherical deprojection (x2s) routines with an appropriate tolerance set for each projection.</p>
+<dl class="params"><dt>Parameters</dt><dd>
+  <table class="params">
+    <tr><td class="paramdir">[in]</td><td class="paramname">tol</td><td>Tolerance for the bounds check [deg]. </td></tr>
+    <tr><td class="paramdir">[in]</td><td class="paramname">nphi,ntheta</td><td>Vector lengths. </td></tr>
+    <tr><td class="paramdir">[in]</td><td class="paramname">spt</td><td>Vector stride.</td></tr>
+    <tr><td class="paramdir">[in,out]</td><td class="paramname">phi,theta</td><td>Native longitude and latitude <img class="formulaInl" alt="$(\phi,\theta)$" src="form_2.png"/> [deg].</td></tr>
+    <tr><td class="paramdir">[out]</td><td class="paramname">stat</td><td>Status value for each vector element:<ul>
+<li>0: Valid value of <img class="formulaInl" alt="$(\phi,\theta)$" src="form_2.png"/>.</li>
+<li>1: Invalid value.</li>
+</ul>
+</td></tr>
+  </table>
+  </dd>
+</dl>
+<dl class="section return"><dt>Returns</dt><dd>Status return value:<ul>
+<li>0: Success.</li>
+<li>1: One or more of the <img class="formulaInl" alt="$(\phi,\theta)$" src="form_2.png"/> coordinates were, invalid, as indicated by the stat vector. </li>
+</ul>
+</dd></dl>
+
+</div>
+</div>
 <a class="anchor" id="ad43dbc765c63162d0af2b9285b8a434f"></a>
 <div class="memitem">
 <div class="memproto">
@@ -786,7 +871,7 @@ For returns > 1, a detailed error message is set in <a class="el" href="struc
     <tr><td class="paramdir">[in]</td><td class="paramname">sxy,spt</td><td>Vector strides. </td></tr>
     <tr><td class="paramdir">[in]</td><td class="paramname">x,y</td><td>Projected coordinates.</td></tr>
     <tr><td class="paramdir">[out]</td><td class="paramname">phi,theta</td><td>Longitude and latitude <img class="formulaInl" alt="$(\phi,\theta)$" src="form_2.png"/> of the projected point in native spherical coordinates [deg]. </td></tr>
-    <tr><td class="paramdir">[out]</td><td class="paramname">stat</td><td>Status return value for each vector element:<ul>
+    <tr><td class="paramdir">[out]</td><td class="paramname">stat</td><td>Status value for each vector element:<ul>
 <li>0: Success.</li>
 <li>1: Invalid value of <img class="formulaInl" alt="$(x,y)$" src="form_0.png"/>.</li>
 </ul>
@@ -826,7 +911,7 @@ For returns > 1, a detailed error message is set in <a class="el" href="struc
     <tr><td class="paramdir">[in]</td><td class="paramname">spt,sxy</td><td>Vector strides. </td></tr>
     <tr><td class="paramdir">[in]</td><td class="paramname">phi,theta</td><td>Longitude and latitude <img class="formulaInl" alt="$(\phi,\theta)$" src="form_2.png"/> of the projected point in native spherical coordinates [deg].</td></tr>
     <tr><td class="paramdir">[out]</td><td class="paramname">x,y</td><td>Projected coordinates. </td></tr>
-    <tr><td class="paramdir">[out]</td><td class="paramname">stat</td><td>Status return value for each vector element:<ul>
+    <tr><td class="paramdir">[out]</td><td class="paramname">stat</td><td>Status value for each vector element:<ul>
 <li>0: Success.</li>
 <li>1: Invalid value of <img class="formulaInl" alt="$(\phi,\theta)$" src="form_2.png"/>.</li>
 </ul>
@@ -2511,7 +2596,7 @@ For returns > 1, a detailed error message is set in <a class="el" href="struc
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/prj_8h_source.html b/html/prj_8h_source.html
index 5fa5405..3091d93 100644
--- a/html/prj_8h_source.html
+++ b/html/prj_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: prj.h Source File</title>
+<title>WCSLIB 4.21: prj.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="prj_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,10 +74,10 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: prj.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: prj.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.20 - C routines that implement the spherical map projections</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.21 - C routines that implement the spherical map projections</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">* recognized by the FITS World Coordinate System (WCS) standard.  Refer to</span></div>
 <div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">*   "Representations of world coordinates in FITS",</span></div>
@@ -100,728 +100,776 @@
 <div class="line"><a name="l00048"></a><span class="lineno">   48</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00049"></a><span class="lineno">   49</span> <span class="comment">* Routine prjini() is provided to initialize the prjprm struct with default</span></div>
 <div class="line"><a name="l00050"></a><span class="lineno">   50</span> <span class="comment">* values, prjfree() reclaims any memory that may have been allocated to store</span></div>
-<div class="line"><a name="l00051"></a><span class="lineno">   51</span> <span class="comment">* an error message, and prjprt() prints its contents.</span></div>
-<div class="line"><a name="l00052"></a><span class="lineno">   52</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00053"></a><span class="lineno">   53</span> <span class="comment">* Setup routines for each projection with names of the form ???set(), where</span></div>
-<div class="line"><a name="l00054"></a><span class="lineno">   54</span> <span class="comment">* "???" is the down-cased three-letter projection code, compute intermediate</span></div>
-<div class="line"><a name="l00055"></a><span class="lineno">   55</span> <span class="comment">* values in the prjprm struct from parameters in it that were supplied by the</span></div>
-<div class="line"><a name="l00056"></a><span class="lineno">   56</span> <span class="comment">* user.  The struct always needs to be set by the projection's setup routine</span></div>
-<div class="line"><a name="l00057"></a><span class="lineno">   57</span> <span class="comment">* but that need not be called explicitly - refer to the explanation of</span></div>
-<div class="line"><a name="l00058"></a><span class="lineno">   58</span> <span class="comment">* prjprm::flag.</span></div>
-<div class="line"><a name="l00059"></a><span class="lineno">   59</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00060"></a><span class="lineno">   60</span> <span class="comment">* Each map projection is implemented via separate functions for the spherical</span></div>
-<div class="line"><a name="l00061"></a><span class="lineno">   61</span> <span class="comment">* projection, ???s2x(), and deprojection, ???x2s().</span></div>
-<div class="line"><a name="l00062"></a><span class="lineno">   62</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00063"></a><span class="lineno">   63</span> <span class="comment">* A set of driver routines, prjset(), prjx2s(), and prjs2x(), provides a</span></div>
-<div class="line"><a name="l00064"></a><span class="lineno">   64</span> <span class="comment">* generic interface to the specific projection routines which they invoke</span></div>
-<div class="line"><a name="l00065"></a><span class="lineno">   65</span> <span class="comment">* via pointers-to-functions stored in the prjprm struct.</span></div>
-<div class="line"><a name="l00066"></a><span class="lineno">   66</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00067"></a><span class="lineno">   67</span> <span class="comment">* In summary, the routines are:</span></div>
-<div class="line"><a name="l00068"></a><span class="lineno">   68</span> <span class="comment">*   - prjini()                Initialization routine for the prjprm struct.</span></div>
-<div class="line"><a name="l00069"></a><span class="lineno">   69</span> <span class="comment">*   - prjprt()                Routine to print the prjprm struct.</span></div>
-<div class="line"><a name="l00070"></a><span class="lineno">   70</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00071"></a><span class="lineno">   71</span> <span class="comment">*   - prjset(), prjx2s(), prjs2x():   Generic driver routines</span></div>
-<div class="line"><a name="l00072"></a><span class="lineno">   72</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00073"></a><span class="lineno">   73</span> <span class="comment">*   - azpset(), azpx2s(), azps2x():   AZP (zenithal/azimuthal perspective)</span></div>
-<div class="line"><a name="l00074"></a><span class="lineno">   74</span> <span class="comment">*   - szpset(), szpx2s(), szps2x():   SZP (slant zenithal perspective)</span></div>
-<div class="line"><a name="l00075"></a><span class="lineno">   75</span> <span class="comment">*   - tanset(), tanx2s(), tans2x():   TAN (gnomonic)</span></div>
-<div class="line"><a name="l00076"></a><span class="lineno">   76</span> <span class="comment">*   - stgset(), stgx2s(), stgs2x():   STG (stereographic)</span></div>
-<div class="line"><a name="l00077"></a><span class="lineno">   77</span> <span class="comment">*   - sinset(), sinx2s(), sins2x():   SIN (orthographic/synthesis)</span></div>
-<div class="line"><a name="l00078"></a><span class="lineno">   78</span> <span class="comment">*   - arcset(), arcx2s(), arcs2x():   ARC (zenithal/azimuthal equidistant)</span></div>
-<div class="line"><a name="l00079"></a><span class="lineno">   79</span> <span class="comment">*   - zpnset(), zpnx2s(), zpns2x():   ZPN (zenithal/azimuthal polynomial)</span></div>
-<div class="line"><a name="l00080"></a><span class="lineno">   80</span> <span class="comment">*   - zeaset(), zeax2s(), zeas2x():   ZEA (zenithal/azimuthal equal area)</span></div>
-<div class="line"><a name="l00081"></a><span class="lineno">   81</span> <span class="comment">*   - airset(), airx2s(), airs2x():   AIR (Airy)</span></div>
-<div class="line"><a name="l00082"></a><span class="lineno">   82</span> <span class="comment">*   - cypset(), cypx2s(), cyps2x():   CYP (cylindrical perspective)</span></div>
-<div class="line"><a name="l00083"></a><span class="lineno">   83</span> <span class="comment">*   - ceaset(), ceax2s(), ceas2x():   CEA (cylindrical equal area)</span></div>
-<div class="line"><a name="l00084"></a><span class="lineno">   84</span> <span class="comment">*   - carset(), carx2s(), cars2x():   CAR (Plate carree)</span></div>
-<div class="line"><a name="l00085"></a><span class="lineno">   85</span> <span class="comment">*   - merset(), merx2s(), mers2x():   MER (Mercator)</span></div>
-<div class="line"><a name="l00086"></a><span class="lineno">   86</span> <span class="comment">*   - sflset(), sflx2s(), sfls2x():   SFL (Sanson-Flamsteed)</span></div>
-<div class="line"><a name="l00087"></a><span class="lineno">   87</span> <span class="comment">*   - parset(), parx2s(), pars2x():   PAR (parabolic)</span></div>
-<div class="line"><a name="l00088"></a><span class="lineno">   88</span> <span class="comment">*   - molset(), molx2s(), mols2x():   MOL (Mollweide)</span></div>
-<div class="line"><a name="l00089"></a><span class="lineno">   89</span> <span class="comment">*   - aitset(), aitx2s(), aits2x():   AIT (Hammer-Aitoff)</span></div>
-<div class="line"><a name="l00090"></a><span class="lineno">   90</span> <span class="comment">*   - copset(), copx2s(), cops2x():   COP (conic perspective)</span></div>
-<div class="line"><a name="l00091"></a><span class="lineno">   91</span> <span class="comment">*   - coeset(), coex2s(), coes2x():   COE (conic equal area)</span></div>
-<div class="line"><a name="l00092"></a><span class="lineno">   92</span> <span class="comment">*   - codset(), codx2s(), cods2x():   COD (conic equidistant)</span></div>
-<div class="line"><a name="l00093"></a><span class="lineno">   93</span> <span class="comment">*   - cooset(), coox2s(), coos2x():   COO (conic orthomorphic)</span></div>
-<div class="line"><a name="l00094"></a><span class="lineno">   94</span> <span class="comment">*   - bonset(), bonx2s(), bons2x():   BON (Bonne)</span></div>
-<div class="line"><a name="l00095"></a><span class="lineno">   95</span> <span class="comment">*   - pcoset(), pcox2s(), pcos2x():   PCO (polyconic)</span></div>
-<div class="line"><a name="l00096"></a><span class="lineno">   96</span> <span class="comment">*   - tscset(), tscx2s(), tscs2x():   TSC (tangential spherical cube)</span></div>
-<div class="line"><a name="l00097"></a><span class="lineno">   97</span> <span class="comment">*   - cscset(), cscx2s(), cscs2x():   CSC (COBE spherical cube)</span></div>
-<div class="line"><a name="l00098"></a><span class="lineno">   98</span> <span class="comment">*   - qscset(), qscx2s(), qscs2x():   QSC (quadrilateralized spherical cube)</span></div>
-<div class="line"><a name="l00099"></a><span class="lineno">   99</span> <span class="comment">*   - hpxset(), hpxx2s(), hpxs2x():   HPX (HEALPix)</span></div>
-<div class="line"><a name="l00100"></a><span class="lineno">  100</span> <span class="comment">*   - xphset(), xphx2s(), xphs2x():   XPH (HEALPix polar, aka "butterfly")</span></div>
-<div class="line"><a name="l00101"></a><span class="lineno">  101</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00102"></a><span class="lineno">  102</span> <span class="comment">* Argument checking (projection routines):</span></div>
-<div class="line"><a name="l00103"></a><span class="lineno">  103</span> <span class="comment">* ----------------------------------------</span></div>
-<div class="line"><a name="l00104"></a><span class="lineno">  104</span> <span class="comment">* The values of phi and theta (the native longitude and latitude) normally lie</span></div>
-<div class="line"><a name="l00105"></a><span class="lineno">  105</span> <span class="comment">* in the range [-180,180] for phi, and [-90,90] for theta.  However, all</span></div>
-<div class="line"><a name="l00106"></a><span class="lineno">  106</span> <span class="comment">* projection routines will accept any value of phi and will not normalize it.</span></div>
-<div class="line"><a name="l00107"></a><span class="lineno">  107</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00108"></a><span class="lineno">  108</span> <span class="comment">* The projection routines do not explicitly check that theta lies within the</span></div>
-<div class="line"><a name="l00109"></a><span class="lineno">  109</span> <span class="comment">* range [-90,90].  They do check for any value of theta that produces an</span></div>
-<div class="line"><a name="l00110"></a><span class="lineno">  110</span> <span class="comment">* invalid argument to the projection equations (e.g. leading to division by</span></div>
-<div class="line"><a name="l00111"></a><span class="lineno">  111</span> <span class="comment">* zero).  The projection routines for AZP, SZP, TAN, SIN, ZPN, and COP also</span></div>
-<div class="line"><a name="l00112"></a><span class="lineno">  112</span> <span class="comment">* return error 2 if (phi,theta) corresponds to the overlapped (far) side of</span></div>
-<div class="line"><a name="l00113"></a><span class="lineno">  113</span> <span class="comment">* the projection but also return the corresponding value of (x,y).  This</span></div>
-<div class="line"><a name="l00114"></a><span class="lineno">  114</span> <span class="comment">* strict bounds checking may be relaxed at any time by setting</span></div>
-<div class="line"><a name="l00115"></a><span class="lineno">  115</span> <span class="comment">* prjprm::bounds%2 to 0 (rather than 1); the projections need not be</span></div>
-<div class="line"><a name="l00116"></a><span class="lineno">  116</span> <span class="comment">* reinitialized.</span></div>
-<div class="line"><a name="l00117"></a><span class="lineno">  117</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00118"></a><span class="lineno">  118</span> <span class="comment">* Argument checking (deprojection routines):</span></div>
-<div class="line"><a name="l00119"></a><span class="lineno">  119</span> <span class="comment">* ------------------------------------------</span></div>
-<div class="line"><a name="l00120"></a><span class="lineno">  120</span> <span class="comment">* Error checking on the projected coordinates (x,y) is limited to that</span></div>
-<div class="line"><a name="l00121"></a><span class="lineno">  121</span> <span class="comment">* required to ascertain whether a solution exists.  Where a solution does</span></div>
-<div class="line"><a name="l00122"></a><span class="lineno">  122</span> <span class="comment">* exist no check is made that the value of phi and theta obtained lie within</span></div>
-<div class="line"><a name="l00123"></a><span class="lineno">  123</span> <span class="comment">* the ranges [-180,180] for phi, and [-90,90] for theta.</span></div>
-<div class="line"><a name="l00124"></a><span class="lineno">  124</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00125"></a><span class="lineno">  125</span> <span class="comment">* Accuracy:</span></div>
-<div class="line"><a name="l00126"></a><span class="lineno">  126</span> <span class="comment">* ---------</span></div>
-<div class="line"><a name="l00127"></a><span class="lineno">  127</span> <span class="comment">* No warranty is given for the accuracy of these routines (refer to the</span></div>
-<div class="line"><a name="l00128"></a><span class="lineno">  128</span> <span class="comment">* copyright notice); intending users must satisfy for themselves their</span></div>
-<div class="line"><a name="l00129"></a><span class="lineno">  129</span> <span class="comment">* adequacy for the intended purpose.  However, closure to a precision of at</span></div>
-<div class="line"><a name="l00130"></a><span class="lineno">  130</span> <span class="comment">* least 1E-10 degree of longitude and latitude has been verified for typical</span></div>
-<div class="line"><a name="l00131"></a><span class="lineno">  131</span> <span class="comment">* projection parameters on the 1 degree graticule of native longitude and</span></div>
-<div class="line"><a name="l00132"></a><span class="lineno">  132</span> <span class="comment">* latitude (to within 5 degrees of any latitude where the projection may</span></div>
-<div class="line"><a name="l00133"></a><span class="lineno">  133</span> <span class="comment">* diverge).  Refer to the tprj1.c and tprj2.c test routines that accompany</span></div>
-<div class="line"><a name="l00134"></a><span class="lineno">  134</span> <span class="comment">* this software.</span></div>
-<div class="line"><a name="l00135"></a><span class="lineno">  135</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00136"></a><span class="lineno">  136</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00137"></a><span class="lineno">  137</span> <span class="comment">* prjini() - Default constructor for the prjprm struct</span></div>
-<div class="line"><a name="l00138"></a><span class="lineno">  138</span> <span class="comment">* ----------------------------------------------------</span></div>
-<div class="line"><a name="l00139"></a><span class="lineno">  139</span> <span class="comment">* prjini() sets all members of a prjprm struct to default values.  It should</span></div>
-<div class="line"><a name="l00140"></a><span class="lineno">  140</span> <span class="comment">* be used to initialize every prjprm struct.</span></div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span> <span class="comment">* an error message, and prjprt() prints its contents.  prjbchk() performs</span></div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span> <span class="comment">* bounds checking on native spherical coordinates.</span></div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span> <span class="comment">* Setup routines for each projection with names of the form ???set(), where</span></div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span> <span class="comment">* "???" is the down-cased three-letter projection code, compute intermediate</span></div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span> <span class="comment">* values in the prjprm struct from parameters in it that were supplied by the</span></div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span> <span class="comment">* user.  The struct always needs to be set by the projection's setup routine</span></div>
+<div class="line"><a name="l00058"></a><span class="lineno">   58</span> <span class="comment">* but that need not be called explicitly - refer to the explanation of</span></div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span> <span class="comment">* prjprm::flag.</span></div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span> <span class="comment">* Each map projection is implemented via separate functions for the spherical</span></div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span> <span class="comment">* projection, ???s2x(), and deprojection, ???x2s().</span></div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span> <span class="comment">* A set of driver routines, prjset(), prjx2s(), and prjs2x(), provides a</span></div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span> <span class="comment">* generic interface to the specific projection routines which they invoke</span></div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span> <span class="comment">* via pointers-to-functions stored in the prjprm struct.</span></div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span> <span class="comment">* In summary, the routines are:</span></div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span> <span class="comment">*   - prjini()                Initialization routine for the prjprm struct.</span></div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span> <span class="comment">*   - prjfree()               Reclaim memory allocated for error messages.</span></div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span> <span class="comment">*   - prjprt()                Print the prjprm struct.</span></div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span> <span class="comment">*   - prjbchk()               Bounds checking on native coordinates.</span></div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span> <span class="comment">*   - prjset(), prjx2s(), prjs2x():   Generic driver routines</span></div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span> <span class="comment">*   - azpset(), azpx2s(), azps2x():   AZP (zenithal/azimuthal perspective)</span></div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span> <span class="comment">*   - szpset(), szpx2s(), szps2x():   SZP (slant zenithal perspective)</span></div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span> <span class="comment">*   - tanset(), tanx2s(), tans2x():   TAN (gnomonic)</span></div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span> <span class="comment">*   - stgset(), stgx2s(), stgs2x():   STG (stereographic)</span></div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span> <span class="comment">*   - sinset(), sinx2s(), sins2x():   SIN (orthographic/synthesis)</span></div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span> <span class="comment">*   - arcset(), arcx2s(), arcs2x():   ARC (zenithal/azimuthal equidistant)</span></div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span> <span class="comment">*   - zpnset(), zpnx2s(), zpns2x():   ZPN (zenithal/azimuthal polynomial)</span></div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span> <span class="comment">*   - zeaset(), zeax2s(), zeas2x():   ZEA (zenithal/azimuthal equal area)</span></div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span> <span class="comment">*   - airset(), airx2s(), airs2x():   AIR (Airy)</span></div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span> <span class="comment">*   - cypset(), cypx2s(), cyps2x():   CYP (cylindrical perspective)</span></div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span> <span class="comment">*   - ceaset(), ceax2s(), ceas2x():   CEA (cylindrical equal area)</span></div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span> <span class="comment">*   - carset(), carx2s(), cars2x():   CAR (Plate carree)</span></div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span> <span class="comment">*   - merset(), merx2s(), mers2x():   MER (Mercator)</span></div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span> <span class="comment">*   - sflset(), sflx2s(), sfls2x():   SFL (Sanson-Flamsteed)</span></div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span> <span class="comment">*   - parset(), parx2s(), pars2x():   PAR (parabolic)</span></div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span> <span class="comment">*   - molset(), molx2s(), mols2x():   MOL (Mollweide)</span></div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span> <span class="comment">*   - aitset(), aitx2s(), aits2x():   AIT (Hammer-Aitoff)</span></div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span> <span class="comment">*   - copset(), copx2s(), cops2x():   COP (conic perspective)</span></div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span> <span class="comment">*   - coeset(), coex2s(), coes2x():   COE (conic equal area)</span></div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span> <span class="comment">*   - codset(), codx2s(), cods2x():   COD (conic equidistant)</span></div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span> <span class="comment">*   - cooset(), coox2s(), coos2x():   COO (conic orthomorphic)</span></div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span> <span class="comment">*   - bonset(), bonx2s(), bons2x():   BON (Bonne)</span></div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span> <span class="comment">*   - pcoset(), pcox2s(), pcos2x():   PCO (polyconic)</span></div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span> <span class="comment">*   - tscset(), tscx2s(), tscs2x():   TSC (tangential spherical cube)</span></div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span> <span class="comment">*   - cscset(), cscx2s(), cscs2x():   CSC (COBE spherical cube)</span></div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span> <span class="comment">*   - qscset(), qscx2s(), qscs2x():   QSC (quadrilateralized spherical cube)</span></div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span> <span class="comment">*   - hpxset(), hpxx2s(), hpxs2x():   HPX (HEALPix)</span></div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span> <span class="comment">*   - xphset(), xphx2s(), xphs2x():   XPH (HEALPix polar, aka "butterfly")</span></div>
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span> <span class="comment">* Argument checking (projection routines):</span></div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span> <span class="comment">* ----------------------------------------</span></div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span> <span class="comment">* The values of phi and theta (the native longitude and latitude) normally lie</span></div>
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span> <span class="comment">* in the range [-180,180] for phi, and [-90,90] for theta.  However, all</span></div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span> <span class="comment">* projection routines will accept any value of phi and will not normalize it.</span></div>
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span> <span class="comment">* The projection routines do not explicitly check that theta lies within the</span></div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span> <span class="comment">* range [-90,90].  They do check for any value of theta that produces an</span></div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span> <span class="comment">* invalid argument to the projection equations (e.g. leading to division by</span></div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span> <span class="comment">* zero).  The projection routines for AZP, SZP, TAN, SIN, ZPN, and COP also</span></div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span> <span class="comment">* return error 2 if (phi,theta) corresponds to the overlapped (far) side of</span></div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span> <span class="comment">* the projection but also return the corresponding value of (x,y).  This</span></div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span> <span class="comment">* strict bounds checking may be relaxed at any time by setting</span></div>
+<div class="line"><a name="l00118"></a><span class="lineno">  118</span> <span class="comment">* prjprm::bounds%2 to 0 (rather than 1); the projections need not be</span></div>
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span> <span class="comment">* reinitialized.</span></div>
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span> <span class="comment">* Argument checking (deprojection routines):</span></div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span> <span class="comment">* ------------------------------------------</span></div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span> <span class="comment">* Error checking on the projected coordinates (x,y) is limited to that</span></div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span> <span class="comment">* required to ascertain whether a solution exists.  Where a solution does</span></div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span> <span class="comment">* exist, an optional check is made that the value of phi and theta obtained</span></div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span> <span class="comment">* lie within the ranges [-180,180] for phi, and [-90,90] for theta.  This</span></div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span> <span class="comment">* check, performed by prjbchk(), is enabled by default.  It may be disabled by</span></div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span> <span class="comment">* setting prjprm::bounds%4 to 0 (rather than 1); the projections need not be</span></div>
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span> <span class="comment">* reinitialized.</span></div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span> <span class="comment">* Accuracy:</span></div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span> <span class="comment">* ---------</span></div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span> <span class="comment">* No warranty is given for the accuracy of these routines (refer to the</span></div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span> <span class="comment">* copyright notice); intending users must satisfy for themselves their</span></div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span> <span class="comment">* adequacy for the intended purpose.  However, closure to a precision of at</span></div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span> <span class="comment">* least 1E-10 degree of longitude and latitude has been verified for typical</span></div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span> <span class="comment">* projection parameters on the 1 degree graticule of native longitude and</span></div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span> <span class="comment">* latitude (to within 5 degrees of any latitude where the projection may</span></div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span> <span class="comment">* diverge).  Refer to the tprj1.c and tprj2.c test routines that accompany</span></div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span> <span class="comment">* this software.</span></div>
 <div class="line"><a name="l00141"></a><span class="lineno">  141</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00142"></a><span class="lineno">  142</span> <span class="comment">* Returned:</span></div>
-<div class="line"><a name="l00143"></a><span class="lineno">  143</span> <span class="comment">*   prj       struct prjprm*</span></div>
-<div class="line"><a name="l00144"></a><span class="lineno">  144</span> <span class="comment">*                       Projection parameters.</span></div>
-<div class="line"><a name="l00145"></a><span class="lineno">  145</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00146"></a><span class="lineno">  146</span> <span class="comment">* Function return value:</span></div>
-<div class="line"><a name="l00147"></a><span class="lineno">  147</span> <span class="comment">*             int       Status return value:</span></div>
-<div class="line"><a name="l00148"></a><span class="lineno">  148</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00149"></a><span class="lineno">  149</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
-<div class="line"><a name="l00150"></a><span class="lineno">  150</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span> <span class="comment">* prjini() - Default constructor for the prjprm struct</span></div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span> <span class="comment">* ----------------------------------------------------</span></div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span> <span class="comment">* prjini() sets all members of a prjprm struct to default values.  It should</span></div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span> <span class="comment">* be used to initialize every prjprm struct.</span></div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span> <span class="comment">* Returned:</span></div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span> <span class="comment">*   prj       struct prjprm*</span></div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span> <span class="comment">*                       Projection parameters.</span></div>
 <div class="line"><a name="l00151"></a><span class="lineno">  151</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00152"></a><span class="lineno">  152</span> <span class="comment">* prjfree() - Destructor for the prjprm struct</span></div>
-<div class="line"><a name="l00153"></a><span class="lineno">  153</span> <span class="comment">* --------------------------------------------</span></div>
-<div class="line"><a name="l00154"></a><span class="lineno">  154</span> <span class="comment">* prjfree() frees any memory that may have been allocated to store an error</span></div>
-<div class="line"><a name="l00155"></a><span class="lineno">  155</span> <span class="comment">* message in the prjprm struct.</span></div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
 <div class="line"><a name="l00156"></a><span class="lineno">  156</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00157"></a><span class="lineno">  157</span> <span class="comment">* Given:</span></div>
-<div class="line"><a name="l00158"></a><span class="lineno">  158</span> <span class="comment">*   prj       struct prjprm*</span></div>
-<div class="line"><a name="l00159"></a><span class="lineno">  159</span> <span class="comment">*                       Projection parameters.</span></div>
-<div class="line"><a name="l00160"></a><span class="lineno">  160</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00161"></a><span class="lineno">  161</span> <span class="comment">* Function return value:</span></div>
-<div class="line"><a name="l00162"></a><span class="lineno">  162</span> <span class="comment">*             int       Status return value:</span></div>
-<div class="line"><a name="l00163"></a><span class="lineno">  163</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00164"></a><span class="lineno">  164</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
-<div class="line"><a name="l00165"></a><span class="lineno">  165</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span> <span class="comment">* prjfree() - Destructor for the prjprm struct</span></div>
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span> <span class="comment">* --------------------------------------------</span></div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span> <span class="comment">* prjfree() frees any memory that may have been allocated to store an error</span></div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span> <span class="comment">* message in the prjprm struct.</span></div>
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span> <span class="comment">* Given:</span></div>
+<div class="line"><a name="l00164"></a><span class="lineno">  164</span> <span class="comment">*   prj       struct prjprm*</span></div>
+<div class="line"><a name="l00165"></a><span class="lineno">  165</span> <span class="comment">*                       Projection parameters.</span></div>
 <div class="line"><a name="l00166"></a><span class="lineno">  166</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00167"></a><span class="lineno">  167</span> <span class="comment">* prjprt() - Print routine for the prjprm struct</span></div>
-<div class="line"><a name="l00168"></a><span class="lineno">  168</span> <span class="comment">* ----------------------------------------------</span></div>
-<div class="line"><a name="l00169"></a><span class="lineno">  169</span> <span class="comment">* prjprt() prints the contents of a prjprm struct using wcsprintf().  Mainly</span></div>
-<div class="line"><a name="l00170"></a><span class="lineno">  170</span> <span class="comment">* intended for diagnostic purposes.</span></div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00168"></a><span class="lineno">  168</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00169"></a><span class="lineno">  169</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00170"></a><span class="lineno">  170</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
 <div class="line"><a name="l00171"></a><span class="lineno">  171</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00172"></a><span class="lineno">  172</span> <span class="comment">* Given:</span></div>
-<div class="line"><a name="l00173"></a><span class="lineno">  173</span> <span class="comment">*   prj       const struct prjprm*</span></div>
-<div class="line"><a name="l00174"></a><span class="lineno">  174</span> <span class="comment">*                       Projection parameters.</span></div>
-<div class="line"><a name="l00175"></a><span class="lineno">  175</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00176"></a><span class="lineno">  176</span> <span class="comment">* Function return value:</span></div>
-<div class="line"><a name="l00177"></a><span class="lineno">  177</span> <span class="comment">*             int       Status return value:</span></div>
-<div class="line"><a name="l00178"></a><span class="lineno">  178</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00179"></a><span class="lineno">  179</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
-<div class="line"><a name="l00180"></a><span class="lineno">  180</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00172"></a><span class="lineno">  172</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00173"></a><span class="lineno">  173</span> <span class="comment">* prjprt() - Print routine for the prjprm struct</span></div>
+<div class="line"><a name="l00174"></a><span class="lineno">  174</span> <span class="comment">* ----------------------------------------------</span></div>
+<div class="line"><a name="l00175"></a><span class="lineno">  175</span> <span class="comment">* prjprt() prints the contents of a prjprm struct using wcsprintf().  Mainly</span></div>
+<div class="line"><a name="l00176"></a><span class="lineno">  176</span> <span class="comment">* intended for diagnostic purposes.</span></div>
+<div class="line"><a name="l00177"></a><span class="lineno">  177</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span> <span class="comment">* Given:</span></div>
+<div class="line"><a name="l00179"></a><span class="lineno">  179</span> <span class="comment">*   prj       const struct prjprm*</span></div>
+<div class="line"><a name="l00180"></a><span class="lineno">  180</span> <span class="comment">*                       Projection parameters.</span></div>
 <div class="line"><a name="l00181"></a><span class="lineno">  181</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00182"></a><span class="lineno">  182</span> <span class="comment">* prjset() - Generic setup routine for the prjprm struct</span></div>
-<div class="line"><a name="l00183"></a><span class="lineno">  183</span> <span class="comment">* ------------------------------------------------------</span></div>
-<div class="line"><a name="l00184"></a><span class="lineno">  184</span> <span class="comment">* prjset() sets up a prjprm struct according to information supplied within</span></div>
-<div class="line"><a name="l00185"></a><span class="lineno">  185</span> <span class="comment">* it.</span></div>
+<div class="line"><a name="l00182"></a><span class="lineno">  182</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00183"></a><span class="lineno">  183</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00184"></a><span class="lineno">  184</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00185"></a><span class="lineno">  185</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
 <div class="line"><a name="l00186"></a><span class="lineno">  186</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00187"></a><span class="lineno">  187</span> <span class="comment">* Note that this routine need not be called directly; it will be invoked by</span></div>
-<div class="line"><a name="l00188"></a><span class="lineno">  188</span> <span class="comment">* prjx2s() and prjs2x() if prj.flag is anything other than a predefined magic</span></div>
-<div class="line"><a name="l00189"></a><span class="lineno">  189</span> <span class="comment">* value.</span></div>
-<div class="line"><a name="l00190"></a><span class="lineno">  190</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00191"></a><span class="lineno">  191</span> <span class="comment">* The one important distinction between prjset() and the setup routines for</span></div>
-<div class="line"><a name="l00192"></a><span class="lineno">  192</span> <span class="comment">* the specific projections is that the projection code must be defined in the</span></div>
-<div class="line"><a name="l00193"></a><span class="lineno">  193</span> <span class="comment">* prjprm struct in order for prjset() to identify the required projection.</span></div>
-<div class="line"><a name="l00194"></a><span class="lineno">  194</span> <span class="comment">* Once prjset() has initialized the prjprm struct, prjx2s() and prjs2x() use</span></div>
-<div class="line"><a name="l00195"></a><span class="lineno">  195</span> <span class="comment">* the pointers to the specific projection and deprojection routines contained</span></div>
-<div class="line"><a name="l00196"></a><span class="lineno">  196</span> <span class="comment">* therein.</span></div>
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00188"></a><span class="lineno">  188</span> <span class="comment">* prjbchk() - Bounds checking on native coordinates</span></div>
+<div class="line"><a name="l00189"></a><span class="lineno">  189</span> <span class="comment">* -------------------------------------------------</span></div>
+<div class="line"><a name="l00190"></a><span class="lineno">  190</span> <span class="comment">* prjbchk() performs bounds checking on native spherical coordinates.  As</span></div>
+<div class="line"><a name="l00191"></a><span class="lineno">  191</span> <span class="comment">* returned by the deprojection (x2s) routines, native longitude is expected</span></div>
+<div class="line"><a name="l00192"></a><span class="lineno">  192</span> <span class="comment">* to lie in the closed interval [-180,180], with latitude in [-90,90].</span></div>
+<div class="line"><a name="l00193"></a><span class="lineno">  193</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00194"></a><span class="lineno">  194</span> <span class="comment">* A tolerance may be specified to provide a small allowance for numerical</span></div>
+<div class="line"><a name="l00195"></a><span class="lineno">  195</span> <span class="comment">* imprecision.  Values that lie outside the allowed range by not more than</span></div>
+<div class="line"><a name="l00196"></a><span class="lineno">  196</span> <span class="comment">* the specified tolerance will be adjusted back into range.</span></div>
 <div class="line"><a name="l00197"></a><span class="lineno">  197</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00198"></a><span class="lineno">  198</span> <span class="comment">* Given and returned:</span></div>
-<div class="line"><a name="l00199"></a><span class="lineno">  199</span> <span class="comment">*   prj       struct prjprm*</span></div>
-<div class="line"><a name="l00200"></a><span class="lineno">  200</span> <span class="comment">*                       Projection parameters.</span></div>
+<div class="line"><a name="l00198"></a><span class="lineno">  198</span> <span class="comment">* If prjprm::bounds&4 is set, as it is by prjini(), then prjbchk() will be</span></div>
+<div class="line"><a name="l00199"></a><span class="lineno">  199</span> <span class="comment">* invoked automatically by the Cartesian-to-spherical deprojection (x2s)</span></div>
+<div class="line"><a name="l00200"></a><span class="lineno">  200</span> <span class="comment">* routines with an appropriate tolerance set for each projection.</span></div>
 <div class="line"><a name="l00201"></a><span class="lineno">  201</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00202"></a><span class="lineno">  202</span> <span class="comment">* Function return value:</span></div>
-<div class="line"><a name="l00203"></a><span class="lineno">  203</span> <span class="comment">*             int       Status return value:</span></div>
-<div class="line"><a name="l00204"></a><span class="lineno">  204</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00205"></a><span class="lineno">  205</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
-<div class="line"><a name="l00206"></a><span class="lineno">  206</span> <span class="comment">*                         2: Invalid projection parameters.</span></div>
+<div class="line"><a name="l00202"></a><span class="lineno">  202</span> <span class="comment">* Given:</span></div>
+<div class="line"><a name="l00203"></a><span class="lineno">  203</span> <span class="comment">*   tol       double    Tolerance for the bounds check [deg].</span></div>
+<div class="line"><a name="l00204"></a><span class="lineno">  204</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00205"></a><span class="lineno">  205</span> <span class="comment">*   nphi,</span></div>
+<div class="line"><a name="l00206"></a><span class="lineno">  206</span> <span class="comment">*   ntheta    int       Vector lengths.</span></div>
 <div class="line"><a name="l00207"></a><span class="lineno">  207</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00208"></a><span class="lineno">  208</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
-<div class="line"><a name="l00209"></a><span class="lineno">  209</span> <span class="comment">*                       prjprm::err if enabled, see wcserr_enable().</span></div>
-<div class="line"><a name="l00210"></a><span class="lineno">  210</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00211"></a><span class="lineno">  211</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00212"></a><span class="lineno">  212</span> <span class="comment">* prjx2s() - Generic Cartesian-to-spherical deprojection</span></div>
-<div class="line"><a name="l00213"></a><span class="lineno">  213</span> <span class="comment">* ------------------------------------------------------</span></div>
-<div class="line"><a name="l00214"></a><span class="lineno">  214</span> <span class="comment">* Deproject Cartesian (x,y) coordinates in the plane of projection to native</span></div>
-<div class="line"><a name="l00215"></a><span class="lineno">  215</span> <span class="comment">* spherical coordinates (phi,theta).</span></div>
-<div class="line"><a name="l00216"></a><span class="lineno">  216</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00217"></a><span class="lineno">  217</span> <span class="comment">* The projection is that specified by prjprm::code.</span></div>
-<div class="line"><a name="l00218"></a><span class="lineno">  218</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00219"></a><span class="lineno">  219</span> <span class="comment">* Given and returned:</span></div>
-<div class="line"><a name="l00220"></a><span class="lineno">  220</span> <span class="comment">*   prj       struct prjprm*</span></div>
-<div class="line"><a name="l00221"></a><span class="lineno">  221</span> <span class="comment">*                       Projection parameters.</span></div>
-<div class="line"><a name="l00222"></a><span class="lineno">  222</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00223"></a><span class="lineno">  223</span> <span class="comment">* Given:</span></div>
-<div class="line"><a name="l00224"></a><span class="lineno">  224</span> <span class="comment">*   nx,ny     int       Vector lengths.</span></div>
-<div class="line"><a name="l00225"></a><span class="lineno">  225</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00226"></a><span class="lineno">  226</span> <span class="comment">*   sxy,spt   int       Vector strides.</span></div>
-<div class="line"><a name="l00227"></a><span class="lineno">  227</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00228"></a><span class="lineno">  228</span> <span class="comment">*   x,y       const double[]</span></div>
-<div class="line"><a name="l00229"></a><span class="lineno">  229</span> <span class="comment">*                       Projected coordinates.</span></div>
-<div class="line"><a name="l00230"></a><span class="lineno">  230</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00231"></a><span class="lineno">  231</span> <span class="comment">* Returned:</span></div>
-<div class="line"><a name="l00232"></a><span class="lineno">  232</span> <span class="comment">*   phi,theta double[]  Longitude and latitude (phi,theta) of the projected</span></div>
-<div class="line"><a name="l00233"></a><span class="lineno">  233</span> <span class="comment">*                       point in native spherical coordinates [deg].</span></div>
-<div class="line"><a name="l00234"></a><span class="lineno">  234</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00235"></a><span class="lineno">  235</span> <span class="comment">*   stat      int[]     Status return value for each vector element:</span></div>
-<div class="line"><a name="l00236"></a><span class="lineno">  236</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00237"></a><span class="lineno">  237</span> <span class="comment">*                         1: Invalid value of (x,y).</span></div>
-<div class="line"><a name="l00238"></a><span class="lineno">  238</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00239"></a><span class="lineno">  239</span> <span class="comment">* Function return value:</span></div>
-<div class="line"><a name="l00240"></a><span class="lineno">  240</span> <span class="comment">*             int       Status return value:</span></div>
-<div class="line"><a name="l00241"></a><span class="lineno">  241</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00242"></a><span class="lineno">  242</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
-<div class="line"><a name="l00243"></a><span class="lineno">  243</span> <span class="comment">*                         2: Invalid projection parameters.</span></div>
-<div class="line"><a name="l00244"></a><span class="lineno">  244</span> <span class="comment">*                         3: One or more of the (x,y) coordinates were</span></div>
-<div class="line"><a name="l00245"></a><span class="lineno">  245</span> <span class="comment">*                            invalid, as indicated by the stat vector.</span></div>
-<div class="line"><a name="l00246"></a><span class="lineno">  246</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00247"></a><span class="lineno">  247</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
-<div class="line"><a name="l00248"></a><span class="lineno">  248</span> <span class="comment">*                       prjprm::err if enabled, see wcserr_enable().</span></div>
-<div class="line"><a name="l00249"></a><span class="lineno">  249</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00208"></a><span class="lineno">  208</span> <span class="comment">*   spt       int       Vector stride.</span></div>
+<div class="line"><a name="l00209"></a><span class="lineno">  209</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00210"></a><span class="lineno">  210</span> <span class="comment">* Given and returned:</span></div>
+<div class="line"><a name="l00211"></a><span class="lineno">  211</span> <span class="comment">*   phi,theta double[]  Native longitude and latitude (phi,theta) [deg].</span></div>
+<div class="line"><a name="l00212"></a><span class="lineno">  212</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00213"></a><span class="lineno">  213</span> <span class="comment">* Returned:</span></div>
+<div class="line"><a name="l00214"></a><span class="lineno">  214</span> <span class="comment">*   stat      int[]     Status value for each vector element:</span></div>
+<div class="line"><a name="l00215"></a><span class="lineno">  215</span> <span class="comment">*                         0: Valid value of (phi,theta).</span></div>
+<div class="line"><a name="l00216"></a><span class="lineno">  216</span> <span class="comment">*                         1: Invalid value.</span></div>
+<div class="line"><a name="l00217"></a><span class="lineno">  217</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00218"></a><span class="lineno">  218</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00219"></a><span class="lineno">  219</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00220"></a><span class="lineno">  220</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00221"></a><span class="lineno">  221</span> <span class="comment">*                         1: One or more of the (phi,theta) coordinates</span></div>
+<div class="line"><a name="l00222"></a><span class="lineno">  222</span> <span class="comment">*                            were, invalid, as indicated by the stat vector.</span></div>
+<div class="line"><a name="l00223"></a><span class="lineno">  223</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00224"></a><span class="lineno">  224</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00225"></a><span class="lineno">  225</span> <span class="comment">* prjset() - Generic setup routine for the prjprm struct</span></div>
+<div class="line"><a name="l00226"></a><span class="lineno">  226</span> <span class="comment">* ------------------------------------------------------</span></div>
+<div class="line"><a name="l00227"></a><span class="lineno">  227</span> <span class="comment">* prjset() sets up a prjprm struct according to information supplied within</span></div>
+<div class="line"><a name="l00228"></a><span class="lineno">  228</span> <span class="comment">* it.</span></div>
+<div class="line"><a name="l00229"></a><span class="lineno">  229</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00230"></a><span class="lineno">  230</span> <span class="comment">* Note that this routine need not be called directly; it will be invoked by</span></div>
+<div class="line"><a name="l00231"></a><span class="lineno">  231</span> <span class="comment">* prjx2s() and prjs2x() if prj.flag is anything other than a predefined magic</span></div>
+<div class="line"><a name="l00232"></a><span class="lineno">  232</span> <span class="comment">* value.</span></div>
+<div class="line"><a name="l00233"></a><span class="lineno">  233</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00234"></a><span class="lineno">  234</span> <span class="comment">* The one important distinction between prjset() and the setup routines for</span></div>
+<div class="line"><a name="l00235"></a><span class="lineno">  235</span> <span class="comment">* the specific projections is that the projection code must be defined in the</span></div>
+<div class="line"><a name="l00236"></a><span class="lineno">  236</span> <span class="comment">* prjprm struct in order for prjset() to identify the required projection.</span></div>
+<div class="line"><a name="l00237"></a><span class="lineno">  237</span> <span class="comment">* Once prjset() has initialized the prjprm struct, prjx2s() and prjs2x() use</span></div>
+<div class="line"><a name="l00238"></a><span class="lineno">  238</span> <span class="comment">* the pointers to the specific projection and deprojection routines contained</span></div>
+<div class="line"><a name="l00239"></a><span class="lineno">  239</span> <span class="comment">* therein.</span></div>
+<div class="line"><a name="l00240"></a><span class="lineno">  240</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00241"></a><span class="lineno">  241</span> <span class="comment">* Given and returned:</span></div>
+<div class="line"><a name="l00242"></a><span class="lineno">  242</span> <span class="comment">*   prj       struct prjprm*</span></div>
+<div class="line"><a name="l00243"></a><span class="lineno">  243</span> <span class="comment">*                       Projection parameters.</span></div>
+<div class="line"><a name="l00244"></a><span class="lineno">  244</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00245"></a><span class="lineno">  245</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00246"></a><span class="lineno">  246</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00247"></a><span class="lineno">  247</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00248"></a><span class="lineno">  248</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
+<div class="line"><a name="l00249"></a><span class="lineno">  249</span> <span class="comment">*                         2: Invalid projection parameters.</span></div>
 <div class="line"><a name="l00250"></a><span class="lineno">  250</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00251"></a><span class="lineno">  251</span> <span class="comment">* prjs2x() - Generic spherical-to-Cartesian projection</span></div>
-<div class="line"><a name="l00252"></a><span class="lineno">  252</span> <span class="comment">* ----------------------------------------------------</span></div>
-<div class="line"><a name="l00253"></a><span class="lineno">  253</span> <span class="comment">* Project native spherical coordinates (phi,theta) to Cartesian (x,y)</span></div>
-<div class="line"><a name="l00254"></a><span class="lineno">  254</span> <span class="comment">* coordinates in the plane of projection.</span></div>
-<div class="line"><a name="l00255"></a><span class="lineno">  255</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00256"></a><span class="lineno">  256</span> <span class="comment">* The projection is that specified by prjprm::code.</span></div>
-<div class="line"><a name="l00257"></a><span class="lineno">  257</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00258"></a><span class="lineno">  258</span> <span class="comment">* Given and returned:</span></div>
-<div class="line"><a name="l00259"></a><span class="lineno">  259</span> <span class="comment">*   prj       struct prjprm*</span></div>
-<div class="line"><a name="l00260"></a><span class="lineno">  260</span> <span class="comment">*                       Projection parameters.</span></div>
+<div class="line"><a name="l00251"></a><span class="lineno">  251</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
+<div class="line"><a name="l00252"></a><span class="lineno">  252</span> <span class="comment">*                       prjprm::err if enabled, see wcserr_enable().</span></div>
+<div class="line"><a name="l00253"></a><span class="lineno">  253</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00254"></a><span class="lineno">  254</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00255"></a><span class="lineno">  255</span> <span class="comment">* prjx2s() - Generic Cartesian-to-spherical deprojection</span></div>
+<div class="line"><a name="l00256"></a><span class="lineno">  256</span> <span class="comment">* ------------------------------------------------------</span></div>
+<div class="line"><a name="l00257"></a><span class="lineno">  257</span> <span class="comment">* Deproject Cartesian (x,y) coordinates in the plane of projection to native</span></div>
+<div class="line"><a name="l00258"></a><span class="lineno">  258</span> <span class="comment">* spherical coordinates (phi,theta).</span></div>
+<div class="line"><a name="l00259"></a><span class="lineno">  259</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00260"></a><span class="lineno">  260</span> <span class="comment">* The projection is that specified by prjprm::code.</span></div>
 <div class="line"><a name="l00261"></a><span class="lineno">  261</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00262"></a><span class="lineno">  262</span> <span class="comment">* Given:</span></div>
-<div class="line"><a name="l00263"></a><span class="lineno">  263</span> <span class="comment">*   nphi,</span></div>
-<div class="line"><a name="l00264"></a><span class="lineno">  264</span> <span class="comment">*   ntheta    int       Vector lengths.</span></div>
+<div class="line"><a name="l00262"></a><span class="lineno">  262</span> <span class="comment">* Given and returned:</span></div>
+<div class="line"><a name="l00263"></a><span class="lineno">  263</span> <span class="comment">*   prj       struct prjprm*</span></div>
+<div class="line"><a name="l00264"></a><span class="lineno">  264</span> <span class="comment">*                       Projection parameters.</span></div>
 <div class="line"><a name="l00265"></a><span class="lineno">  265</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00266"></a><span class="lineno">  266</span> <span class="comment">*   spt,sxy   int       Vector strides.</span></div>
-<div class="line"><a name="l00267"></a><span class="lineno">  267</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00268"></a><span class="lineno">  268</span> <span class="comment">*   phi,theta const double[]</span></div>
-<div class="line"><a name="l00269"></a><span class="lineno">  269</span> <span class="comment">*                       Longitude and latitude (phi,theta) of the projected</span></div>
-<div class="line"><a name="l00270"></a><span class="lineno">  270</span> <span class="comment">*                       point in native spherical coordinates [deg].</span></div>
-<div class="line"><a name="l00271"></a><span class="lineno">  271</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00272"></a><span class="lineno">  272</span> <span class="comment">* Returned:</span></div>
-<div class="line"><a name="l00273"></a><span class="lineno">  273</span> <span class="comment">*   x,y       double[]  Projected coordinates.</span></div>
-<div class="line"><a name="l00274"></a><span class="lineno">  274</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00275"></a><span class="lineno">  275</span> <span class="comment">*   stat      int[]     Status return value for each vector element:</span></div>
-<div class="line"><a name="l00276"></a><span class="lineno">  276</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00277"></a><span class="lineno">  277</span> <span class="comment">*                         1: Invalid value of (phi,theta).</span></div>
-<div class="line"><a name="l00278"></a><span class="lineno">  278</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00279"></a><span class="lineno">  279</span> <span class="comment">* Function return value:</span></div>
-<div class="line"><a name="l00280"></a><span class="lineno">  280</span> <span class="comment">*             int       Status return value:</span></div>
-<div class="line"><a name="l00281"></a><span class="lineno">  281</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00282"></a><span class="lineno">  282</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
-<div class="line"><a name="l00283"></a><span class="lineno">  283</span> <span class="comment">*                         2: Invalid projection parameters.</span></div>
-<div class="line"><a name="l00284"></a><span class="lineno">  284</span> <span class="comment">*                         4: One or more of the (phi,theta) coordinates</span></div>
-<div class="line"><a name="l00285"></a><span class="lineno">  285</span> <span class="comment">*                            were, invalid, as indicated by the stat vector.</span></div>
-<div class="line"><a name="l00286"></a><span class="lineno">  286</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00287"></a><span class="lineno">  287</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
-<div class="line"><a name="l00288"></a><span class="lineno">  288</span> <span class="comment">*                       prjprm::err if enabled, see wcserr_enable().</span></div>
+<div class="line"><a name="l00266"></a><span class="lineno">  266</span> <span class="comment">* Given:</span></div>
+<div class="line"><a name="l00267"></a><span class="lineno">  267</span> <span class="comment">*   nx,ny     int       Vector lengths.</span></div>
+<div class="line"><a name="l00268"></a><span class="lineno">  268</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00269"></a><span class="lineno">  269</span> <span class="comment">*   sxy,spt   int       Vector strides.</span></div>
+<div class="line"><a name="l00270"></a><span class="lineno">  270</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00271"></a><span class="lineno">  271</span> <span class="comment">*   x,y       const double[]</span></div>
+<div class="line"><a name="l00272"></a><span class="lineno">  272</span> <span class="comment">*                       Projected coordinates.</span></div>
+<div class="line"><a name="l00273"></a><span class="lineno">  273</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00274"></a><span class="lineno">  274</span> <span class="comment">* Returned:</span></div>
+<div class="line"><a name="l00275"></a><span class="lineno">  275</span> <span class="comment">*   phi,theta double[]  Longitude and latitude (phi,theta) of the projected</span></div>
+<div class="line"><a name="l00276"></a><span class="lineno">  276</span> <span class="comment">*                       point in native spherical coordinates [deg].</span></div>
+<div class="line"><a name="l00277"></a><span class="lineno">  277</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00278"></a><span class="lineno">  278</span> <span class="comment">*   stat      int[]     Status value for each vector element:</span></div>
+<div class="line"><a name="l00279"></a><span class="lineno">  279</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00280"></a><span class="lineno">  280</span> <span class="comment">*                         1: Invalid value of (x,y).</span></div>
+<div class="line"><a name="l00281"></a><span class="lineno">  281</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00282"></a><span class="lineno">  282</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00283"></a><span class="lineno">  283</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00284"></a><span class="lineno">  284</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00285"></a><span class="lineno">  285</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
+<div class="line"><a name="l00286"></a><span class="lineno">  286</span> <span class="comment">*                         2: Invalid projection parameters.</span></div>
+<div class="line"><a name="l00287"></a><span class="lineno">  287</span> <span class="comment">*                         3: One or more of the (x,y) coordinates were</span></div>
+<div class="line"><a name="l00288"></a><span class="lineno">  288</span> <span class="comment">*                            invalid, as indicated by the stat vector.</span></div>
 <div class="line"><a name="l00289"></a><span class="lineno">  289</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00290"></a><span class="lineno">  290</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00291"></a><span class="lineno">  291</span> <span class="comment">* ???set() - Specific setup routines for the prjprm struct</span></div>
-<div class="line"><a name="l00292"></a><span class="lineno">  292</span> <span class="comment">* --------------------------------------------------------</span></div>
-<div class="line"><a name="l00293"></a><span class="lineno">  293</span> <span class="comment">* Set up a prjprm struct for a particular projection according to information</span></div>
-<div class="line"><a name="l00294"></a><span class="lineno">  294</span> <span class="comment">* supplied within it.</span></div>
-<div class="line"><a name="l00295"></a><span class="lineno">  295</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00296"></a><span class="lineno">  296</span> <span class="comment">* Given and returned:</span></div>
-<div class="line"><a name="l00297"></a><span class="lineno">  297</span> <span class="comment">*   prj       struct prjprm*</span></div>
-<div class="line"><a name="l00298"></a><span class="lineno">  298</span> <span class="comment">*                       Projection parameters.</span></div>
-<div class="line"><a name="l00299"></a><span class="lineno">  299</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00300"></a><span class="lineno">  300</span> <span class="comment">* Function return value:</span></div>
-<div class="line"><a name="l00301"></a><span class="lineno">  301</span> <span class="comment">*             int       Status return value:</span></div>
-<div class="line"><a name="l00302"></a><span class="lineno">  302</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00303"></a><span class="lineno">  303</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
-<div class="line"><a name="l00304"></a><span class="lineno">  304</span> <span class="comment">*                         2: Invalid projection parameters.</span></div>
-<div class="line"><a name="l00305"></a><span class="lineno">  305</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00306"></a><span class="lineno">  306</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
-<div class="line"><a name="l00307"></a><span class="lineno">  307</span> <span class="comment">*                       prjprm::err if enabled, see wcserr_enable().</span></div>
+<div class="line"><a name="l00290"></a><span class="lineno">  290</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
+<div class="line"><a name="l00291"></a><span class="lineno">  291</span> <span class="comment">*                       prjprm::err if enabled, see wcserr_enable().</span></div>
+<div class="line"><a name="l00292"></a><span class="lineno">  292</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00293"></a><span class="lineno">  293</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00294"></a><span class="lineno">  294</span> <span class="comment">* prjs2x() - Generic spherical-to-Cartesian projection</span></div>
+<div class="line"><a name="l00295"></a><span class="lineno">  295</span> <span class="comment">* ----------------------------------------------------</span></div>
+<div class="line"><a name="l00296"></a><span class="lineno">  296</span> <span class="comment">* Project native spherical coordinates (phi,theta) to Cartesian (x,y)</span></div>
+<div class="line"><a name="l00297"></a><span class="lineno">  297</span> <span class="comment">* coordinates in the plane of projection.</span></div>
+<div class="line"><a name="l00298"></a><span class="lineno">  298</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00299"></a><span class="lineno">  299</span> <span class="comment">* The projection is that specified by prjprm::code.</span></div>
+<div class="line"><a name="l00300"></a><span class="lineno">  300</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00301"></a><span class="lineno">  301</span> <span class="comment">* Given and returned:</span></div>
+<div class="line"><a name="l00302"></a><span class="lineno">  302</span> <span class="comment">*   prj       struct prjprm*</span></div>
+<div class="line"><a name="l00303"></a><span class="lineno">  303</span> <span class="comment">*                       Projection parameters.</span></div>
+<div class="line"><a name="l00304"></a><span class="lineno">  304</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00305"></a><span class="lineno">  305</span> <span class="comment">* Given:</span></div>
+<div class="line"><a name="l00306"></a><span class="lineno">  306</span> <span class="comment">*   nphi,</span></div>
+<div class="line"><a name="l00307"></a><span class="lineno">  307</span> <span class="comment">*   ntheta    int       Vector lengths.</span></div>
 <div class="line"><a name="l00308"></a><span class="lineno">  308</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00309"></a><span class="lineno">  309</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00310"></a><span class="lineno">  310</span> <span class="comment">* ???x2s() - Specific Cartesian-to-spherical deprojection routines</span></div>
-<div class="line"><a name="l00311"></a><span class="lineno">  311</span> <span class="comment">* ----------------------------------------------------------------</span></div>
-<div class="line"><a name="l00312"></a><span class="lineno">  312</span> <span class="comment">* Transform (x,y) coordinates in the plane of projection to native spherical</span></div>
-<div class="line"><a name="l00313"></a><span class="lineno">  313</span> <span class="comment">* coordinates (phi,theta).</span></div>
+<div class="line"><a name="l00309"></a><span class="lineno">  309</span> <span class="comment">*   spt,sxy   int       Vector strides.</span></div>
+<div class="line"><a name="l00310"></a><span class="lineno">  310</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00311"></a><span class="lineno">  311</span> <span class="comment">*   phi,theta const double[]</span></div>
+<div class="line"><a name="l00312"></a><span class="lineno">  312</span> <span class="comment">*                       Longitude and latitude (phi,theta) of the projected</span></div>
+<div class="line"><a name="l00313"></a><span class="lineno">  313</span> <span class="comment">*                       point in native spherical coordinates [deg].</span></div>
 <div class="line"><a name="l00314"></a><span class="lineno">  314</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00315"></a><span class="lineno">  315</span> <span class="comment">* Given and returned:</span></div>
-<div class="line"><a name="l00316"></a><span class="lineno">  316</span> <span class="comment">*   prj       struct prjprm*</span></div>
-<div class="line"><a name="l00317"></a><span class="lineno">  317</span> <span class="comment">*                       Projection parameters.</span></div>
-<div class="line"><a name="l00318"></a><span class="lineno">  318</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00319"></a><span class="lineno">  319</span> <span class="comment">* Given:</span></div>
-<div class="line"><a name="l00320"></a><span class="lineno">  320</span> <span class="comment">*   nx,ny     int       Vector lengths.</span></div>
+<div class="line"><a name="l00315"></a><span class="lineno">  315</span> <span class="comment">* Returned:</span></div>
+<div class="line"><a name="l00316"></a><span class="lineno">  316</span> <span class="comment">*   x,y       double[]  Projected coordinates.</span></div>
+<div class="line"><a name="l00317"></a><span class="lineno">  317</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00318"></a><span class="lineno">  318</span> <span class="comment">*   stat      int[]     Status value for each vector element:</span></div>
+<div class="line"><a name="l00319"></a><span class="lineno">  319</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00320"></a><span class="lineno">  320</span> <span class="comment">*                         1: Invalid value of (phi,theta).</span></div>
 <div class="line"><a name="l00321"></a><span class="lineno">  321</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00322"></a><span class="lineno">  322</span> <span class="comment">*   sxy,spt   int       Vector strides.</span></div>
-<div class="line"><a name="l00323"></a><span class="lineno">  323</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00324"></a><span class="lineno">  324</span> <span class="comment">*   x,y       const double[]</span></div>
-<div class="line"><a name="l00325"></a><span class="lineno">  325</span> <span class="comment">*                       Projected coordinates.</span></div>
-<div class="line"><a name="l00326"></a><span class="lineno">  326</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00327"></a><span class="lineno">  327</span> <span class="comment">* Returned:</span></div>
-<div class="line"><a name="l00328"></a><span class="lineno">  328</span> <span class="comment">*   phi,theta double[]  Longitude and latitude of the projected point in</span></div>
-<div class="line"><a name="l00329"></a><span class="lineno">  329</span> <span class="comment">*                       native spherical coordinates [deg].</span></div>
-<div class="line"><a name="l00330"></a><span class="lineno">  330</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00331"></a><span class="lineno">  331</span> <span class="comment">*   stat      int[]     Status return value for each vector element:</span></div>
-<div class="line"><a name="l00332"></a><span class="lineno">  332</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00333"></a><span class="lineno">  333</span> <span class="comment">*                         1: Invalid value of (x,y).</span></div>
-<div class="line"><a name="l00334"></a><span class="lineno">  334</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00335"></a><span class="lineno">  335</span> <span class="comment">* Function return value:</span></div>
-<div class="line"><a name="l00336"></a><span class="lineno">  336</span> <span class="comment">*             int       Status return value:</span></div>
-<div class="line"><a name="l00337"></a><span class="lineno">  337</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00338"></a><span class="lineno">  338</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
-<div class="line"><a name="l00339"></a><span class="lineno">  339</span> <span class="comment">*                         2: Invalid projection parameters.</span></div>
-<div class="line"><a name="l00340"></a><span class="lineno">  340</span> <span class="comment">*                         3: One or more of the (x,y) coordinates were</span></div>
-<div class="line"><a name="l00341"></a><span class="lineno">  341</span> <span class="comment">*                            invalid, as indicated by the stat vector.</span></div>
+<div class="line"><a name="l00322"></a><span class="lineno">  322</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00323"></a><span class="lineno">  323</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00324"></a><span class="lineno">  324</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00325"></a><span class="lineno">  325</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
+<div class="line"><a name="l00326"></a><span class="lineno">  326</span> <span class="comment">*                         2: Invalid projection parameters.</span></div>
+<div class="line"><a name="l00327"></a><span class="lineno">  327</span> <span class="comment">*                         4: One or more of the (phi,theta) coordinates</span></div>
+<div class="line"><a name="l00328"></a><span class="lineno">  328</span> <span class="comment">*                            were, invalid, as indicated by the stat vector.</span></div>
+<div class="line"><a name="l00329"></a><span class="lineno">  329</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00330"></a><span class="lineno">  330</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
+<div class="line"><a name="l00331"></a><span class="lineno">  331</span> <span class="comment">*                       prjprm::err if enabled, see wcserr_enable().</span></div>
+<div class="line"><a name="l00332"></a><span class="lineno">  332</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00333"></a><span class="lineno">  333</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00334"></a><span class="lineno">  334</span> <span class="comment">* ???set() - Specific setup routines for the prjprm struct</span></div>
+<div class="line"><a name="l00335"></a><span class="lineno">  335</span> <span class="comment">* --------------------------------------------------------</span></div>
+<div class="line"><a name="l00336"></a><span class="lineno">  336</span> <span class="comment">* Set up a prjprm struct for a particular projection according to information</span></div>
+<div class="line"><a name="l00337"></a><span class="lineno">  337</span> <span class="comment">* supplied within it.</span></div>
+<div class="line"><a name="l00338"></a><span class="lineno">  338</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00339"></a><span class="lineno">  339</span> <span class="comment">* Given and returned:</span></div>
+<div class="line"><a name="l00340"></a><span class="lineno">  340</span> <span class="comment">*   prj       struct prjprm*</span></div>
+<div class="line"><a name="l00341"></a><span class="lineno">  341</span> <span class="comment">*                       Projection parameters.</span></div>
 <div class="line"><a name="l00342"></a><span class="lineno">  342</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00343"></a><span class="lineno">  343</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
-<div class="line"><a name="l00344"></a><span class="lineno">  344</span> <span class="comment">*                       prjprm::err if enabled, see wcserr_enable().</span></div>
-<div class="line"><a name="l00345"></a><span class="lineno">  345</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00346"></a><span class="lineno">  346</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00347"></a><span class="lineno">  347</span> <span class="comment">* ???s2x() - Specific spherical-to-Cartesian projection routines</span></div>
-<div class="line"><a name="l00348"></a><span class="lineno">  348</span> <span class="comment">*---------------------------------------------------------------</span></div>
-<div class="line"><a name="l00349"></a><span class="lineno">  349</span> <span class="comment">* Transform native spherical coordinates (phi,theta) to (x,y) coordinates in</span></div>
-<div class="line"><a name="l00350"></a><span class="lineno">  350</span> <span class="comment">* the plane of projection.</span></div>
+<div class="line"><a name="l00343"></a><span class="lineno">  343</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00344"></a><span class="lineno">  344</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00345"></a><span class="lineno">  345</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00346"></a><span class="lineno">  346</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
+<div class="line"><a name="l00347"></a><span class="lineno">  347</span> <span class="comment">*                         2: Invalid projection parameters.</span></div>
+<div class="line"><a name="l00348"></a><span class="lineno">  348</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00349"></a><span class="lineno">  349</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
+<div class="line"><a name="l00350"></a><span class="lineno">  350</span> <span class="comment">*                       prjprm::err if enabled, see wcserr_enable().</span></div>
 <div class="line"><a name="l00351"></a><span class="lineno">  351</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00352"></a><span class="lineno">  352</span> <span class="comment">* Given and returned:</span></div>
-<div class="line"><a name="l00353"></a><span class="lineno">  353</span> <span class="comment">*   prj       struct prjprm*</span></div>
-<div class="line"><a name="l00354"></a><span class="lineno">  354</span> <span class="comment">*                       Projection parameters.</span></div>
-<div class="line"><a name="l00355"></a><span class="lineno">  355</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00356"></a><span class="lineno">  356</span> <span class="comment">* Given:</span></div>
-<div class="line"><a name="l00357"></a><span class="lineno">  357</span> <span class="comment">*   nphi,</span></div>
-<div class="line"><a name="l00358"></a><span class="lineno">  358</span> <span class="comment">*   ntheta    int       Vector lengths.</span></div>
-<div class="line"><a name="l00359"></a><span class="lineno">  359</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00360"></a><span class="lineno">  360</span> <span class="comment">*   spt,sxy   int       Vector strides.</span></div>
+<div class="line"><a name="l00352"></a><span class="lineno">  352</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00353"></a><span class="lineno">  353</span> <span class="comment">* ???x2s() - Specific Cartesian-to-spherical deprojection routines</span></div>
+<div class="line"><a name="l00354"></a><span class="lineno">  354</span> <span class="comment">* ----------------------------------------------------------------</span></div>
+<div class="line"><a name="l00355"></a><span class="lineno">  355</span> <span class="comment">* Transform (x,y) coordinates in the plane of projection to native spherical</span></div>
+<div class="line"><a name="l00356"></a><span class="lineno">  356</span> <span class="comment">* coordinates (phi,theta).</span></div>
+<div class="line"><a name="l00357"></a><span class="lineno">  357</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00358"></a><span class="lineno">  358</span> <span class="comment">* Given and returned:</span></div>
+<div class="line"><a name="l00359"></a><span class="lineno">  359</span> <span class="comment">*   prj       struct prjprm*</span></div>
+<div class="line"><a name="l00360"></a><span class="lineno">  360</span> <span class="comment">*                       Projection parameters.</span></div>
 <div class="line"><a name="l00361"></a><span class="lineno">  361</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00362"></a><span class="lineno">  362</span> <span class="comment">*   phi,theta const double[]</span></div>
-<div class="line"><a name="l00363"></a><span class="lineno">  363</span> <span class="comment">*                       Longitude and latitude of the projected point in</span></div>
-<div class="line"><a name="l00364"></a><span class="lineno">  364</span> <span class="comment">*                       native spherical coordinates [deg].</span></div>
-<div class="line"><a name="l00365"></a><span class="lineno">  365</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00366"></a><span class="lineno">  366</span> <span class="comment">* Returned:</span></div>
-<div class="line"><a name="l00367"></a><span class="lineno">  367</span> <span class="comment">*   x,y       double[]  Projected coordinates.</span></div>
-<div class="line"><a name="l00368"></a><span class="lineno">  368</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00369"></a><span class="lineno">  369</span> <span class="comment">*   stat      int[]     Status return value for each vector element:</span></div>
-<div class="line"><a name="l00370"></a><span class="lineno">  370</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00371"></a><span class="lineno">  371</span> <span class="comment">*                         1: Invalid value of (phi,theta).</span></div>
-<div class="line"><a name="l00372"></a><span class="lineno">  372</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00373"></a><span class="lineno">  373</span> <span class="comment">* Function return value:</span></div>
-<div class="line"><a name="l00374"></a><span class="lineno">  374</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00362"></a><span class="lineno">  362</span> <span class="comment">* Given:</span></div>
+<div class="line"><a name="l00363"></a><span class="lineno">  363</span> <span class="comment">*   nx,ny     int       Vector lengths.</span></div>
+<div class="line"><a name="l00364"></a><span class="lineno">  364</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00365"></a><span class="lineno">  365</span> <span class="comment">*   sxy,spt   int       Vector strides.</span></div>
+<div class="line"><a name="l00366"></a><span class="lineno">  366</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00367"></a><span class="lineno">  367</span> <span class="comment">*   x,y       const double[]</span></div>
+<div class="line"><a name="l00368"></a><span class="lineno">  368</span> <span class="comment">*                       Projected coordinates.</span></div>
+<div class="line"><a name="l00369"></a><span class="lineno">  369</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00370"></a><span class="lineno">  370</span> <span class="comment">* Returned:</span></div>
+<div class="line"><a name="l00371"></a><span class="lineno">  371</span> <span class="comment">*   phi,theta double[]  Longitude and latitude of the projected point in</span></div>
+<div class="line"><a name="l00372"></a><span class="lineno">  372</span> <span class="comment">*                       native spherical coordinates [deg].</span></div>
+<div class="line"><a name="l00373"></a><span class="lineno">  373</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00374"></a><span class="lineno">  374</span> <span class="comment">*   stat      int[]     Status value for each vector element:</span></div>
 <div class="line"><a name="l00375"></a><span class="lineno">  375</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00376"></a><span class="lineno">  376</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
-<div class="line"><a name="l00377"></a><span class="lineno">  377</span> <span class="comment">*                         2: Invalid projection parameters.</span></div>
-<div class="line"><a name="l00378"></a><span class="lineno">  378</span> <span class="comment">*                         4: One or more of the (phi,theta) coordinates</span></div>
-<div class="line"><a name="l00379"></a><span class="lineno">  379</span> <span class="comment">*                            were, invalid, as indicated by the stat vector.</span></div>
-<div class="line"><a name="l00380"></a><span class="lineno">  380</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00381"></a><span class="lineno">  381</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
-<div class="line"><a name="l00382"></a><span class="lineno">  382</span> <span class="comment">*                       prjprm::err if enabled, see wcserr_enable().</span></div>
-<div class="line"><a name="l00383"></a><span class="lineno">  383</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00384"></a><span class="lineno">  384</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00385"></a><span class="lineno">  385</span> <span class="comment">* prjprm struct - Projection parameters</span></div>
-<div class="line"><a name="l00386"></a><span class="lineno">  386</span> <span class="comment">* -------------------------------------</span></div>
-<div class="line"><a name="l00387"></a><span class="lineno">  387</span> <span class="comment">* The prjprm struct contains all information needed to project or deproject</span></div>
-<div class="line"><a name="l00388"></a><span class="lineno">  388</span> <span class="comment">* native spherical coordinates.  It consists of certain members that must be</span></div>
-<div class="line"><a name="l00389"></a><span class="lineno">  389</span> <span class="comment">* set by the user ("given") and others that are set by the WCSLIB routines</span></div>
-<div class="line"><a name="l00390"></a><span class="lineno">  390</span> <span class="comment">* ("returned").  Some of the latter are supplied for informational purposes</span></div>
-<div class="line"><a name="l00391"></a><span class="lineno">  391</span> <span class="comment">* while others are for internal use only.</span></div>
-<div class="line"><a name="l00392"></a><span class="lineno">  392</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00393"></a><span class="lineno">  393</span> <span class="comment">*   int flag</span></div>
-<div class="line"><a name="l00394"></a><span class="lineno">  394</span> <span class="comment">*     (Given and returned) This flag must be set to zero whenever any of the</span></div>
-<div class="line"><a name="l00395"></a><span class="lineno">  395</span> <span class="comment">*     following prjprm struct members are set or changed:</span></div>
-<div class="line"><a name="l00396"></a><span class="lineno">  396</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00397"></a><span class="lineno">  397</span> <span class="comment">*       - prjprm::code,</span></div>
-<div class="line"><a name="l00398"></a><span class="lineno">  398</span> <span class="comment">*       - prjprm::r0,</span></div>
-<div class="line"><a name="l00399"></a><span class="lineno">  399</span> <span class="comment">*       - prjprm::pv[],</span></div>
-<div class="line"><a name="l00400"></a><span class="lineno">  400</span> <span class="comment">*       - prjprm::phi0,</span></div>
-<div class="line"><a name="l00401"></a><span class="lineno">  401</span> <span class="comment">*       - prjprm::theta0.</span></div>
+<div class="line"><a name="l00376"></a><span class="lineno">  376</span> <span class="comment">*                         1: Invalid value of (x,y).</span></div>
+<div class="line"><a name="l00377"></a><span class="lineno">  377</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00378"></a><span class="lineno">  378</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00379"></a><span class="lineno">  379</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00380"></a><span class="lineno">  380</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00381"></a><span class="lineno">  381</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
+<div class="line"><a name="l00382"></a><span class="lineno">  382</span> <span class="comment">*                         2: Invalid projection parameters.</span></div>
+<div class="line"><a name="l00383"></a><span class="lineno">  383</span> <span class="comment">*                         3: One or more of the (x,y) coordinates were</span></div>
+<div class="line"><a name="l00384"></a><span class="lineno">  384</span> <span class="comment">*                            invalid, as indicated by the stat vector.</span></div>
+<div class="line"><a name="l00385"></a><span class="lineno">  385</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00386"></a><span class="lineno">  386</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
+<div class="line"><a name="l00387"></a><span class="lineno">  387</span> <span class="comment">*                       prjprm::err if enabled, see wcserr_enable().</span></div>
+<div class="line"><a name="l00388"></a><span class="lineno">  388</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00389"></a><span class="lineno">  389</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00390"></a><span class="lineno">  390</span> <span class="comment">* ???s2x() - Specific spherical-to-Cartesian projection routines</span></div>
+<div class="line"><a name="l00391"></a><span class="lineno">  391</span> <span class="comment">*---------------------------------------------------------------</span></div>
+<div class="line"><a name="l00392"></a><span class="lineno">  392</span> <span class="comment">* Transform native spherical coordinates (phi,theta) to (x,y) coordinates in</span></div>
+<div class="line"><a name="l00393"></a><span class="lineno">  393</span> <span class="comment">* the plane of projection.</span></div>
+<div class="line"><a name="l00394"></a><span class="lineno">  394</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00395"></a><span class="lineno">  395</span> <span class="comment">* Given and returned:</span></div>
+<div class="line"><a name="l00396"></a><span class="lineno">  396</span> <span class="comment">*   prj       struct prjprm*</span></div>
+<div class="line"><a name="l00397"></a><span class="lineno">  397</span> <span class="comment">*                       Projection parameters.</span></div>
+<div class="line"><a name="l00398"></a><span class="lineno">  398</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00399"></a><span class="lineno">  399</span> <span class="comment">* Given:</span></div>
+<div class="line"><a name="l00400"></a><span class="lineno">  400</span> <span class="comment">*   nphi,</span></div>
+<div class="line"><a name="l00401"></a><span class="lineno">  401</span> <span class="comment">*   ntheta    int       Vector lengths.</span></div>
 <div class="line"><a name="l00402"></a><span class="lineno">  402</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00403"></a><span class="lineno">  403</span> <span class="comment">*     This signals the initialization routine (prjset() or ???set()) to</span></div>
-<div class="line"><a name="l00404"></a><span class="lineno">  404</span> <span class="comment">*     recompute the returned members of the prjprm struct.  flag will then be</span></div>
-<div class="line"><a name="l00405"></a><span class="lineno">  405</span> <span class="comment">*     reset to indicate that this has been done.</span></div>
-<div class="line"><a name="l00406"></a><span class="lineno">  406</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00407"></a><span class="lineno">  407</span> <span class="comment">*     Note that flag need not be reset when prjprm::bounds is changed.</span></div>
+<div class="line"><a name="l00403"></a><span class="lineno">  403</span> <span class="comment">*   spt,sxy   int       Vector strides.</span></div>
+<div class="line"><a name="l00404"></a><span class="lineno">  404</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00405"></a><span class="lineno">  405</span> <span class="comment">*   phi,theta const double[]</span></div>
+<div class="line"><a name="l00406"></a><span class="lineno">  406</span> <span class="comment">*                       Longitude and latitude of the projected point in</span></div>
+<div class="line"><a name="l00407"></a><span class="lineno">  407</span> <span class="comment">*                       native spherical coordinates [deg].</span></div>
 <div class="line"><a name="l00408"></a><span class="lineno">  408</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00409"></a><span class="lineno">  409</span> <span class="comment">*   char code[4]</span></div>
-<div class="line"><a name="l00410"></a><span class="lineno">  410</span> <span class="comment">*     (Given) Three-letter projection code defined by the FITS standard.</span></div>
+<div class="line"><a name="l00409"></a><span class="lineno">  409</span> <span class="comment">* Returned:</span></div>
+<div class="line"><a name="l00410"></a><span class="lineno">  410</span> <span class="comment">*   x,y       double[]  Projected coordinates.</span></div>
 <div class="line"><a name="l00411"></a><span class="lineno">  411</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00412"></a><span class="lineno">  412</span> <span class="comment">*   double r0</span></div>
-<div class="line"><a name="l00413"></a><span class="lineno">  413</span> <span class="comment">*     (Given) The radius of the generating sphere for the projection, a linear</span></div>
-<div class="line"><a name="l00414"></a><span class="lineno">  414</span> <span class="comment">*     scaling parameter.  If this is zero, it will be reset to its default</span></div>
-<div class="line"><a name="l00415"></a><span class="lineno">  415</span> <span class="comment">*     value of 180/pi (the value for FITS WCS).</span></div>
-<div class="line"><a name="l00416"></a><span class="lineno">  416</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00417"></a><span class="lineno">  417</span> <span class="comment">*   double pv[30]</span></div>
-<div class="line"><a name="l00418"></a><span class="lineno">  418</span> <span class="comment">*     (Given) Projection parameters.  These correspond to the PVi_ma keywords</span></div>
-<div class="line"><a name="l00419"></a><span class="lineno">  419</span> <span class="comment">*     in FITS, so pv[0] is PVi_0a, pv[1] is PVi_1a, etc., where i denotes the</span></div>
-<div class="line"><a name="l00420"></a><span class="lineno">  420</span> <span class="comment">*     latitude-like axis.  Many projections use pv[1] (PVi_1a), some also use</span></div>
-<div class="line"><a name="l00421"></a><span class="lineno">  421</span> <span class="comment">*     pv[2] (PVi_2a) and SZP uses pv[3] (PVi_3a).  ZPN is currently the only</span></div>
-<div class="line"><a name="l00422"></a><span class="lineno">  422</span> <span class="comment">*     projection that uses any of the others.</span></div>
+<div class="line"><a name="l00412"></a><span class="lineno">  412</span> <span class="comment">*   stat      int[]     Status value for each vector element:</span></div>
+<div class="line"><a name="l00413"></a><span class="lineno">  413</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00414"></a><span class="lineno">  414</span> <span class="comment">*                         1: Invalid value of (phi,theta).</span></div>
+<div class="line"><a name="l00415"></a><span class="lineno">  415</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00416"></a><span class="lineno">  416</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00417"></a><span class="lineno">  417</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00418"></a><span class="lineno">  418</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00419"></a><span class="lineno">  419</span> <span class="comment">*                         1: Null prjprm pointer passed.</span></div>
+<div class="line"><a name="l00420"></a><span class="lineno">  420</span> <span class="comment">*                         2: Invalid projection parameters.</span></div>
+<div class="line"><a name="l00421"></a><span class="lineno">  421</span> <span class="comment">*                         4: One or more of the (phi,theta) coordinates</span></div>
+<div class="line"><a name="l00422"></a><span class="lineno">  422</span> <span class="comment">*                            were, invalid, as indicated by the stat vector.</span></div>
 <div class="line"><a name="l00423"></a><span class="lineno">  423</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00424"></a><span class="lineno">  424</span> <span class="comment">*     Usage of the pv[] array as it applies to each projection is described in</span></div>
-<div class="line"><a name="l00425"></a><span class="lineno">  425</span> <span class="comment">*     the prologue to each trio of projection routines in prj.c.</span></div>
+<div class="line"><a name="l00424"></a><span class="lineno">  424</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
+<div class="line"><a name="l00425"></a><span class="lineno">  425</span> <span class="comment">*                       prjprm::err if enabled, see wcserr_enable().</span></div>
 <div class="line"><a name="l00426"></a><span class="lineno">  426</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00427"></a><span class="lineno">  427</span> <span class="comment">*   double phi0</span></div>
-<div class="line"><a name="l00428"></a><span class="lineno">  428</span> <span class="comment">*     (Given) The native longitude, phi_0 [deg], and ...</span></div>
-<div class="line"><a name="l00429"></a><span class="lineno">  429</span> <span class="comment">*   double theta0</span></div>
-<div class="line"><a name="l00430"></a><span class="lineno">  430</span> <span class="comment">*     (Given) ... the native latitude, theta_0 [deg], of the reference point,</span></div>
-<div class="line"><a name="l00431"></a><span class="lineno">  431</span> <span class="comment">*     i.e. the point (x,y) = (0,0).  If undefined (set to a magic value by</span></div>
-<div class="line"><a name="l00432"></a><span class="lineno">  432</span> <span class="comment">*     prjini()) the initialization routine will set this to a</span></div>
-<div class="line"><a name="l00433"></a><span class="lineno">  433</span> <span class="comment">*     projection-specific default.</span></div>
-<div class="line"><a name="l00434"></a><span class="lineno">  434</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00435"></a><span class="lineno">  435</span> <span class="comment">*   int bounds</span></div>
-<div class="line"><a name="l00436"></a><span class="lineno">  436</span> <span class="comment">*     (Given) Controls strict bounds checking.  If bounds&1 then enable bounds</span></div>
-<div class="line"><a name="l00437"></a><span class="lineno">  437</span> <span class="comment">*     checking for the sky-to-pixel (s2x) transformation for the AZP, SZP,</span></div>
-<div class="line"><a name="l00438"></a><span class="lineno">  438</span> <span class="comment">*     TAN, SIN, ZPN, and COP projections.  If bounds&2 then enable bounds</span></div>
-<div class="line"><a name="l00439"></a><span class="lineno">  439</span> <span class="comment">*     checking for the pixel-to-sky transformation for the HPX and XPH</span></div>
-<div class="line"><a name="l00440"></a><span class="lineno">  440</span> <span class="comment">*     projections.  Set to 3 by prjini() by default which enables both.  Zero</span></div>
-<div class="line"><a name="l00441"></a><span class="lineno">  441</span> <span class="comment">*     it to disable all checking.</span></div>
-<div class="line"><a name="l00442"></a><span class="lineno">  442</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00443"></a><span class="lineno">  443</span> <span class="comment">* The remaining members of the prjprm struct are maintained by the setup</span></div>
-<div class="line"><a name="l00444"></a><span class="lineno">  444</span> <span class="comment">* routines and must not be modified elsewhere:</span></div>
+<div class="line"><a name="l00427"></a><span class="lineno">  427</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00428"></a><span class="lineno">  428</span> <span class="comment">* prjprm struct - Projection parameters</span></div>
+<div class="line"><a name="l00429"></a><span class="lineno">  429</span> <span class="comment">* -------------------------------------</span></div>
+<div class="line"><a name="l00430"></a><span class="lineno">  430</span> <span class="comment">* The prjprm struct contains all information needed to project or deproject</span></div>
+<div class="line"><a name="l00431"></a><span class="lineno">  431</span> <span class="comment">* native spherical coordinates.  It consists of certain members that must be</span></div>
+<div class="line"><a name="l00432"></a><span class="lineno">  432</span> <span class="comment">* set by the user ("given") and others that are set by the WCSLIB routines</span></div>
+<div class="line"><a name="l00433"></a><span class="lineno">  433</span> <span class="comment">* ("returned").  Some of the latter are supplied for informational purposes</span></div>
+<div class="line"><a name="l00434"></a><span class="lineno">  434</span> <span class="comment">* while others are for internal use only.</span></div>
+<div class="line"><a name="l00435"></a><span class="lineno">  435</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00436"></a><span class="lineno">  436</span> <span class="comment">*   int flag</span></div>
+<div class="line"><a name="l00437"></a><span class="lineno">  437</span> <span class="comment">*     (Given and returned) This flag must be set to zero whenever any of the</span></div>
+<div class="line"><a name="l00438"></a><span class="lineno">  438</span> <span class="comment">*     following prjprm struct members are set or changed:</span></div>
+<div class="line"><a name="l00439"></a><span class="lineno">  439</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00440"></a><span class="lineno">  440</span> <span class="comment">*       - prjprm::code,</span></div>
+<div class="line"><a name="l00441"></a><span class="lineno">  441</span> <span class="comment">*       - prjprm::r0,</span></div>
+<div class="line"><a name="l00442"></a><span class="lineno">  442</span> <span class="comment">*       - prjprm::pv[],</span></div>
+<div class="line"><a name="l00443"></a><span class="lineno">  443</span> <span class="comment">*       - prjprm::phi0,</span></div>
+<div class="line"><a name="l00444"></a><span class="lineno">  444</span> <span class="comment">*       - prjprm::theta0.</span></div>
 <div class="line"><a name="l00445"></a><span class="lineno">  445</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00446"></a><span class="lineno">  446</span> <span class="comment">*   char name[40]</span></div>
-<div class="line"><a name="l00447"></a><span class="lineno">  447</span> <span class="comment">*     (Returned) Long name of the projection.</span></div>
-<div class="line"><a name="l00448"></a><span class="lineno">  448</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00449"></a><span class="lineno">  449</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
-<div class="line"><a name="l00450"></a><span class="lineno">  450</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00451"></a><span class="lineno">  451</span> <span class="comment">*   int  category</span></div>
-<div class="line"><a name="l00452"></a><span class="lineno">  452</span> <span class="comment">*     (Returned) Projection category matching the value of the relevant global</span></div>
-<div class="line"><a name="l00453"></a><span class="lineno">  453</span> <span class="comment">*     variable:</span></div>
+<div class="line"><a name="l00446"></a><span class="lineno">  446</span> <span class="comment">*     This signals the initialization routine (prjset() or ???set()) to</span></div>
+<div class="line"><a name="l00447"></a><span class="lineno">  447</span> <span class="comment">*     recompute the returned members of the prjprm struct.  flag will then be</span></div>
+<div class="line"><a name="l00448"></a><span class="lineno">  448</span> <span class="comment">*     reset to indicate that this has been done.</span></div>
+<div class="line"><a name="l00449"></a><span class="lineno">  449</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00450"></a><span class="lineno">  450</span> <span class="comment">*     Note that flag need not be reset when prjprm::bounds is changed.</span></div>
+<div class="line"><a name="l00451"></a><span class="lineno">  451</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00452"></a><span class="lineno">  452</span> <span class="comment">*   char code[4]</span></div>
+<div class="line"><a name="l00453"></a><span class="lineno">  453</span> <span class="comment">*     (Given) Three-letter projection code defined by the FITS standard.</span></div>
 <div class="line"><a name="l00454"></a><span class="lineno">  454</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00455"></a><span class="lineno">  455</span> <span class="comment">*     - ZENITHAL,</span></div>
-<div class="line"><a name="l00456"></a><span class="lineno">  456</span> <span class="comment">*     - CYLINDRICAL,</span></div>
-<div class="line"><a name="l00457"></a><span class="lineno">  457</span> <span class="comment">*     - PSEUDOCYLINDRICAL,</span></div>
-<div class="line"><a name="l00458"></a><span class="lineno">  458</span> <span class="comment">*     - CONVENTIONAL,</span></div>
-<div class="line"><a name="l00459"></a><span class="lineno">  459</span> <span class="comment">*     - CONIC,</span></div>
-<div class="line"><a name="l00460"></a><span class="lineno">  460</span> <span class="comment">*     - POLYCONIC,</span></div>
-<div class="line"><a name="l00461"></a><span class="lineno">  461</span> <span class="comment">*     - QUADCUBE, and</span></div>
-<div class="line"><a name="l00462"></a><span class="lineno">  462</span> <span class="comment">*     - HEALPIX.</span></div>
-<div class="line"><a name="l00463"></a><span class="lineno">  463</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00464"></a><span class="lineno">  464</span> <span class="comment">*     The category name may be identified via the prj_categories character</span></div>
-<div class="line"><a name="l00465"></a><span class="lineno">  465</span> <span class="comment">*     array, e.g.</span></div>
+<div class="line"><a name="l00455"></a><span class="lineno">  455</span> <span class="comment">*   double r0</span></div>
+<div class="line"><a name="l00456"></a><span class="lineno">  456</span> <span class="comment">*     (Given) The radius of the generating sphere for the projection, a linear</span></div>
+<div class="line"><a name="l00457"></a><span class="lineno">  457</span> <span class="comment">*     scaling parameter.  If this is zero, it will be reset to its default</span></div>
+<div class="line"><a name="l00458"></a><span class="lineno">  458</span> <span class="comment">*     value of 180/pi (the value for FITS WCS).</span></div>
+<div class="line"><a name="l00459"></a><span class="lineno">  459</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00460"></a><span class="lineno">  460</span> <span class="comment">*   double pv[30]</span></div>
+<div class="line"><a name="l00461"></a><span class="lineno">  461</span> <span class="comment">*     (Given) Projection parameters.  These correspond to the PVi_ma keywords</span></div>
+<div class="line"><a name="l00462"></a><span class="lineno">  462</span> <span class="comment">*     in FITS, so pv[0] is PVi_0a, pv[1] is PVi_1a, etc., where i denotes the</span></div>
+<div class="line"><a name="l00463"></a><span class="lineno">  463</span> <span class="comment">*     latitude-like axis.  Many projections use pv[1] (PVi_1a), some also use</span></div>
+<div class="line"><a name="l00464"></a><span class="lineno">  464</span> <span class="comment">*     pv[2] (PVi_2a) and SZP uses pv[3] (PVi_3a).  ZPN is currently the only</span></div>
+<div class="line"><a name="l00465"></a><span class="lineno">  465</span> <span class="comment">*     projection that uses any of the others.</span></div>
 <div class="line"><a name="l00466"></a><span class="lineno">  466</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00467"></a><span class="lineno">  467</span> <span class="comment">=       struct prjprm prj;</span></div>
-<div class="line"><a name="l00468"></a><span class="lineno">  468</span> <span class="comment">=         ...</span></div>
-<div class="line"><a name="l00469"></a><span class="lineno">  469</span> <span class="comment">=       printf("%s\n", prj_categories[prj.category]);</span></div>
-<div class="line"><a name="l00470"></a><span class="lineno">  470</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00471"></a><span class="lineno">  471</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
-<div class="line"><a name="l00472"></a><span class="lineno">  472</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00473"></a><span class="lineno">  473</span> <span class="comment">*   int  pvrange</span></div>
-<div class="line"><a name="l00474"></a><span class="lineno">  474</span> <span class="comment">*     (Returned) Range of projection parameter indices: 100 times the first</span></div>
-<div class="line"><a name="l00475"></a><span class="lineno">  475</span> <span class="comment">*     allowed index plus the number of parameters, e.g. TAN is 0 (no</span></div>
-<div class="line"><a name="l00476"></a><span class="lineno">  476</span> <span class="comment">*     parameters), SZP is 103 (1 to 3), and ZPN is 30 (0 to 29).</span></div>
+<div class="line"><a name="l00467"></a><span class="lineno">  467</span> <span class="comment">*     Usage of the pv[] array as it applies to each projection is described in</span></div>
+<div class="line"><a name="l00468"></a><span class="lineno">  468</span> <span class="comment">*     the prologue to each trio of projection routines in prj.c.</span></div>
+<div class="line"><a name="l00469"></a><span class="lineno">  469</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00470"></a><span class="lineno">  470</span> <span class="comment">*   double phi0</span></div>
+<div class="line"><a name="l00471"></a><span class="lineno">  471</span> <span class="comment">*     (Given) The native longitude, phi_0 [deg], and ...</span></div>
+<div class="line"><a name="l00472"></a><span class="lineno">  472</span> <span class="comment">*   double theta0</span></div>
+<div class="line"><a name="l00473"></a><span class="lineno">  473</span> <span class="comment">*     (Given) ... the native latitude, theta_0 [deg], of the reference point,</span></div>
+<div class="line"><a name="l00474"></a><span class="lineno">  474</span> <span class="comment">*     i.e. the point (x,y) = (0,0).  If undefined (set to a magic value by</span></div>
+<div class="line"><a name="l00475"></a><span class="lineno">  475</span> <span class="comment">*     prjini()) the initialization routine will set this to a</span></div>
+<div class="line"><a name="l00476"></a><span class="lineno">  476</span> <span class="comment">*     projection-specific default.</span></div>
 <div class="line"><a name="l00477"></a><span class="lineno">  477</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00478"></a><span class="lineno">  478</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
-<div class="line"><a name="l00479"></a><span class="lineno">  479</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00480"></a><span class="lineno">  480</span> <span class="comment">*   int  simplezen</span></div>
-<div class="line"><a name="l00481"></a><span class="lineno">  481</span> <span class="comment">*     (Returned) True if the projection is a radially-symmetric zenithal</span></div>
-<div class="line"><a name="l00482"></a><span class="lineno">  482</span> <span class="comment">*     projection.</span></div>
-<div class="line"><a name="l00483"></a><span class="lineno">  483</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00484"></a><span class="lineno">  484</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
-<div class="line"><a name="l00485"></a><span class="lineno">  485</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00486"></a><span class="lineno">  486</span> <span class="comment">*   int  equiareal</span></div>
-<div class="line"><a name="l00487"></a><span class="lineno">  487</span> <span class="comment">*     (Returned) True if the projection is equal area.</span></div>
+<div class="line"><a name="l00478"></a><span class="lineno">  478</span> <span class="comment">*   int bounds</span></div>
+<div class="line"><a name="l00479"></a><span class="lineno">  479</span> <span class="comment">*     (Given) Controls bounds checking.  If bounds&1 then enable strict bounds</span></div>
+<div class="line"><a name="l00480"></a><span class="lineno">  480</span> <span class="comment">*     checking for the spherical-to-Cartesian (s2x) transformation for the</span></div>
+<div class="line"><a name="l00481"></a><span class="lineno">  481</span> <span class="comment">*     AZP, SZP, TAN, SIN, ZPN, and COP projections.  If bounds&2 then enable</span></div>
+<div class="line"><a name="l00482"></a><span class="lineno">  482</span> <span class="comment">*     strict bounds checking for the Cartesian-to-spherical transformation</span></div>
+<div class="line"><a name="l00483"></a><span class="lineno">  483</span> <span class="comment">*     (x2s) for the HPX and XPH projections.  If bounds&4 then the Cartesian-</span></div>
+<div class="line"><a name="l00484"></a><span class="lineno">  484</span> <span class="comment">*     to-spherical transformations (x2s) will invoke prjbchk() to perform</span></div>
+<div class="line"><a name="l00485"></a><span class="lineno">  485</span> <span class="comment">*     bounds checking on the computed native coordinates, with a tolerance set</span></div>
+<div class="line"><a name="l00486"></a><span class="lineno">  486</span> <span class="comment">*     to suit each projection.  bounds is set to 7 by prjini() by default</span></div>
+<div class="line"><a name="l00487"></a><span class="lineno">  487</span> <span class="comment">*     which enables all checks.  Zero it to disable all checking.</span></div>
 <div class="line"><a name="l00488"></a><span class="lineno">  488</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00489"></a><span class="lineno">  489</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
-<div class="line"><a name="l00490"></a><span class="lineno">  490</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00491"></a><span class="lineno">  491</span> <span class="comment">*   int  conformal</span></div>
-<div class="line"><a name="l00492"></a><span class="lineno">  492</span> <span class="comment">*     (Returned) True if the projection is conformal.</span></div>
-<div class="line"><a name="l00493"></a><span class="lineno">  493</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00494"></a><span class="lineno">  494</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
-<div class="line"><a name="l00495"></a><span class="lineno">  495</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00496"></a><span class="lineno">  496</span> <span class="comment">*   int  global</span></div>
-<div class="line"><a name="l00497"></a><span class="lineno">  497</span> <span class="comment">*     (Returned) True if the projection can represent the whole sphere in a</span></div>
-<div class="line"><a name="l00498"></a><span class="lineno">  498</span> <span class="comment">*     finite, non-overlapped mapping.</span></div>
-<div class="line"><a name="l00499"></a><span class="lineno">  499</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00500"></a><span class="lineno">  500</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
-<div class="line"><a name="l00501"></a><span class="lineno">  501</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00502"></a><span class="lineno">  502</span> <span class="comment">*   int  divergent</span></div>
-<div class="line"><a name="l00503"></a><span class="lineno">  503</span> <span class="comment">*     (Returned) True if the projection diverges in latitude.</span></div>
-<div class="line"><a name="l00504"></a><span class="lineno">  504</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00505"></a><span class="lineno">  505</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
-<div class="line"><a name="l00506"></a><span class="lineno">  506</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00507"></a><span class="lineno">  507</span> <span class="comment">*   double x0</span></div>
-<div class="line"><a name="l00508"></a><span class="lineno">  508</span> <span class="comment">*     (Returned) The offset in x, and ...</span></div>
-<div class="line"><a name="l00509"></a><span class="lineno">  509</span> <span class="comment">*   double y0</span></div>
-<div class="line"><a name="l00510"></a><span class="lineno">  510</span> <span class="comment">*     (Returned) ... the offset in y used to force (x,y) = (0,0) at</span></div>
-<div class="line"><a name="l00511"></a><span class="lineno">  511</span> <span class="comment">*     (phi_0,theta_0).</span></div>
+<div class="line"><a name="l00489"></a><span class="lineno">  489</span> <span class="comment">* The remaining members of the prjprm struct are maintained by the setup</span></div>
+<div class="line"><a name="l00490"></a><span class="lineno">  490</span> <span class="comment">* routines and must not be modified elsewhere:</span></div>
+<div class="line"><a name="l00491"></a><span class="lineno">  491</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00492"></a><span class="lineno">  492</span> <span class="comment">*   char name[40]</span></div>
+<div class="line"><a name="l00493"></a><span class="lineno">  493</span> <span class="comment">*     (Returned) Long name of the projection.</span></div>
+<div class="line"><a name="l00494"></a><span class="lineno">  494</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00495"></a><span class="lineno">  495</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
+<div class="line"><a name="l00496"></a><span class="lineno">  496</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00497"></a><span class="lineno">  497</span> <span class="comment">*   int  category</span></div>
+<div class="line"><a name="l00498"></a><span class="lineno">  498</span> <span class="comment">*     (Returned) Projection category matching the value of the relevant global</span></div>
+<div class="line"><a name="l00499"></a><span class="lineno">  499</span> <span class="comment">*     variable:</span></div>
+<div class="line"><a name="l00500"></a><span class="lineno">  500</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00501"></a><span class="lineno">  501</span> <span class="comment">*     - ZENITHAL,</span></div>
+<div class="line"><a name="l00502"></a><span class="lineno">  502</span> <span class="comment">*     - CYLINDRICAL,</span></div>
+<div class="line"><a name="l00503"></a><span class="lineno">  503</span> <span class="comment">*     - PSEUDOCYLINDRICAL,</span></div>
+<div class="line"><a name="l00504"></a><span class="lineno">  504</span> <span class="comment">*     - CONVENTIONAL,</span></div>
+<div class="line"><a name="l00505"></a><span class="lineno">  505</span> <span class="comment">*     - CONIC,</span></div>
+<div class="line"><a name="l00506"></a><span class="lineno">  506</span> <span class="comment">*     - POLYCONIC,</span></div>
+<div class="line"><a name="l00507"></a><span class="lineno">  507</span> <span class="comment">*     - QUADCUBE, and</span></div>
+<div class="line"><a name="l00508"></a><span class="lineno">  508</span> <span class="comment">*     - HEALPIX.</span></div>
+<div class="line"><a name="l00509"></a><span class="lineno">  509</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00510"></a><span class="lineno">  510</span> <span class="comment">*     The category name may be identified via the prj_categories character</span></div>
+<div class="line"><a name="l00511"></a><span class="lineno">  511</span> <span class="comment">*     array, e.g.</span></div>
 <div class="line"><a name="l00512"></a><span class="lineno">  512</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00513"></a><span class="lineno">  513</span> <span class="comment">*   struct wcserr *err</span></div>
-<div class="line"><a name="l00514"></a><span class="lineno">  514</span> <span class="comment">*     (Returned) If enabled, when an error status is returned this struct</span></div>
-<div class="line"><a name="l00515"></a><span class="lineno">  515</span> <span class="comment">*     contains detailed information about the error, see wcserr_enable().</span></div>
+<div class="line"><a name="l00513"></a><span class="lineno">  513</span> <span class="comment">=       struct prjprm prj;</span></div>
+<div class="line"><a name="l00514"></a><span class="lineno">  514</span> <span class="comment">=         ...</span></div>
+<div class="line"><a name="l00515"></a><span class="lineno">  515</span> <span class="comment">=       printf("%s\n", prj_categories[prj.category]);</span></div>
 <div class="line"><a name="l00516"></a><span class="lineno">  516</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00517"></a><span class="lineno">  517</span> <span class="comment">*   void *padding</span></div>
-<div class="line"><a name="l00518"></a><span class="lineno">  518</span> <span class="comment">*     (An unused variable inserted for alignment purposes only.)</span></div>
-<div class="line"><a name="l00519"></a><span class="lineno">  519</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00520"></a><span class="lineno">  520</span> <span class="comment">*   double w[10]</span></div>
-<div class="line"><a name="l00521"></a><span class="lineno">  521</span> <span class="comment">*     (Returned) Intermediate floating-point values derived from the</span></div>
-<div class="line"><a name="l00522"></a><span class="lineno">  522</span> <span class="comment">*     projection parameters, cached here to save recomputation.</span></div>
+<div class="line"><a name="l00517"></a><span class="lineno">  517</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
+<div class="line"><a name="l00518"></a><span class="lineno">  518</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00519"></a><span class="lineno">  519</span> <span class="comment">*   int  pvrange</span></div>
+<div class="line"><a name="l00520"></a><span class="lineno">  520</span> <span class="comment">*     (Returned) Range of projection parameter indices: 100 times the first</span></div>
+<div class="line"><a name="l00521"></a><span class="lineno">  521</span> <span class="comment">*     allowed index plus the number of parameters, e.g. TAN is 0 (no</span></div>
+<div class="line"><a name="l00522"></a><span class="lineno">  522</span> <span class="comment">*     parameters), SZP is 103 (1 to 3), and ZPN is 30 (0 to 29).</span></div>
 <div class="line"><a name="l00523"></a><span class="lineno">  523</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00524"></a><span class="lineno">  524</span> <span class="comment">*     Usage of the w[] array as it applies to each projection is described in</span></div>
-<div class="line"><a name="l00525"></a><span class="lineno">  525</span> <span class="comment">*     the prologue to each trio of projection routines in prj.c.</span></div>
-<div class="line"><a name="l00526"></a><span class="lineno">  526</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00527"></a><span class="lineno">  527</span> <span class="comment">*   int n</span></div>
-<div class="line"><a name="l00528"></a><span class="lineno">  528</span> <span class="comment">*     (Returned) Intermediate integer value (used only for the ZPN and HPX</span></div>
-<div class="line"><a name="l00529"></a><span class="lineno">  529</span> <span class="comment">*     projections).</span></div>
-<div class="line"><a name="l00530"></a><span class="lineno">  530</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00531"></a><span class="lineno">  531</span> <span class="comment">*   int (*prjx2s)(PRJX2S_ARGS)</span></div>
-<div class="line"><a name="l00532"></a><span class="lineno">  532</span> <span class="comment">*     (Returned) Pointer to the projection ...</span></div>
-<div class="line"><a name="l00533"></a><span class="lineno">  533</span> <span class="comment">*   int (*prjs2x)(PRJ_ARGS)</span></div>
-<div class="line"><a name="l00534"></a><span class="lineno">  534</span> <span class="comment">*     (Returned) ... and deprojection routines.</span></div>
-<div class="line"><a name="l00535"></a><span class="lineno">  535</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00524"></a><span class="lineno">  524</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
+<div class="line"><a name="l00525"></a><span class="lineno">  525</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00526"></a><span class="lineno">  526</span> <span class="comment">*   int  simplezen</span></div>
+<div class="line"><a name="l00527"></a><span class="lineno">  527</span> <span class="comment">*     (Returned) True if the projection is a radially-symmetric zenithal</span></div>
+<div class="line"><a name="l00528"></a><span class="lineno">  528</span> <span class="comment">*     projection.</span></div>
+<div class="line"><a name="l00529"></a><span class="lineno">  529</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00530"></a><span class="lineno">  530</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
+<div class="line"><a name="l00531"></a><span class="lineno">  531</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00532"></a><span class="lineno">  532</span> <span class="comment">*   int  equiareal</span></div>
+<div class="line"><a name="l00533"></a><span class="lineno">  533</span> <span class="comment">*     (Returned) True if the projection is equal area.</span></div>
+<div class="line"><a name="l00534"></a><span class="lineno">  534</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00535"></a><span class="lineno">  535</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
 <div class="line"><a name="l00536"></a><span class="lineno">  536</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00537"></a><span class="lineno">  537</span> <span class="comment">* Global variable: const char *prj_errmsg[] - Status return messages</span></div>
-<div class="line"><a name="l00538"></a><span class="lineno">  538</span> <span class="comment">* ------------------------------------------------------------------</span></div>
-<div class="line"><a name="l00539"></a><span class="lineno">  539</span> <span class="comment">* Error messages to match the status value returned from each function.</span></div>
-<div class="line"><a name="l00540"></a><span class="lineno">  540</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00541"></a><span class="lineno">  541</span> <span class="comment">*===========================================================================*/</span></div>
-<div class="line"><a name="l00542"></a><span class="lineno">  542</span> </div>
-<div class="line"><a name="l00543"></a><span class="lineno">  543</span> <span class="preprocessor">#ifndef WCSLIB_PROJ</span></div>
-<div class="line"><a name="l00544"></a><span class="lineno">  544</span> <span class="preprocessor"></span><span class="preprocessor">#define WCSLIB_PROJ</span></div>
-<div class="line"><a name="l00545"></a><span class="lineno">  545</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l00546"></a><span class="lineno">  546</span> <span class="preprocessor">#include "<a class="code" href="wcserr_8h.html">wcserr.h</a>"</span></div>
-<div class="line"><a name="l00547"></a><span class="lineno">  547</span> </div>
-<div class="line"><a name="l00548"></a><span class="lineno">  548</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
-<div class="line"><a name="l00549"></a><span class="lineno">  549</span> <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
-<div class="line"><a name="l00550"></a><span class="lineno">  550</span> <span class="preprocessor">#endif</span></div>
-<div class="line"><a name="l00551"></a><span class="lineno">  551</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l00552"></a><span class="lineno">  552</span> </div>
-<div class="line"><a name="l00553"></a><span class="lineno">  553</span> <span class="comment">/* Total number of projection parameters; 0 to PVN-1. */</span></div>
-<div class="line"><a name="l00554"></a><span class="lineno"><a class="code" href="prj_8h.html#ac8dfb42cf72db0c4bc690d030f75c662">  554</a></span> <span class="preprocessor">#define PVN 30</span></div>
-<div class="line"><a name="l00555"></a><span class="lineno">  555</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l00556"></a><span class="lineno">  556</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="prj_8h.html#acb157519ef498bf669298c5508492f3e" title="Status return messages. ">prj_errmsg</a>[];</div>
-<div class="line"><a name="l00557"></a><span class="lineno">  557</span> </div>
-<div class="line"><a name="l00558"></a><span class="lineno"><a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305">  558</a></span> <span class="keyword">enum</span> <a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305">prj_errmsg_enum</a> {</div>
-<div class="line"><a name="l00559"></a><span class="lineno"><a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a6f3a73d3c0a7dc7d15ceb00e00714bea">  559</a></span>   <a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a6f3a73d3c0a7dc7d15ceb00e00714bea">PRJERR_SUCCESS</a>      = 0,      <span class="comment">/* Success. */</span></div>
-<div class="line"><a name="l00560"></a><span class="lineno"><a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a60d6a804ddfa2f2d0f25f397d653695b">  560</a></span>   <a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a60d6a804ddfa2f2d0f25f397d653695b">PRJERR_NULL_POINTER</a> = 1,      <span class="comment">/* Null prjprm pointer passed. */</span></div>
-<div class="line"><a name="l00561"></a><span class="lineno"><a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a6a0f63e2f52f594637a12db14e5814e6">  561</a></span>   <a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a6a0f63e2f52f594637a12db14e5814e6">PRJERR_BAD_PARAM</a>    = 2,      <span class="comment">/* Invalid projection parameters. */</span></div>
-<div class="line"><a name="l00562"></a><span class="lineno"><a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305ad33460ba0b865ff7580e6d2cebd92c74">  562</a></span>   <a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305ad33460ba0b865ff7580e6d2cebd92c74">PRJERR_BAD_PIX</a>      = 3,      <span class="comment">/* One or more of the (x, y) coordinates were</span></div>
-<div class="line"><a name="l00563"></a><span class="lineno">  563</span> <span class="comment">                                   invalid. */</span></div>
-<div class="line"><a name="l00564"></a><span class="lineno"><a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a0d15cd17822bea2f7fc0209a180cc998">  564</a></span>   <a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a0d15cd17822bea2f7fc0209a180cc998">PRJERR_BAD_WORLD</a>    = 4       <span class="comment">/* One or more of the (phi, theta) coordinates</span></div>
-<div class="line"><a name="l00565"></a><span class="lineno">  565</span> <span class="comment">                                   were invalid. */</span></div>
-<div class="line"><a name="l00566"></a><span class="lineno">  566</span> };</div>
-<div class="line"><a name="l00567"></a><span class="lineno">  567</span> </div>
-<div class="line"><a name="l00568"></a><span class="lineno">  568</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#adc97181f64d72234b8c6903b22b33df9" title="Identifier for conic projections. ">CONIC</a>, <a class="code" href="prj_8h.html#ac940da0fb0552876fb40a92f82c9625f" title="Identifier for conventional projections. ">CONVENTIONAL</a>, <a class="code" href="prj_8h.html#a86e25219d21 [...]
-<div class="line"><a name="l00569"></a><span class="lineno">  569</span>                  <a class="code" href="prj_8h.html#a5a2f80bed69a84464e5654f91ed4fb63" title="Identifier for pseudocylindrical projections. ">PSEUDOCYLINDRICAL</a>, <a class="code" href="prj_8h.html#a749605599f1bf2b883c5c88b6cc9c06b" title="Identifier for quadcube projections. ">QUADCUBE</a>, <a class="code" href="prj_8h.html#a4b25d630b7590f31fa0aa6d5861c9bfd" title="Identifier for zenithal/azimuthal projections [...]
-<div class="line"><a name="l00570"></a><span class="lineno">  570</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="prj_8h.html#a9bceed17f625eb88a0826871dc8296b5" title="Projection categories. ">prj_categories</a>[9][32];</div>
-<div class="line"><a name="l00571"></a><span class="lineno">  571</span> </div>
-<div class="line"><a name="l00572"></a><span class="lineno">  572</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">int</span>  <a class="code" href="prj_8h.html#a2d30db5685dd1faa18680a0e69bc5854" title="The number of recognized three-letter projection codes. ">prj_ncode</a>;</div>
-<div class="line"><a name="l00573"></a><span class="lineno">  573</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="prj_8h.html#a5c0dfa6c6a33e8a936386c05d74e7202" title="Recognized three-letter projection codes. ">prj_codes</a>[28][4];</div>
-<div class="line"><a name="l00574"></a><span class="lineno">  574</span> </div>
-<div class="line"><a name="l00575"></a><span class="lineno">  575</span> <span class="preprocessor">#ifdef PRJX2S_ARGS</span></div>
-<div class="line"><a name="l00576"></a><span class="lineno">  576</span> <span class="preprocessor"></span><span class="preprocessor">#undef PRJX2S_ARGS</span></div>
-<div class="line"><a name="l00577"></a><span class="lineno">  577</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
-<div class="line"><a name="l00578"></a><span class="lineno">  578</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l00579"></a><span class="lineno">  579</span> <span class="preprocessor">#ifdef PRJS2X_ARGS</span></div>
-<div class="line"><a name="l00580"></a><span class="lineno">  580</span> <span class="preprocessor"></span><span class="preprocessor">#undef PRJS2X_ARGS</span></div>
-<div class="line"><a name="l00581"></a><span class="lineno">  581</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
-<div class="line"><a name="l00582"></a><span class="lineno">  582</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l00583"></a><span class="lineno">  583</span> <span class="comment">/* For use in declaring deprojection function prototypes. */</span></div>
-<div class="line"><a name="l00584"></a><span class="lineno"><a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0">  584</a></span> <span class="preprocessor">#define PRJX2S_ARGS struct prjprm *prj, int nx, int ny, int sxy, int spt, \</span></div>
-<div class="line"><a name="l00585"></a><span class="lineno">  585</span> <span class="preprocessor">const double x[], const double y[], double phi[], double theta[], int stat[]</span></div>
-<div class="line"><a name="l00586"></a><span class="lineno">  586</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l00587"></a><span class="lineno">  587</span> <span class="comment">/* For use in declaring projection function prototypes. */</span></div>
-<div class="line"><a name="l00588"></a><span class="lineno"><a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a">  588</a></span> <span class="preprocessor">#define PRJS2X_ARGS struct prjprm *prj, int nx, int ny, int sxy, int spt, \</span></div>
-<div class="line"><a name="l00589"></a><span class="lineno">  589</span> <span class="preprocessor">const double phi[], const double theta[], double x[], double y[], int stat[]</span></div>
-<div class="line"><a name="l00590"></a><span class="lineno">  590</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l00591"></a><span class="lineno">  591</span> </div>
-<div class="line"><a name="l00592"></a><span class="lineno"><a class="code" href="structprjprm.html">  592</a></span> <span class="keyword">struct </span><a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> {</div>
-<div class="line"><a name="l00593"></a><span class="lineno">  593</span>   <span class="comment">/* Initialization flag (see the prologue above).                          */</span></div>
-<div class="line"><a name="l00594"></a><span class="lineno">  594</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
-<div class="line"><a name="l00595"></a><span class="lineno"><a class="code" href="structprjprm.html#ad304d66b3f3aa64fe9c7251d3c420d02">  595</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#ad304d66b3f3aa64fe9c7251d3c420d02">flag</a>;                  <span class="comment">/* Set to zero to force initialization.     */</span></div>
-<div class="line"><a name="l00596"></a><span class="lineno">  596</span> </div>
-<div class="line"><a name="l00597"></a><span class="lineno">  597</span>   <span class="comment">/* Parameters to be provided (see the prologue above).                    */</span></div>
-<div class="line"><a name="l00598"></a><span class="lineno">  598</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
-<div class="line"><a name="l00599"></a><span class="lineno"><a class="code" href="structprjprm.html#a4f3c364f16d0b6498d7e11e6bb67239c">  599</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structprjprm.html#a4f3c364f16d0b6498d7e11e6bb67239c">code</a>[4];               <span class="comment">/* Three-letter projection code.            */</span></div>
-<div class="line"><a name="l00600"></a><span class="lineno"><a class="code" href="structprjprm.html#a3894c2e551929b29adce50cd637fa351">  600</a></span>   <span class="keywordtype">double</span> <a class="code" href="structprjprm.html#a3894c2e551929b29adce50cd637fa351">r0</a>;                    <span class="comment">/* Radius of the generating sphere.         */</span></div>
-<div class="line"><a name="l00601"></a><span class="lineno"><a class="code" href="structprjprm.html#a46d6928a9026e7b3376dcf0d3f91db64">  601</a></span>   <span class="keywordtype">double</span> <a class="code" href="structprjprm.html#a46d6928a9026e7b3376dcf0d3f91db64">pv</a>[<a class="code" href="prj_8h.html#ac8dfb42cf72db0c4bc690d030f75c662" title="Total number of projection parameters. ">PVN</a>];               <span class="comment">/* Projection parameters.                   */</ [...]
-<div class="line"><a name="l00602"></a><span class="lineno"><a class="code" href="structprjprm.html#ae91fa3ff034b1c6de3ec98d8fb9e0ab1">  602</a></span>   <span class="keywordtype">double</span> <a class="code" href="structprjprm.html#a699ad609ff7c1935d8fb6a457a5b8164">phi0</a>, <a class="code" href="structprjprm.html#ae91fa3ff034b1c6de3ec98d8fb9e0ab1">theta0</a>;          <span class="comment">/* Fiducial native coordinates.             */</span></div>
-<div class="line"><a name="l00603"></a><span class="lineno"><a class="code" href="structprjprm.html#ab8dd3d8b1e462a2b261fc9e304885943">  603</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#ab8dd3d8b1e462a2b261fc9e304885943">bounds</a>;                <span class="comment">/* Enable strict bounds checking.           */</span></div>
-<div class="line"><a name="l00604"></a><span class="lineno">  604</span> </div>
-<div class="line"><a name="l00605"></a><span class="lineno">  605</span>   <span class="comment">/* Information derived from the parameters supplied.                      */</span></div>
-<div class="line"><a name="l00606"></a><span class="lineno">  606</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
-<div class="line"><a name="l00607"></a><span class="lineno"><a class="code" href="structprjprm.html#ab165b11d417700de0a4187f133050a2b">  607</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structprjprm.html#ab165b11d417700de0a4187f133050a2b">name</a>[40];              <span class="comment">/* Projection name.                         */</span></div>
-<div class="line"><a name="l00608"></a><span class="lineno"><a class="code" href="structprjprm.html#af0fcebbc8155f0b1ee868e64a2ed9ac3">  608</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#af0fcebbc8155f0b1ee868e64a2ed9ac3">category</a>;              <span class="comment">/* Projection category.                     */</span></div>
-<div class="line"><a name="l00609"></a><span class="lineno"><a class="code" href="structprjprm.html#abcd2a3ee9f61b930d23bf741cea63bf3">  609</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#abcd2a3ee9f61b930d23bf741cea63bf3">pvrange</a>;               <span class="comment">/* Range of projection parameter indices.   */</span></div>
-<div class="line"><a name="l00610"></a><span class="lineno"><a class="code" href="structprjprm.html#afecdd175932cbf29fcfac575b1a5cb9b">  610</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#afecdd175932cbf29fcfac575b1a5cb9b">simplezen</a>;             <span class="comment">/* Is it a simple zenithal projection?      */</span></div>
-<div class="line"><a name="l00611"></a><span class="lineno"><a class="code" href="structprjprm.html#ab3e207e26d1c9db06cedba2cf4460340">  611</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#ab3e207e26d1c9db06cedba2cf4460340">equiareal</a>;             <span class="comment">/* Is it an equal area projection?          */</span></div>
-<div class="line"><a name="l00612"></a><span class="lineno"><a class="code" href="structprjprm.html#ad7a41e3d03cb739c2a9aa1f8aabf54f9">  612</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#ad7a41e3d03cb739c2a9aa1f8aabf54f9">conformal</a>;             <span class="comment">/* Is it a conformal projection?            */</span></div>
-<div class="line"><a name="l00613"></a><span class="lineno"><a class="code" href="structprjprm.html#ae634b0747fe55f77e65b6909c94227d9">  613</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#ae634b0747fe55f77e65b6909c94227d9">global</a>;                <span class="comment">/* Can it map the whole sphere?             */</span></div>
-<div class="line"><a name="l00614"></a><span class="lineno"><a class="code" href="structprjprm.html#a62e88bd3c9e02f38193a800035b83918">  614</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#a62e88bd3c9e02f38193a800035b83918">divergent</a>;             <span class="comment">/* Does the projection diverge in latitude? */</span></div>
-<div class="line"><a name="l00615"></a><span class="lineno"><a class="code" href="structprjprm.html#a164706f09314c493c7e9d2c7325f8372">  615</a></span>   <span class="keywordtype">double</span> <a class="code" href="structprjprm.html#aae2c61d85c72e87f4b2b77a14c8eb316">x0</a>, <a class="code" href="structprjprm.html#a164706f09314c493c7e9d2c7325f8372">y0</a>;                <span class="comment">/* Fiducial offsets.                        */</span></div>
-<div class="line"><a name="l00616"></a><span class="lineno">  616</span> </div>
-<div class="line"><a name="l00617"></a><span class="lineno">  617</span>   <span class="comment">/* Error handling                                                         */</span></div>
-<div class="line"><a name="l00618"></a><span class="lineno">  618</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
-<div class="line"><a name="l00619"></a><span class="lineno"><a class="code" href="structprjprm.html#a30e78bb110dc7a8ad0303370ce20762c">  619</a></span>   <span class="keyword">struct </span><a class="code" href="structwcserr.html" title="Error message handling. ">wcserr</a> *<a class="code" href="structprjprm.html#a30e78bb110dc7a8ad0303370ce20762c">err</a>;</div>
+<div class="line"><a name="l00537"></a><span class="lineno">  537</span> <span class="comment">*   int  conformal</span></div>
+<div class="line"><a name="l00538"></a><span class="lineno">  538</span> <span class="comment">*     (Returned) True if the projection is conformal.</span></div>
+<div class="line"><a name="l00539"></a><span class="lineno">  539</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00540"></a><span class="lineno">  540</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
+<div class="line"><a name="l00541"></a><span class="lineno">  541</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00542"></a><span class="lineno">  542</span> <span class="comment">*   int  global</span></div>
+<div class="line"><a name="l00543"></a><span class="lineno">  543</span> <span class="comment">*     (Returned) True if the projection can represent the whole sphere in a</span></div>
+<div class="line"><a name="l00544"></a><span class="lineno">  544</span> <span class="comment">*     finite, non-overlapped mapping.</span></div>
+<div class="line"><a name="l00545"></a><span class="lineno">  545</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00546"></a><span class="lineno">  546</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
+<div class="line"><a name="l00547"></a><span class="lineno">  547</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00548"></a><span class="lineno">  548</span> <span class="comment">*   int  divergent</span></div>
+<div class="line"><a name="l00549"></a><span class="lineno">  549</span> <span class="comment">*     (Returned) True if the projection diverges in latitude.</span></div>
+<div class="line"><a name="l00550"></a><span class="lineno">  550</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00551"></a><span class="lineno">  551</span> <span class="comment">*     Provided for information only, not used by the projection routines.</span></div>
+<div class="line"><a name="l00552"></a><span class="lineno">  552</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00553"></a><span class="lineno">  553</span> <span class="comment">*   double x0</span></div>
+<div class="line"><a name="l00554"></a><span class="lineno">  554</span> <span class="comment">*     (Returned) The offset in x, and ...</span></div>
+<div class="line"><a name="l00555"></a><span class="lineno">  555</span> <span class="comment">*   double y0</span></div>
+<div class="line"><a name="l00556"></a><span class="lineno">  556</span> <span class="comment">*     (Returned) ... the offset in y used to force (x,y) = (0,0) at</span></div>
+<div class="line"><a name="l00557"></a><span class="lineno">  557</span> <span class="comment">*     (phi_0,theta_0).</span></div>
+<div class="line"><a name="l00558"></a><span class="lineno">  558</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00559"></a><span class="lineno">  559</span> <span class="comment">*   struct wcserr *err</span></div>
+<div class="line"><a name="l00560"></a><span class="lineno">  560</span> <span class="comment">*     (Returned) If enabled, when an error status is returned this struct</span></div>
+<div class="line"><a name="l00561"></a><span class="lineno">  561</span> <span class="comment">*     contains detailed information about the error, see wcserr_enable().</span></div>
+<div class="line"><a name="l00562"></a><span class="lineno">  562</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00563"></a><span class="lineno">  563</span> <span class="comment">*   void *padding</span></div>
+<div class="line"><a name="l00564"></a><span class="lineno">  564</span> <span class="comment">*     (An unused variable inserted for alignment purposes only.)</span></div>
+<div class="line"><a name="l00565"></a><span class="lineno">  565</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00566"></a><span class="lineno">  566</span> <span class="comment">*   double w[10]</span></div>
+<div class="line"><a name="l00567"></a><span class="lineno">  567</span> <span class="comment">*     (Returned) Intermediate floating-point values derived from the</span></div>
+<div class="line"><a name="l00568"></a><span class="lineno">  568</span> <span class="comment">*     projection parameters, cached here to save recomputation.</span></div>
+<div class="line"><a name="l00569"></a><span class="lineno">  569</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00570"></a><span class="lineno">  570</span> <span class="comment">*     Usage of the w[] array as it applies to each projection is described in</span></div>
+<div class="line"><a name="l00571"></a><span class="lineno">  571</span> <span class="comment">*     the prologue to each trio of projection routines in prj.c.</span></div>
+<div class="line"><a name="l00572"></a><span class="lineno">  572</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00573"></a><span class="lineno">  573</span> <span class="comment">*   int n</span></div>
+<div class="line"><a name="l00574"></a><span class="lineno">  574</span> <span class="comment">*     (Returned) Intermediate integer value (used only for the ZPN and HPX</span></div>
+<div class="line"><a name="l00575"></a><span class="lineno">  575</span> <span class="comment">*     projections).</span></div>
+<div class="line"><a name="l00576"></a><span class="lineno">  576</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00577"></a><span class="lineno">  577</span> <span class="comment">*   int (*prjx2s)(PRJX2S_ARGS)</span></div>
+<div class="line"><a name="l00578"></a><span class="lineno">  578</span> <span class="comment">*     (Returned) Pointer to the projection ...</span></div>
+<div class="line"><a name="l00579"></a><span class="lineno">  579</span> <span class="comment">*   int (*prjs2x)(PRJ_ARGS)</span></div>
+<div class="line"><a name="l00580"></a><span class="lineno">  580</span> <span class="comment">*     (Returned) ... and deprojection routines.</span></div>
+<div class="line"><a name="l00581"></a><span class="lineno">  581</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00582"></a><span class="lineno">  582</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00583"></a><span class="lineno">  583</span> <span class="comment">* Global variable: const char *prj_errmsg[] - Status return messages</span></div>
+<div class="line"><a name="l00584"></a><span class="lineno">  584</span> <span class="comment">* ------------------------------------------------------------------</span></div>
+<div class="line"><a name="l00585"></a><span class="lineno">  585</span> <span class="comment">* Error messages to match the status value returned from each function.</span></div>
+<div class="line"><a name="l00586"></a><span class="lineno">  586</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00587"></a><span class="lineno">  587</span> <span class="comment">*===========================================================================*/</span></div>
+<div class="line"><a name="l00588"></a><span class="lineno">  588</span> </div>
+<div class="line"><a name="l00589"></a><span class="lineno">  589</span> <span class="preprocessor">#ifndef WCSLIB_PROJ</span></div>
+<div class="line"><a name="l00590"></a><span class="lineno">  590</span> <span class="preprocessor"></span><span class="preprocessor">#define WCSLIB_PROJ</span></div>
+<div class="line"><a name="l00591"></a><span class="lineno">  591</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00592"></a><span class="lineno">  592</span> <span class="preprocessor">#include "<a class="code" href="wcserr_8h.html">wcserr.h</a>"</span></div>
+<div class="line"><a name="l00593"></a><span class="lineno">  593</span> </div>
+<div class="line"><a name="l00594"></a><span class="lineno">  594</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
+<div class="line"><a name="l00595"></a><span class="lineno">  595</span> <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
+<div class="line"><a name="l00596"></a><span class="lineno">  596</span> <span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l00597"></a><span class="lineno">  597</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00598"></a><span class="lineno">  598</span> </div>
+<div class="line"><a name="l00599"></a><span class="lineno">  599</span> <span class="comment">/* Total number of projection parameters; 0 to PVN-1. */</span></div>
+<div class="line"><a name="l00600"></a><span class="lineno"><a class="code" href="prj_8h.html#ac8dfb42cf72db0c4bc690d030f75c662">  600</a></span> <span class="preprocessor">#define PVN 30</span></div>
+<div class="line"><a name="l00601"></a><span class="lineno">  601</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00602"></a><span class="lineno">  602</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="prj_8h.html#acb157519ef498bf669298c5508492f3e" title="Status return messages. ">prj_errmsg</a>[];</div>
+<div class="line"><a name="l00603"></a><span class="lineno">  603</span> </div>
+<div class="line"><a name="l00604"></a><span class="lineno"><a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305">  604</a></span> <span class="keyword">enum</span> <a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305">prj_errmsg_enum</a> {</div>
+<div class="line"><a name="l00605"></a><span class="lineno"><a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a6f3a73d3c0a7dc7d15ceb00e00714bea">  605</a></span>   <a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a6f3a73d3c0a7dc7d15ceb00e00714bea">PRJERR_SUCCESS</a>      = 0,      <span class="comment">/* Success. */</span></div>
+<div class="line"><a name="l00606"></a><span class="lineno"><a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a60d6a804ddfa2f2d0f25f397d653695b">  606</a></span>   <a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a60d6a804ddfa2f2d0f25f397d653695b">PRJERR_NULL_POINTER</a> = 1,      <span class="comment">/* Null prjprm pointer passed. */</span></div>
+<div class="line"><a name="l00607"></a><span class="lineno"><a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a6a0f63e2f52f594637a12db14e5814e6">  607</a></span>   <a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a6a0f63e2f52f594637a12db14e5814e6">PRJERR_BAD_PARAM</a>    = 2,      <span class="comment">/* Invalid projection parameters. */</span></div>
+<div class="line"><a name="l00608"></a><span class="lineno"><a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305ad33460ba0b865ff7580e6d2cebd92c74">  608</a></span>   <a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305ad33460ba0b865ff7580e6d2cebd92c74">PRJERR_BAD_PIX</a>      = 3,      <span class="comment">/* One or more of the (x, y) coordinates were</span></div>
+<div class="line"><a name="l00609"></a><span class="lineno">  609</span> <span class="comment">                                   invalid. */</span></div>
+<div class="line"><a name="l00610"></a><span class="lineno"><a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a0d15cd17822bea2f7fc0209a180cc998">  610</a></span>   <a class="code" href="prj_8h.html#a2ac22403e59a9e8d2b2f53f6d0574305a0d15cd17822bea2f7fc0209a180cc998">PRJERR_BAD_WORLD</a>    = 4       <span class="comment">/* One or more of the (phi, theta) coordinates</span></div>
+<div class="line"><a name="l00611"></a><span class="lineno">  611</span> <span class="comment">                                   were invalid. */</span></div>
+<div class="line"><a name="l00612"></a><span class="lineno">  612</span> };</div>
+<div class="line"><a name="l00613"></a><span class="lineno">  613</span> </div>
+<div class="line"><a name="l00614"></a><span class="lineno">  614</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#adc97181f64d72234b8c6903b22b33df9" title="Identifier for conic projections. ">CONIC</a>, <a class="code" href="prj_8h.html#ac940da0fb0552876fb40a92f82c9625f" title="Identifier for conventional projections. ">CONVENTIONAL</a>, <a class="code" href="prj_8h.html#a86e25219d21 [...]
+<div class="line"><a name="l00615"></a><span class="lineno">  615</span>                  <a class="code" href="prj_8h.html#a5a2f80bed69a84464e5654f91ed4fb63" title="Identifier for pseudocylindrical projections. ">PSEUDOCYLINDRICAL</a>, <a class="code" href="prj_8h.html#a749605599f1bf2b883c5c88b6cc9c06b" title="Identifier for quadcube projections. ">QUADCUBE</a>, <a class="code" href="prj_8h.html#a4b25d630b7590f31fa0aa6d5861c9bfd" title="Identifier for zenithal/azimuthal projections [...]
+<div class="line"><a name="l00616"></a><span class="lineno">  616</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="prj_8h.html#a9bceed17f625eb88a0826871dc8296b5" title="Projection categories. ">prj_categories</a>[9][32];</div>
+<div class="line"><a name="l00617"></a><span class="lineno">  617</span> </div>
+<div class="line"><a name="l00618"></a><span class="lineno">  618</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">int</span>  <a class="code" href="prj_8h.html#a2d30db5685dd1faa18680a0e69bc5854" title="The number of recognized three-letter projection codes. ">prj_ncode</a>;</div>
+<div class="line"><a name="l00619"></a><span class="lineno">  619</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="prj_8h.html#a5c0dfa6c6a33e8a936386c05d74e7202" title="Recognized three-letter projection codes. ">prj_codes</a>[28][4];</div>
 <div class="line"><a name="l00620"></a><span class="lineno">  620</span> </div>
-<div class="line"><a name="l00621"></a><span class="lineno">  621</span>   <span class="comment">/* Private                                                                */</span></div>
-<div class="line"><a name="l00622"></a><span class="lineno">  622</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
-<div class="line"><a name="l00623"></a><span class="lineno"><a class="code" href="structprjprm.html#a75cda8ae364a914f64e119ba859c8372">  623</a></span>   <span class="keywordtype">void</span>   *<a class="code" href="structprjprm.html#a75cda8ae364a914f64e119ba859c8372">padding</a>;              <span class="comment">/* (Dummy inserted for alignment purposes.) */</span></div>
-<div class="line"><a name="l00624"></a><span class="lineno"><a class="code" href="structprjprm.html#a3b40a2df3b436c4ffcf5be6814993278">  624</a></span>   <span class="keywordtype">double</span> <a class="code" href="structprjprm.html#a3b40a2df3b436c4ffcf5be6814993278">w</a>[10];                 <span class="comment">/* Intermediate values.                     */</span></div>
-<div class="line"><a name="l00625"></a><span class="lineno"><a class="code" href="structprjprm.html#aab36c6218a33025ac4c5025de7c67d42">  625</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#afb805c40a4d37c195074c1305874d615">m</a>, <a class="code" href="structprjprm.html#aab36c6218a33025ac4c5025de7c67d42">n</a>;                  <span class="comment">/* Intermediate values.                     */</span></div>
-<div class="line"><a name="l00626"></a><span class="lineno">  626</span> </div>
-<div class="line"><a name="l00627"></a><span class="lineno"><a class="code" href="structprjprm.html#aeef644ffeafea16e82b2b995a470a345">  627</a></span>   int (*<a class="code" href="structprjprm.html#aeef644ffeafea16e82b2b995a470a345">prjx2s</a>)(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);   <span class="comment">/* Pointers to the spherical projection and */</span></div>
-<div class="line"><a name="l00628"></a><span class="lineno"><a class="code" href="structprjprm.html#ae699a5fb02198777343057972e1452d0">  628</a></span>   int (*<a class="code" href="structprjprm.html#ae699a5fb02198777343057972e1452d0">prjs2x</a>)(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);   <span class="comment">/* deprojection functions.                  */</span></div>
-<div class="line"><a name="l00629"></a><span class="lineno">  629</span> };</div>
-<div class="line"><a name="l00630"></a><span class="lineno">  630</span> </div>
-<div class="line"><a name="l00631"></a><span class="lineno">  631</span> <span class="comment">/* Size of the prjprm struct in int units, used by the Fortran wrappers. */</span></div>
-<div class="line"><a name="l00632"></a><span class="lineno"><a class="code" href="prj_8h.html#a2cdabd9dfe78fe18b9e6597881d8ed92">  632</a></span> <span class="preprocessor">#define PRJLEN (sizeof(struct prjprm)/sizeof(int))</span></div>
-<div class="line"><a name="l00633"></a><span class="lineno">  633</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l00634"></a><span class="lineno">  634</span> </div>
-<div class="line"><a name="l00635"></a><span class="lineno">  635</span> <span class="comment">/* Use the preprocessor to help declare function prototypes (see above). */</span></div>
-<div class="line"><a name="l00636"></a><span class="lineno">  636</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ad994cb23871c51b20754973bef180f8a" title="Default constructor for the prjprm struct. ">prjini</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00637"></a><span class="lineno">  637</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a50db1538981df162709b81be0b2961ab" title="Destructor for the prjprm struct. ">prjfree</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00638"></a><span class="lineno">  638</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a8785bdf33bdaa3d9d52fd51b621ec8d5" title="Print routine for the prjprm struct. ">prjprt</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00639"></a><span class="lineno">  639</span> </div>
-<div class="line"><a name="l00640"></a><span class="lineno">  640</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ad43dbc765c63162d0af2b9285b8a434f" title="Generic setup routine for the prjprm struct. ">prjset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00641"></a><span class="lineno">  641</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a9a387f05414e7b59487fdcb03ff79ced" title="Generic Cartesian-to-spherical deprojection. ">prjx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00642"></a><span class="lineno">  642</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#abe28216295d9e7ad7dbb01bf5985df9f" title="Generic spherical-to-Cartesian projection. ">prjs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
-<div class="line"><a name="l00643"></a><span class="lineno">  643</span> </div>
-<div class="line"><a name="l00644"></a><span class="lineno">  644</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#abf6696d3455c684cb44d06da7885ce94" title="Set up a prjprm struct for the zenithal/azimuthal perspective (AZP) projection. ">azpset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00645"></a><span class="lineno">  645</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a8ebb4c79b635cef463b4e7242ff23c25" title="Cartesian-to-spherical transformation for the zenithal/azimuthal perspective (AZP) projection...">azpx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00646"></a><span class="lineno">  646</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#abc26dfb2d0b0bee71f6e4541977d237f" title="Spherical-to-Cartesian transformation for the zenithal/azimuthal perspective (AZP) projection...">azps2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
-<div class="line"><a name="l00647"></a><span class="lineno">  647</span> </div>
-<div class="line"><a name="l00648"></a><span class="lineno">  648</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#afaafab5c440384667d7af444b7aca750" title="Set up a prjprm struct for the slant zenithal perspective (SZP) projection. ">szpset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00649"></a><span class="lineno">  649</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a2fe67a5ecf17729881efa24c83482611" title="Cartesian-to-spherical transformation for the slant zenithal perspective (SZP) projection. ">szpx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00650"></a><span class="lineno">  650</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a70b750ec65eb4a277057200c7fbb251f" title="Spherical-to-Cartesian transformation for the slant zenithal perspective (SZP) projection. ">szps2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
-<div class="line"><a name="l00651"></a><span class="lineno">  651</span> </div>
-<div class="line"><a name="l00652"></a><span class="lineno">  652</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a34d303d7ae44a6aca43c1a81bfaac10f" title="Set up a prjprm struct for the gnomonic (TAN) projection. ">tanset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00653"></a><span class="lineno">  653</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#acd4f54c072b6219242daeb6d4b9a74cb" title="Cartesian-to-spherical transformation for the gnomonic (TAN) projection. ">tanx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00654"></a><span class="lineno">  654</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a9d3358bed907342e3309e54bd2ab89da" title="Spherical-to-Cartesian transformation for the gnomonic (TAN) projection. ">tans2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
-<div class="line"><a name="l00655"></a><span class="lineno">  655</span> </div>
-<div class="line"><a name="l00656"></a><span class="lineno">  656</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a66b51f10624b6c17a84b5b54058dd72b" title="Set up a prjprm struct for the stereographic (STG) projection. ">stgset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00657"></a><span class="lineno">  657</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a88c15d0b6f789cbbd7c5d323ef131360" title="Cartesian-to-spherical transformation for the stereographic (STG) projection. ">stgx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00658"></a><span class="lineno">  658</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ab46a0a668f28939626287d048153863f" title="Spherical-to-Cartesian transformation for the stereographic (STG) projection. ">stgs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
-<div class="line"><a name="l00659"></a><span class="lineno">  659</span> </div>
-<div class="line"><a name="l00660"></a><span class="lineno">  660</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ab6ce2bb75a87b1679d05f251227d2f1b" title="Set up a prjprm struct for the orthographic/synthesis (SIN) projection. ">sinset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00661"></a><span class="lineno">  661</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aeb7881cd5d7b4b5e26281a512b8f62ac" title="Cartesian-to-spherical transformation for the orthographic/synthesis (SIN) projection. ">sinx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00662"></a><span class="lineno">  662</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#abdf8c6c3ef615a01ebf8822e013d6a63" title="Spherical-to-Cartesian transformation for the orthographic/synthesis (SIN) projection. ">sins2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
-<div class="line"><a name="l00663"></a><span class="lineno">  663</span> </div>
-<div class="line"><a name="l00664"></a><span class="lineno">  664</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ac038f2474d5d58de157554cee74a9735" title="Set up a prjprm struct for the zenithal/azimuthal equidistant (ARC) projection. ">arcset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00665"></a><span class="lineno">  665</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a666322bfe8c4b8e73f00afeb47283f97" title="Cartesian-to-spherical transformation for the zenithal/azimuthal equidistant (ARC) projection...">arcx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00666"></a><span class="lineno">  666</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aaba5ce89ae711728d8ba8105ac5fd599" title="Spherical-to-Cartesian transformation for the zenithal/azimuthal equidistant (ARC) projection...">arcs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
-<div class="line"><a name="l00667"></a><span class="lineno">  667</span> </div>
-<div class="line"><a name="l00668"></a><span class="lineno">  668</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ac983c5a393c5b3f1041f07b2eb95a3a5" title="Set up a prjprm struct for the zenithal/azimuthal polynomial (ZPN) projection. ">zpnset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00669"></a><span class="lineno">  669</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a574e44daea81568a6d5e324a6f339d6f" title="Cartesian-to-spherical transformation for the zenithal/azimuthal polynomial (ZPN) projection...">zpnx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00670"></a><span class="lineno">  670</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a7b60d7992bf9c671cb4191f0ec2e0c90" title="Spherical-to-Cartesian transformation for the zenithal/azimuthal polynomial (ZPN) projection...">zpns2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
-<div class="line"><a name="l00671"></a><span class="lineno">  671</span> </div>
-<div class="line"><a name="l00672"></a><span class="lineno">  672</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a3229533df20718c0d5671cc9eb5316fe" title="Set up a prjprm struct for the zenithal/azimuthal equal area (ZEA) projection. ">zeaset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00673"></a><span class="lineno">  673</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a849a1bbd679d0c193e8be96a8b9ed534" title="Cartesian-to-spherical transformation for the zenithal/azimuthal equal area (ZEA) projection...">zeax2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00674"></a><span class="lineno">  674</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#adc4da028cde2d970e9e5e22adca22f37" title="Spherical-to-Cartesian transformation for the zenithal/azimuthal equal area (ZEA) projection...">zeas2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
-<div class="line"><a name="l00675"></a><span class="lineno">  675</span> </div>
-<div class="line"><a name="l00676"></a><span class="lineno">  676</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a025adf8a63b5d4a8d2a4de804e0707be" title="Set up a prjprm struct for Airy's (AIR) projection. ">airset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00677"></a><span class="lineno">  677</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a2c87fbf68277f03051d3eaae3db785e9" title="Cartesian-to-spherical transformation for Airy's (AIR) projection. ">airx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00678"></a><span class="lineno">  678</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a75b6b1cb0a748e9b5d3a4cd31129ace6" title="Spherical-to-Cartesian transformation for Airy's (AIR) projection. ">airs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
-<div class="line"><a name="l00679"></a><span class="lineno">  679</span> </div>
-<div class="line"><a name="l00680"></a><span class="lineno">  680</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a36cf447dee9f2e90e42d43d7adc5a0a1" title="Set up a prjprm struct for the cylindrical perspective (CYP) projection. ">cypset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00681"></a><span class="lineno">  681</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#affdbf993ce959fce2c148c07cd0f2c0c" title="Cartesian-to-spherical transformation for the cylindrical perspective (CYP) projection. ">cypx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00682"></a><span class="lineno">  682</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a13e0f81e1fd4bdc46847ab4c634ad346" title="Spherical-to-Cartesian transformation for the cylindrical perspective (CYP) projection. ">cyps2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
-<div class="line"><a name="l00683"></a><span class="lineno">  683</span> </div>
-<div class="line"><a name="l00684"></a><span class="lineno">  684</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a68ce41ad199c3385bed7e7d4ded2bd8a" title="Set up a prjprm struct for the cylindrical equal area (CEA) projection. ">ceaset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00685"></a><span class="lineno">  685</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aff09e87b2246bdec83f6a7bb1bc0f471" title="Cartesian-to-spherical transformation for the cylindrical equal area (CEA) projection. ">ceax2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00686"></a><span class="lineno">  686</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a28ddb923a52cb597ca9c7dd03ceeb4fe" title="Spherical-to-Cartesian transformation for the cylindrical equal area (CEA) projection. ">ceas2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00621"></a><span class="lineno">  621</span> <span class="preprocessor">#ifdef PRJX2S_ARGS</span></div>
+<div class="line"><a name="l00622"></a><span class="lineno">  622</span> <span class="preprocessor"></span><span class="preprocessor">#undef PRJX2S_ARGS</span></div>
+<div class="line"><a name="l00623"></a><span class="lineno">  623</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l00624"></a><span class="lineno">  624</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00625"></a><span class="lineno">  625</span> <span class="preprocessor">#ifdef PRJS2X_ARGS</span></div>
+<div class="line"><a name="l00626"></a><span class="lineno">  626</span> <span class="preprocessor"></span><span class="preprocessor">#undef PRJS2X_ARGS</span></div>
+<div class="line"><a name="l00627"></a><span class="lineno">  627</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l00628"></a><span class="lineno">  628</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00629"></a><span class="lineno">  629</span> <span class="comment">/* For use in declaring deprojection function prototypes. */</span></div>
+<div class="line"><a name="l00630"></a><span class="lineno"><a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0">  630</a></span> <span class="preprocessor">#define PRJX2S_ARGS struct prjprm *prj, int nx, int ny, int sxy, int spt, \</span></div>
+<div class="line"><a name="l00631"></a><span class="lineno">  631</span> <span class="preprocessor">const double x[], const double y[], double phi[], double theta[], int stat[]</span></div>
+<div class="line"><a name="l00632"></a><span class="lineno">  632</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00633"></a><span class="lineno">  633</span> <span class="comment">/* For use in declaring projection function prototypes. */</span></div>
+<div class="line"><a name="l00634"></a><span class="lineno"><a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a">  634</a></span> <span class="preprocessor">#define PRJS2X_ARGS struct prjprm *prj, int nx, int ny, int sxy, int spt, \</span></div>
+<div class="line"><a name="l00635"></a><span class="lineno">  635</span> <span class="preprocessor">const double phi[], const double theta[], double x[], double y[], int stat[]</span></div>
+<div class="line"><a name="l00636"></a><span class="lineno">  636</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00637"></a><span class="lineno">  637</span> </div>
+<div class="line"><a name="l00638"></a><span class="lineno"><a class="code" href="structprjprm.html">  638</a></span> <span class="keyword">struct </span><a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> {</div>
+<div class="line"><a name="l00639"></a><span class="lineno">  639</span>   <span class="comment">/* Initialization flag (see the prologue above).                          */</span></div>
+<div class="line"><a name="l00640"></a><span class="lineno">  640</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
+<div class="line"><a name="l00641"></a><span class="lineno"><a class="code" href="structprjprm.html#ad304d66b3f3aa64fe9c7251d3c420d02">  641</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#ad304d66b3f3aa64fe9c7251d3c420d02">flag</a>;                  <span class="comment">/* Set to zero to force initialization.     */</span></div>
+<div class="line"><a name="l00642"></a><span class="lineno">  642</span> </div>
+<div class="line"><a name="l00643"></a><span class="lineno">  643</span>   <span class="comment">/* Parameters to be provided (see the prologue above).                    */</span></div>
+<div class="line"><a name="l00644"></a><span class="lineno">  644</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
+<div class="line"><a name="l00645"></a><span class="lineno"><a class="code" href="structprjprm.html#a4f3c364f16d0b6498d7e11e6bb67239c">  645</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structprjprm.html#a4f3c364f16d0b6498d7e11e6bb67239c">code</a>[4];               <span class="comment">/* Three-letter projection code.            */</span></div>
+<div class="line"><a name="l00646"></a><span class="lineno"><a class="code" href="structprjprm.html#a3894c2e551929b29adce50cd637fa351">  646</a></span>   <span class="keywordtype">double</span> <a class="code" href="structprjprm.html#a3894c2e551929b29adce50cd637fa351">r0</a>;                    <span class="comment">/* Radius of the generating sphere.         */</span></div>
+<div class="line"><a name="l00647"></a><span class="lineno"><a class="code" href="structprjprm.html#a46d6928a9026e7b3376dcf0d3f91db64">  647</a></span>   <span class="keywordtype">double</span> <a class="code" href="structprjprm.html#a46d6928a9026e7b3376dcf0d3f91db64">pv</a>[<a class="code" href="prj_8h.html#ac8dfb42cf72db0c4bc690d030f75c662" title="Total number of projection parameters. ">PVN</a>];               <span class="comment">/* Projection parameters.                   */</ [...]
+<div class="line"><a name="l00648"></a><span class="lineno"><a class="code" href="structprjprm.html#ae91fa3ff034b1c6de3ec98d8fb9e0ab1">  648</a></span>   <span class="keywordtype">double</span> <a class="code" href="structprjprm.html#a699ad609ff7c1935d8fb6a457a5b8164">phi0</a>, <a class="code" href="structprjprm.html#ae91fa3ff034b1c6de3ec98d8fb9e0ab1">theta0</a>;          <span class="comment">/* Fiducial native coordinates.             */</span></div>
+<div class="line"><a name="l00649"></a><span class="lineno"><a class="code" href="structprjprm.html#ab8dd3d8b1e462a2b261fc9e304885943">  649</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#ab8dd3d8b1e462a2b261fc9e304885943">bounds</a>;                <span class="comment">/* Controls bounds checking.                */</span></div>
+<div class="line"><a name="l00650"></a><span class="lineno">  650</span> </div>
+<div class="line"><a name="l00651"></a><span class="lineno">  651</span>   <span class="comment">/* Information derived from the parameters supplied.                      */</span></div>
+<div class="line"><a name="l00652"></a><span class="lineno">  652</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
+<div class="line"><a name="l00653"></a><span class="lineno"><a class="code" href="structprjprm.html#ab165b11d417700de0a4187f133050a2b">  653</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structprjprm.html#ab165b11d417700de0a4187f133050a2b">name</a>[40];              <span class="comment">/* Projection name.                         */</span></div>
+<div class="line"><a name="l00654"></a><span class="lineno"><a class="code" href="structprjprm.html#af0fcebbc8155f0b1ee868e64a2ed9ac3">  654</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#af0fcebbc8155f0b1ee868e64a2ed9ac3">category</a>;              <span class="comment">/* Projection category.                     */</span></div>
+<div class="line"><a name="l00655"></a><span class="lineno"><a class="code" href="structprjprm.html#abcd2a3ee9f61b930d23bf741cea63bf3">  655</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#abcd2a3ee9f61b930d23bf741cea63bf3">pvrange</a>;               <span class="comment">/* Range of projection parameter indices.   */</span></div>
+<div class="line"><a name="l00656"></a><span class="lineno"><a class="code" href="structprjprm.html#afecdd175932cbf29fcfac575b1a5cb9b">  656</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#afecdd175932cbf29fcfac575b1a5cb9b">simplezen</a>;             <span class="comment">/* Is it a simple zenithal projection?      */</span></div>
+<div class="line"><a name="l00657"></a><span class="lineno"><a class="code" href="structprjprm.html#ab3e207e26d1c9db06cedba2cf4460340">  657</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#ab3e207e26d1c9db06cedba2cf4460340">equiareal</a>;             <span class="comment">/* Is it an equal area projection?          */</span></div>
+<div class="line"><a name="l00658"></a><span class="lineno"><a class="code" href="structprjprm.html#ad7a41e3d03cb739c2a9aa1f8aabf54f9">  658</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#ad7a41e3d03cb739c2a9aa1f8aabf54f9">conformal</a>;             <span class="comment">/* Is it a conformal projection?            */</span></div>
+<div class="line"><a name="l00659"></a><span class="lineno"><a class="code" href="structprjprm.html#ae634b0747fe55f77e65b6909c94227d9">  659</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#ae634b0747fe55f77e65b6909c94227d9">global</a>;                <span class="comment">/* Can it map the whole sphere?             */</span></div>
+<div class="line"><a name="l00660"></a><span class="lineno"><a class="code" href="structprjprm.html#a62e88bd3c9e02f38193a800035b83918">  660</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#a62e88bd3c9e02f38193a800035b83918">divergent</a>;             <span class="comment">/* Does the projection diverge in latitude? */</span></div>
+<div class="line"><a name="l00661"></a><span class="lineno"><a class="code" href="structprjprm.html#a164706f09314c493c7e9d2c7325f8372">  661</a></span>   <span class="keywordtype">double</span> <a class="code" href="structprjprm.html#aae2c61d85c72e87f4b2b77a14c8eb316">x0</a>, <a class="code" href="structprjprm.html#a164706f09314c493c7e9d2c7325f8372">y0</a>;                <span class="comment">/* Fiducial offsets.                        */</span></div>
+<div class="line"><a name="l00662"></a><span class="lineno">  662</span> </div>
+<div class="line"><a name="l00663"></a><span class="lineno">  663</span>   <span class="comment">/* Error handling                                                         */</span></div>
+<div class="line"><a name="l00664"></a><span class="lineno">  664</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
+<div class="line"><a name="l00665"></a><span class="lineno"><a class="code" href="structprjprm.html#a30e78bb110dc7a8ad0303370ce20762c">  665</a></span>   <span class="keyword">struct </span><a class="code" href="structwcserr.html" title="Error message handling. ">wcserr</a> *<a class="code" href="structprjprm.html#a30e78bb110dc7a8ad0303370ce20762c">err</a>;</div>
+<div class="line"><a name="l00666"></a><span class="lineno">  666</span> </div>
+<div class="line"><a name="l00667"></a><span class="lineno">  667</span>   <span class="comment">/* Private                                                                */</span></div>
+<div class="line"><a name="l00668"></a><span class="lineno">  668</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
+<div class="line"><a name="l00669"></a><span class="lineno"><a class="code" href="structprjprm.html#a75cda8ae364a914f64e119ba859c8372">  669</a></span>   <span class="keywordtype">void</span>   *<a class="code" href="structprjprm.html#a75cda8ae364a914f64e119ba859c8372">padding</a>;              <span class="comment">/* (Dummy inserted for alignment purposes.) */</span></div>
+<div class="line"><a name="l00670"></a><span class="lineno"><a class="code" href="structprjprm.html#a3b40a2df3b436c4ffcf5be6814993278">  670</a></span>   <span class="keywordtype">double</span> <a class="code" href="structprjprm.html#a3b40a2df3b436c4ffcf5be6814993278">w</a>[10];                 <span class="comment">/* Intermediate values.                     */</span></div>
+<div class="line"><a name="l00671"></a><span class="lineno"><a class="code" href="structprjprm.html#aab36c6218a33025ac4c5025de7c67d42">  671</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structprjprm.html#afb805c40a4d37c195074c1305874d615">m</a>, <a class="code" href="structprjprm.html#aab36c6218a33025ac4c5025de7c67d42">n</a>;                  <span class="comment">/* Intermediate values.                     */</span></div>
+<div class="line"><a name="l00672"></a><span class="lineno">  672</span> </div>
+<div class="line"><a name="l00673"></a><span class="lineno"><a class="code" href="structprjprm.html#aeef644ffeafea16e82b2b995a470a345">  673</a></span>   int (*<a class="code" href="structprjprm.html#aeef644ffeafea16e82b2b995a470a345">prjx2s</a>)(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);   <span class="comment">/* Pointers to the spherical projection and */</span></div>
+<div class="line"><a name="l00674"></a><span class="lineno"><a class="code" href="structprjprm.html#ae699a5fb02198777343057972e1452d0">  674</a></span>   int (*<a class="code" href="structprjprm.html#ae699a5fb02198777343057972e1452d0">prjs2x</a>)(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);   <span class="comment">/* deprojection functions.                  */</span></div>
+<div class="line"><a name="l00675"></a><span class="lineno">  675</span> };</div>
+<div class="line"><a name="l00676"></a><span class="lineno">  676</span> </div>
+<div class="line"><a name="l00677"></a><span class="lineno">  677</span> <span class="comment">/* Size of the prjprm struct in int units, used by the Fortran wrappers. */</span></div>
+<div class="line"><a name="l00678"></a><span class="lineno"><a class="code" href="prj_8h.html#a2cdabd9dfe78fe18b9e6597881d8ed92">  678</a></span> <span class="preprocessor">#define PRJLEN (sizeof(struct prjprm)/sizeof(int))</span></div>
+<div class="line"><a name="l00679"></a><span class="lineno">  679</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00680"></a><span class="lineno">  680</span> </div>
+<div class="line"><a name="l00681"></a><span class="lineno">  681</span> <span class="comment">/* Use the preprocessor to help declare function prototypes (see above). */</span></div>
+<div class="line"><a name="l00682"></a><span class="lineno">  682</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ad994cb23871c51b20754973bef180f8a" title="Default constructor for the prjprm struct. ">prjini</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00683"></a><span class="lineno">  683</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a50db1538981df162709b81be0b2961ab" title="Destructor for the prjprm struct. ">prjfree</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00684"></a><span class="lineno">  684</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a8785bdf33bdaa3d9d52fd51b621ec8d5" title="Print routine for the prjprm struct. ">prjprt</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00685"></a><span class="lineno">  685</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a147e82f4cede2e6d9ba0ff76b11a2ab2" title="Bounds checking on native coordinates. ">prjbchk</a>(<span class="keywordtype">double</span> tol, <span class="keywordtype">int</span> nx, <span class="keywordtype">int</span> ny, <span class="keywordtype">int</span> spt, <span class="keywordtype">double</span> phi[], <span class="keywordtype">double [...]
+<div class="line"><a name="l00686"></a><span class="lineno">  686</span>            <span class="keywordtype">int</span> stat[]);</div>
 <div class="line"><a name="l00687"></a><span class="lineno">  687</span> </div>
-<div class="line"><a name="l00688"></a><span class="lineno">  688</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a36ccae7b426311614a4e80432a2b62c3" title="Set up a prjprm struct for the plate carrée (CAR) projection. ">carset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00689"></a><span class="lineno">  689</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#af363383621fb2b72243c1d6b894874d5" title="Cartesian-to-spherical transformation for the plate carrée (CAR) projection. ">carx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00690"></a><span class="lineno">  690</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ab4325a957786611772b90e7a080327f3" title="Spherical-to-Cartesian transformation for the plate carrée (CAR) projection. ">cars2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00688"></a><span class="lineno">  688</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ad43dbc765c63162d0af2b9285b8a434f" title="Generic setup routine for the prjprm struct. ">prjset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00689"></a><span class="lineno">  689</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a9a387f05414e7b59487fdcb03ff79ced" title="Generic Cartesian-to-spherical deprojection. ">prjx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00690"></a><span class="lineno">  690</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#abe28216295d9e7ad7dbb01bf5985df9f" title="Generic spherical-to-Cartesian projection. ">prjs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00691"></a><span class="lineno">  691</span> </div>
-<div class="line"><a name="l00692"></a><span class="lineno">  692</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#acf989261fd56f1e8b4eb8941ec2c754f" title="Set up a prjprm struct for Mercator's (MER) projection. ">merset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00693"></a><span class="lineno">  693</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a5380727f9aeff5aa57f8545d6b54a8f8" title="Cartesian-to-spherical transformation for Mercator's (MER) projection. ">merx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00694"></a><span class="lineno">  694</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ad9a80b98c04b0e06d08fd84bacc58b27" title="Spherical-to-Cartesian transformation for Mercator's (MER) projection. ">mers2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00692"></a><span class="lineno">  692</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#abf6696d3455c684cb44d06da7885ce94" title="Set up a prjprm struct for the zenithal/azimuthal perspective (AZP) projection. ">azpset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00693"></a><span class="lineno">  693</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a8ebb4c79b635cef463b4e7242ff23c25" title="Cartesian-to-spherical transformation for the zenithal/azimuthal perspective (AZP) projection...">azpx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00694"></a><span class="lineno">  694</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#abc26dfb2d0b0bee71f6e4541977d237f" title="Spherical-to-Cartesian transformation for the zenithal/azimuthal perspective (AZP) projection...">azps2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00695"></a><span class="lineno">  695</span> </div>
-<div class="line"><a name="l00696"></a><span class="lineno">  696</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a7c719c0387d23c53b0ceb3ee161de66a" title="Set up a prjprm struct for the Sanson-Flamsteed (SFL) projection. ">sflset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00697"></a><span class="lineno">  697</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a310444979f8f0e62db2bcbe39b0e3d35" title="Cartesian-to-spherical transformation for the Sanson-Flamsteed (SFL) projection. ">sflx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00698"></a><span class="lineno">  698</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a5517fccc15882e298ac9433f44d1ae4c" title="Spherical-to-Cartesian transformation for the Sanson-Flamsteed (SFL) projection. ">sfls2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00696"></a><span class="lineno">  696</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#afaafab5c440384667d7af444b7aca750" title="Set up a prjprm struct for the slant zenithal perspective (SZP) projection. ">szpset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00697"></a><span class="lineno">  697</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a2fe67a5ecf17729881efa24c83482611" title="Cartesian-to-spherical transformation for the slant zenithal perspective (SZP) projection. ">szpx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00698"></a><span class="lineno">  698</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a70b750ec65eb4a277057200c7fbb251f" title="Spherical-to-Cartesian transformation for the slant zenithal perspective (SZP) projection. ">szps2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00699"></a><span class="lineno">  699</span> </div>
-<div class="line"><a name="l00700"></a><span class="lineno">  700</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ad2a2b56c0900516dd24eebf430bcb29c" title="Set up a prjprm struct for the parabolic (PAR) projection. ">parset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00701"></a><span class="lineno">  701</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a17be11269d86b3308fd925949877718e" title="Cartesian-to-spherical transformation for the parabolic (PAR) projection. ">parx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00702"></a><span class="lineno">  702</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aeb5951ec54b929d16ab464939a37d74f" title="Spherical-to-Cartesian transformation for the parabolic (PAR) projection. ">pars2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00700"></a><span class="lineno">  700</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a34d303d7ae44a6aca43c1a81bfaac10f" title="Set up a prjprm struct for the gnomonic (TAN) projection. ">tanset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00701"></a><span class="lineno">  701</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#acd4f54c072b6219242daeb6d4b9a74cb" title="Cartesian-to-spherical transformation for the gnomonic (TAN) projection. ">tanx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00702"></a><span class="lineno">  702</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a9d3358bed907342e3309e54bd2ab89da" title="Spherical-to-Cartesian transformation for the gnomonic (TAN) projection. ">tans2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00703"></a><span class="lineno">  703</span> </div>
-<div class="line"><a name="l00704"></a><span class="lineno">  704</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a151140d870ed4f490317938bd6260a6a" title="Set up a prjprm struct for Mollweide's (MOL) projection. ">molset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00705"></a><span class="lineno">  705</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a853c1df5e8327d83e9cfdde9455355f5" title="Cartesian-to-spherical transformation for Mollweide's (MOL) projection. ">molx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00706"></a><span class="lineno">  706</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a6f3cbaaf367984579aad5ec7eb00f397" title="Spherical-to-Cartesian transformation for Mollweide's (MOL) projection. ">mols2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00704"></a><span class="lineno">  704</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a66b51f10624b6c17a84b5b54058dd72b" title="Set up a prjprm struct for the stereographic (STG) projection. ">stgset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00705"></a><span class="lineno">  705</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a88c15d0b6f789cbbd7c5d323ef131360" title="Cartesian-to-spherical transformation for the stereographic (STG) projection. ">stgx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00706"></a><span class="lineno">  706</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ab46a0a668f28939626287d048153863f" title="Spherical-to-Cartesian transformation for the stereographic (STG) projection. ">stgs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00707"></a><span class="lineno">  707</span> </div>
-<div class="line"><a name="l00708"></a><span class="lineno">  708</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a33f92621800eb880b75611c439526d19" title="Set up a prjprm struct for the Hammer-Aitoff (AIT) projection. ">aitset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00709"></a><span class="lineno">  709</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a2da3bbd3c42c6ad324117cc5f249a834" title="Cartesian-to-spherical transformation for the Hammer-Aitoff (AIT) projection. ">aitx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00710"></a><span class="lineno">  710</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a8cca776751549082521a72a743d6b937" title="Spherical-to-Cartesian transformation for the Hammer-Aitoff (AIT) projection. ">aits2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00708"></a><span class="lineno">  708</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ab6ce2bb75a87b1679d05f251227d2f1b" title="Set up a prjprm struct for the orthographic/synthesis (SIN) projection. ">sinset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00709"></a><span class="lineno">  709</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aeb7881cd5d7b4b5e26281a512b8f62ac" title="Cartesian-to-spherical transformation for the orthographic/synthesis (SIN) projection. ">sinx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00710"></a><span class="lineno">  710</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#abdf8c6c3ef615a01ebf8822e013d6a63" title="Spherical-to-Cartesian transformation for the orthographic/synthesis (SIN) projection. ">sins2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00711"></a><span class="lineno">  711</span> </div>
-<div class="line"><a name="l00712"></a><span class="lineno">  712</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ac2f3bc42ac6e7d458364ebcf2b35814f" title="Set up a prjprm struct for the conic perspective (COP) projection. ">copset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00713"></a><span class="lineno">  713</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a588e9a86fc4dcd1195f867f718ce5429" title="Cartesian-to-spherical transformation for the conic perspective (COP) projection. ...">copx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00714"></a><span class="lineno">  714</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a77283589634cc9a054f3a7c7fc91d38d" title="Spherical-to-Cartesian transformation for the conic perspective (COP) projection. ...">cops2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00712"></a><span class="lineno">  712</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ac038f2474d5d58de157554cee74a9735" title="Set up a prjprm struct for the zenithal/azimuthal equidistant (ARC) projection. ">arcset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00713"></a><span class="lineno">  713</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a666322bfe8c4b8e73f00afeb47283f97" title="Cartesian-to-spherical transformation for the zenithal/azimuthal equidistant (ARC) projection...">arcx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00714"></a><span class="lineno">  714</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aaba5ce89ae711728d8ba8105ac5fd599" title="Spherical-to-Cartesian transformation for the zenithal/azimuthal equidistant (ARC) projection...">arcs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00715"></a><span class="lineno">  715</span> </div>
-<div class="line"><a name="l00716"></a><span class="lineno">  716</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ab1264f0201113c1a8e931ad9a7630e2f" title="Set up a prjprm struct for the conic equal area (COE) projection. ">coeset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00717"></a><span class="lineno">  717</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ad70968320728202aa12048162248d368" title="Cartesian-to-spherical transformation for the conic equal area (COE) projection. ">coex2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00718"></a><span class="lineno">  718</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#afa8d27e481bbfffacd3e671e6715d5cb" title="Spherical-to-Cartesian transformation for the conic equal area (COE) projection. ">coes2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00716"></a><span class="lineno">  716</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ac983c5a393c5b3f1041f07b2eb95a3a5" title="Set up a prjprm struct for the zenithal/azimuthal polynomial (ZPN) projection. ">zpnset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00717"></a><span class="lineno">  717</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a574e44daea81568a6d5e324a6f339d6f" title="Cartesian-to-spherical transformation for the zenithal/azimuthal polynomial (ZPN) projection...">zpnx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00718"></a><span class="lineno">  718</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a7b60d7992bf9c671cb4191f0ec2e0c90" title="Spherical-to-Cartesian transformation for the zenithal/azimuthal polynomial (ZPN) projection...">zpns2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00719"></a><span class="lineno">  719</span> </div>
-<div class="line"><a name="l00720"></a><span class="lineno">  720</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#afbf5f05496f1e018425e02d60a4e0b74" title="Set up a prjprm struct for the conic equidistant (COD) projection. ">codset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00721"></a><span class="lineno">  721</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a105e2bf177120eb34f41e6af768f855d" title="Cartesian-to-spherical transformation for the conic equidistant (COD) projection. ...">codx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00722"></a><span class="lineno">  722</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#afedc43dc512008174ec9b87753519031" title="Spherical-to-Cartesian transformation for the conic equidistant (COD) projection. ...">cods2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00720"></a><span class="lineno">  720</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a3229533df20718c0d5671cc9eb5316fe" title="Set up a prjprm struct for the zenithal/azimuthal equal area (ZEA) projection. ">zeaset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00721"></a><span class="lineno">  721</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a849a1bbd679d0c193e8be96a8b9ed534" title="Cartesian-to-spherical transformation for the zenithal/azimuthal equal area (ZEA) projection...">zeax2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00722"></a><span class="lineno">  722</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#adc4da028cde2d970e9e5e22adca22f37" title="Spherical-to-Cartesian transformation for the zenithal/azimuthal equal area (ZEA) projection...">zeas2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00723"></a><span class="lineno">  723</span> </div>
-<div class="line"><a name="l00724"></a><span class="lineno">  724</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a344308a1d96a93f9bc682141f3df1a14" title="Set up a prjprm struct for the conic orthomorphic (COO) projection. ">cooset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00725"></a><span class="lineno">  725</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a2f42dcec4ea56bbb25b563859228b02e" title="Cartesian-to-spherical transformation for the conic orthomorphic (COO) projection. ">coox2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00726"></a><span class="lineno">  726</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aed0317c8ffef248346da897568df266c" title="Spherical-to-Cartesian transformation for the conic orthomorphic (COO) projection. ">coos2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00724"></a><span class="lineno">  724</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a025adf8a63b5d4a8d2a4de804e0707be" title="Set up a prjprm struct for Airy's (AIR) projection. ">airset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00725"></a><span class="lineno">  725</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a2c87fbf68277f03051d3eaae3db785e9" title="Cartesian-to-spherical transformation for Airy's (AIR) projection. ">airx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00726"></a><span class="lineno">  726</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a75b6b1cb0a748e9b5d3a4cd31129ace6" title="Spherical-to-Cartesian transformation for Airy's (AIR) projection. ">airs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00727"></a><span class="lineno">  727</span> </div>
-<div class="line"><a name="l00728"></a><span class="lineno">  728</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aaec02a8e47d68e126983e9bb07a0c0aa" title="Set up a prjprm struct for Bonne's (BON) projection. ">bonset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00729"></a><span class="lineno">  729</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a53315ef8d3bd4002d1e98142fcf62566" title="Cartesian-to-spherical transformation for Bonne's (BON) projection. ">bonx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00730"></a><span class="lineno">  730</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a3b4cda48838c613460bff00c76fceb44" title="Spherical-to-Cartesian transformation for Bonne's (BON) projection. ">bons2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00728"></a><span class="lineno">  728</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a36cf447dee9f2e90e42d43d7adc5a0a1" title="Set up a prjprm struct for the cylindrical perspective (CYP) projection. ">cypset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00729"></a><span class="lineno">  729</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#affdbf993ce959fce2c148c07cd0f2c0c" title="Cartesian-to-spherical transformation for the cylindrical perspective (CYP) projection. ">cypx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00730"></a><span class="lineno">  730</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a13e0f81e1fd4bdc46847ab4c634ad346" title="Spherical-to-Cartesian transformation for the cylindrical perspective (CYP) projection. ">cyps2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00731"></a><span class="lineno">  731</span> </div>
-<div class="line"><a name="l00732"></a><span class="lineno">  732</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aabdc7abc8b7c80187770cfd12c63f700" title="Set up a prjprm struct for the polyconic (PCO) projection. ">pcoset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00733"></a><span class="lineno">  733</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a28b623c88d38ab711fc61f36a97d0b27" title="Cartesian-to-spherical transformation for the polyconic (PCO) projection. ">pcox2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00734"></a><span class="lineno">  734</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a1f1714691f99f11640dccdc74eadfb49" title="Spherical-to-Cartesian transformation for the polyconic (PCO) projection. ">pcos2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00732"></a><span class="lineno">  732</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a68ce41ad199c3385bed7e7d4ded2bd8a" title="Set up a prjprm struct for the cylindrical equal area (CEA) projection. ">ceaset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00733"></a><span class="lineno">  733</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aff09e87b2246bdec83f6a7bb1bc0f471" title="Cartesian-to-spherical transformation for the cylindrical equal area (CEA) projection. ">ceax2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00734"></a><span class="lineno">  734</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a28ddb923a52cb597ca9c7dd03ceeb4fe" title="Spherical-to-Cartesian transformation for the cylindrical equal area (CEA) projection. ">ceas2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00735"></a><span class="lineno">  735</span> </div>
-<div class="line"><a name="l00736"></a><span class="lineno">  736</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aad75dcd0cd2fd0b6a162b5587cba9c2d" title="Set up a prjprm struct for the tangential spherical cube (TSC) projection. ">tscset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00737"></a><span class="lineno">  737</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#abbfbf3cba73850d7608765725993dfe3" title="Cartesian-to-spherical transformation for the tangential spherical cube (TSC) projection. ">tscx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00738"></a><span class="lineno">  738</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a167a49d730bca43483aef311f7114ae4" title="Spherical-to-Cartesian transformation for the tangential spherical cube (TSC) projection. ">tscs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00736"></a><span class="lineno">  736</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a36ccae7b426311614a4e80432a2b62c3" title="Set up a prjprm struct for the plate carrée (CAR) projection. ">carset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00737"></a><span class="lineno">  737</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#af363383621fb2b72243c1d6b894874d5" title="Cartesian-to-spherical transformation for the plate carrée (CAR) projection. ">carx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00738"></a><span class="lineno">  738</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ab4325a957786611772b90e7a080327f3" title="Spherical-to-Cartesian transformation for the plate carrée (CAR) projection. ">cars2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00739"></a><span class="lineno">  739</span> </div>
-<div class="line"><a name="l00740"></a><span class="lineno">  740</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a8bc552f12260f944e0b8f9b714804983" title="Set up a prjprm struct for the COBE spherical cube (CSC) projection. ">cscset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00741"></a><span class="lineno">  741</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#afcefcb885b7d1c33e0458345cdc9f4a4" title="Cartesian-to-spherical transformation for the COBE spherical cube (CSC) projection. ">cscx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00742"></a><span class="lineno">  742</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ac9a7ed6b032cfdaba0e8caba17c6c149" title="Spherical-to-Cartesian transformation for the COBE spherical cube (CSC) projection. ">cscs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00740"></a><span class="lineno">  740</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#acf989261fd56f1e8b4eb8941ec2c754f" title="Set up a prjprm struct for Mercator's (MER) projection. ">merset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00741"></a><span class="lineno">  741</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a5380727f9aeff5aa57f8545d6b54a8f8" title="Cartesian-to-spherical transformation for Mercator's (MER) projection. ">merx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00742"></a><span class="lineno">  742</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ad9a80b98c04b0e06d08fd84bacc58b27" title="Spherical-to-Cartesian transformation for Mercator's (MER) projection. ">mers2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00743"></a><span class="lineno">  743</span> </div>
-<div class="line"><a name="l00744"></a><span class="lineno">  744</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a6d1f0504f9b864d4aed4a59d60bab819" title="Set up a prjprm struct for the quadrilateralized spherical cube (QSC) projection. ...">qscset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00745"></a><span class="lineno">  745</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#afc5276e759c799deea36271d9cafc5e9" title="Cartesian-to-spherical transformation for the quadrilateralized spherical cube (QSC) projection...">qscx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00746"></a><span class="lineno">  746</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a847b7c3f5b7361596912d3d876b4f4fe" title="Spherical-to-Cartesian transformation for the quadrilateralized spherical cube (QSC) projection...">qscs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00744"></a><span class="lineno">  744</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a7c719c0387d23c53b0ceb3ee161de66a" title="Set up a prjprm struct for the Sanson-Flamsteed (SFL) projection. ">sflset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00745"></a><span class="lineno">  745</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a310444979f8f0e62db2bcbe39b0e3d35" title="Cartesian-to-spherical transformation for the Sanson-Flamsteed (SFL) projection. ">sflx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00746"></a><span class="lineno">  746</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a5517fccc15882e298ac9433f44d1ae4c" title="Spherical-to-Cartesian transformation for the Sanson-Flamsteed (SFL) projection. ">sfls2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00747"></a><span class="lineno">  747</span> </div>
-<div class="line"><a name="l00748"></a><span class="lineno">  748</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aa2167e62576d36eae341c2583cb5d678" title="Set up a prjprm struct for the HEALPix (HPX) projection. ">hpxset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00749"></a><span class="lineno">  749</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a4ff298fcdc6e7e23dfb4971fbd26ebe7" title="Cartesian-to-spherical transformation for the HEALPix (HPX) projection. ">hpxx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00750"></a><span class="lineno">  750</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#af44375ad9036898dd6d12d2cc58bf53b" title="Spherical-to-Cartesian transformation for the HEALPix (HPX) projection. ">hpxs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00748"></a><span class="lineno">  748</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ad2a2b56c0900516dd24eebf430bcb29c" title="Set up a prjprm struct for the parabolic (PAR) projection. ">parset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00749"></a><span class="lineno">  749</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a17be11269d86b3308fd925949877718e" title="Cartesian-to-spherical transformation for the parabolic (PAR) projection. ">parx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00750"></a><span class="lineno">  750</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aeb5951ec54b929d16ab464939a37d74f" title="Spherical-to-Cartesian transformation for the parabolic (PAR) projection. ">pars2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00751"></a><span class="lineno">  751</span> </div>
-<div class="line"><a name="l00752"></a><span class="lineno">  752</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#afe3968d54673ee2d843005ad2f2276b5">xphset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
-<div class="line"><a name="l00753"></a><span class="lineno">  753</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a6a15da57b1ebff4daea8728b0d064f23">xphx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
-<div class="line"><a name="l00754"></a><span class="lineno">  754</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a6c92f19ce9244009f4ae9517bd4f68b4">xphs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00752"></a><span class="lineno">  752</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a151140d870ed4f490317938bd6260a6a" title="Set up a prjprm struct for Mollweide's (MOL) projection. ">molset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00753"></a><span class="lineno">  753</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a853c1df5e8327d83e9cfdde9455355f5" title="Cartesian-to-spherical transformation for Mollweide's (MOL) projection. ">molx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00754"></a><span class="lineno">  754</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a6f3cbaaf367984579aad5ec7eb00f397" title="Spherical-to-Cartesian transformation for Mollweide's (MOL) projection. ">mols2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
 <div class="line"><a name="l00755"></a><span class="lineno">  755</span> </div>
-<div class="line"><a name="l00756"></a><span class="lineno">  756</span> </div>
-<div class="line"><a name="l00757"></a><span class="lineno">  757</span> <span class="comment">/* Deprecated. */</span></div>
-<div class="line"><a name="l00758"></a><span class="lineno"><a class="code" href="prj_8h.html#a7f080405538ea2ddd2882c991e25bd2f">  758</a></span> <span class="preprocessor">#define prjini_errmsg prj_errmsg</span></div>
-<div class="line"><a name="l00759"></a><span class="lineno"><a class="code" href="prj_8h.html#af862254dceec64a987fdaabc40e4963d">  759</a></span> <span class="preprocessor"></span><span class="preprocessor">#define prjprt_errmsg prj_errmsg</span></div>
-<div class="line"><a name="l00760"></a><span class="lineno"><a class="code" href="prj_8h.html#a94f59295c312536ce66482b3d9bebec4">  760</a></span> <span class="preprocessor"></span><span class="preprocessor">#define prjset_errmsg prj_errmsg</span></div>
-<div class="line"><a name="l00761"></a><span class="lineno"><a class="code" href="prj_8h.html#a3672afec3db0f850d67404814ebdbc64">  761</a></span> <span class="preprocessor"></span><span class="preprocessor">#define prjx2s_errmsg prj_errmsg</span></div>
-<div class="line"><a name="l00762"></a><span class="lineno"><a class="code" href="prj_8h.html#adf9cca0265038851129d1966017cd525">  762</a></span> <span class="preprocessor"></span><span class="preprocessor">#define prjs2x_errmsg prj_errmsg</span></div>
-<div class="line"><a name="l00763"></a><span class="lineno">  763</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l00764"></a><span class="lineno">  764</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
-<div class="line"><a name="l00765"></a><span class="lineno">  765</span> <span class="preprocessor"></span>}</div>
-<div class="line"><a name="l00766"></a><span class="lineno">  766</span> <span class="preprocessor">#endif</span></div>
-<div class="line"><a name="l00767"></a><span class="lineno">  767</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l00768"></a><span class="lineno">  768</span> <span class="preprocessor">#endif </span><span class="comment">/* WCSLIB_PROJ */</span><span class="preprocessor"></span></div>
+<div class="line"><a name="l00756"></a><span class="lineno">  756</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a33f92621800eb880b75611c439526d19" title="Set up a prjprm struct for the Hammer-Aitoff (AIT) projection. ">aitset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00757"></a><span class="lineno">  757</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a2da3bbd3c42c6ad324117cc5f249a834" title="Cartesian-to-spherical transformation for the Hammer-Aitoff (AIT) projection. ">aitx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00758"></a><span class="lineno">  758</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a8cca776751549082521a72a743d6b937" title="Spherical-to-Cartesian transformation for the Hammer-Aitoff (AIT) projection. ">aits2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00759"></a><span class="lineno">  759</span> </div>
+<div class="line"><a name="l00760"></a><span class="lineno">  760</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ac2f3bc42ac6e7d458364ebcf2b35814f" title="Set up a prjprm struct for the conic perspective (COP) projection. ">copset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00761"></a><span class="lineno">  761</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a588e9a86fc4dcd1195f867f718ce5429" title="Cartesian-to-spherical transformation for the conic perspective (COP) projection. ...">copx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00762"></a><span class="lineno">  762</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a77283589634cc9a054f3a7c7fc91d38d" title="Spherical-to-Cartesian transformation for the conic perspective (COP) projection. ...">cops2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00763"></a><span class="lineno">  763</span> </div>
+<div class="line"><a name="l00764"></a><span class="lineno">  764</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ab1264f0201113c1a8e931ad9a7630e2f" title="Set up a prjprm struct for the conic equal area (COE) projection. ">coeset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00765"></a><span class="lineno">  765</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ad70968320728202aa12048162248d368" title="Cartesian-to-spherical transformation for the conic equal area (COE) projection. ">coex2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00766"></a><span class="lineno">  766</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#afa8d27e481bbfffacd3e671e6715d5cb" title="Spherical-to-Cartesian transformation for the conic equal area (COE) projection. ">coes2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00767"></a><span class="lineno">  767</span> </div>
+<div class="line"><a name="l00768"></a><span class="lineno">  768</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#afbf5f05496f1e018425e02d60a4e0b74" title="Set up a prjprm struct for the conic equidistant (COD) projection. ">codset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00769"></a><span class="lineno">  769</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a105e2bf177120eb34f41e6af768f855d" title="Cartesian-to-spherical transformation for the conic equidistant (COD) projection. ...">codx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00770"></a><span class="lineno">  770</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#afedc43dc512008174ec9b87753519031" title="Spherical-to-Cartesian transformation for the conic equidistant (COD) projection. ...">cods2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00771"></a><span class="lineno">  771</span> </div>
+<div class="line"><a name="l00772"></a><span class="lineno">  772</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a344308a1d96a93f9bc682141f3df1a14" title="Set up a prjprm struct for the conic orthomorphic (COO) projection. ">cooset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00773"></a><span class="lineno">  773</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a2f42dcec4ea56bbb25b563859228b02e" title="Cartesian-to-spherical transformation for the conic orthomorphic (COO) projection. ">coox2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00774"></a><span class="lineno">  774</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aed0317c8ffef248346da897568df266c" title="Spherical-to-Cartesian transformation for the conic orthomorphic (COO) projection. ">coos2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00775"></a><span class="lineno">  775</span> </div>
+<div class="line"><a name="l00776"></a><span class="lineno">  776</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aaec02a8e47d68e126983e9bb07a0c0aa" title="Set up a prjprm struct for Bonne's (BON) projection. ">bonset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00777"></a><span class="lineno">  777</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a53315ef8d3bd4002d1e98142fcf62566" title="Cartesian-to-spherical transformation for Bonne's (BON) projection. ">bonx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00778"></a><span class="lineno">  778</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a3b4cda48838c613460bff00c76fceb44" title="Spherical-to-Cartesian transformation for Bonne's (BON) projection. ">bons2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00779"></a><span class="lineno">  779</span> </div>
+<div class="line"><a name="l00780"></a><span class="lineno">  780</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aabdc7abc8b7c80187770cfd12c63f700" title="Set up a prjprm struct for the polyconic (PCO) projection. ">pcoset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00781"></a><span class="lineno">  781</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a28b623c88d38ab711fc61f36a97d0b27" title="Cartesian-to-spherical transformation for the polyconic (PCO) projection. ">pcox2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00782"></a><span class="lineno">  782</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a1f1714691f99f11640dccdc74eadfb49" title="Spherical-to-Cartesian transformation for the polyconic (PCO) projection. ">pcos2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00783"></a><span class="lineno">  783</span> </div>
+<div class="line"><a name="l00784"></a><span class="lineno">  784</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aad75dcd0cd2fd0b6a162b5587cba9c2d" title="Set up a prjprm struct for the tangential spherical cube (TSC) projection. ">tscset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00785"></a><span class="lineno">  785</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#abbfbf3cba73850d7608765725993dfe3" title="Cartesian-to-spherical transformation for the tangential spherical cube (TSC) projection. ">tscx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00786"></a><span class="lineno">  786</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a167a49d730bca43483aef311f7114ae4" title="Spherical-to-Cartesian transformation for the tangential spherical cube (TSC) projection. ">tscs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00787"></a><span class="lineno">  787</span> </div>
+<div class="line"><a name="l00788"></a><span class="lineno">  788</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a8bc552f12260f944e0b8f9b714804983" title="Set up a prjprm struct for the COBE spherical cube (CSC) projection. ">cscset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00789"></a><span class="lineno">  789</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#afcefcb885b7d1c33e0458345cdc9f4a4" title="Cartesian-to-spherical transformation for the COBE spherical cube (CSC) projection. ">cscx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00790"></a><span class="lineno">  790</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#ac9a7ed6b032cfdaba0e8caba17c6c149" title="Spherical-to-Cartesian transformation for the COBE spherical cube (CSC) projection. ">cscs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00791"></a><span class="lineno">  791</span> </div>
+<div class="line"><a name="l00792"></a><span class="lineno">  792</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a6d1f0504f9b864d4aed4a59d60bab819" title="Set up a prjprm struct for the quadrilateralized spherical cube (QSC) projection. ...">qscset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00793"></a><span class="lineno">  793</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#afc5276e759c799deea36271d9cafc5e9" title="Cartesian-to-spherical transformation for the quadrilateralized spherical cube (QSC) projection...">qscx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00794"></a><span class="lineno">  794</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a847b7c3f5b7361596912d3d876b4f4fe" title="Spherical-to-Cartesian transformation for the quadrilateralized spherical cube (QSC) projection...">qscs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00795"></a><span class="lineno">  795</span> </div>
+<div class="line"><a name="l00796"></a><span class="lineno">  796</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#aa2167e62576d36eae341c2583cb5d678" title="Set up a prjprm struct for the HEALPix (HPX) projection. ">hpxset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00797"></a><span class="lineno">  797</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a4ff298fcdc6e7e23dfb4971fbd26ebe7" title="Cartesian-to-spherical transformation for the HEALPix (HPX) projection. ">hpxx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00798"></a><span class="lineno">  798</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#af44375ad9036898dd6d12d2cc58bf53b" title="Spherical-to-Cartesian transformation for the HEALPix (HPX) projection. ">hpxs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00799"></a><span class="lineno">  799</span> </div>
+<div class="line"><a name="l00800"></a><span class="lineno">  800</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#afe3968d54673ee2d843005ad2f2276b5">xphset</a>(<span class="keyword">struct</span> <a class="code" href="structprjprm.html" title="Projection parameters. ">prjprm</a> *prj);</div>
+<div class="line"><a name="l00801"></a><span class="lineno">  801</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a6a15da57b1ebff4daea8728b0d064f23">xphx2s</a>(<a class="code" href="prj_8h.html#a37ad31c5d2926862d211db0d14f401f0" title="For use in declaring deprojection function prototypes. ">PRJX2S_ARGS</a>);</div>
+<div class="line"><a name="l00802"></a><span class="lineno">  802</span> <span class="keywordtype">int</span> <a class="code" href="prj_8h.html#a6c92f19ce9244009f4ae9517bd4f68b4">xphs2x</a>(<a class="code" href="prj_8h.html#aacc46318c778bd844e30d6997394cc8a" title="For use in declaring projection function prototypes. ">PRJS2X_ARGS</a>);</div>
+<div class="line"><a name="l00803"></a><span class="lineno">  803</span> </div>
+<div class="line"><a name="l00804"></a><span class="lineno">  804</span> </div>
+<div class="line"><a name="l00805"></a><span class="lineno">  805</span> <span class="comment">/* Deprecated. */</span></div>
+<div class="line"><a name="l00806"></a><span class="lineno"><a class="code" href="prj_8h.html#a7f080405538ea2ddd2882c991e25bd2f">  806</a></span> <span class="preprocessor">#define prjini_errmsg prj_errmsg</span></div>
+<div class="line"><a name="l00807"></a><span class="lineno"><a class="code" href="prj_8h.html#af862254dceec64a987fdaabc40e4963d">  807</a></span> <span class="preprocessor"></span><span class="preprocessor">#define prjprt_errmsg prj_errmsg</span></div>
+<div class="line"><a name="l00808"></a><span class="lineno"><a class="code" href="prj_8h.html#a94f59295c312536ce66482b3d9bebec4">  808</a></span> <span class="preprocessor"></span><span class="preprocessor">#define prjset_errmsg prj_errmsg</span></div>
+<div class="line"><a name="l00809"></a><span class="lineno"><a class="code" href="prj_8h.html#a3672afec3db0f850d67404814ebdbc64">  809</a></span> <span class="preprocessor"></span><span class="preprocessor">#define prjx2s_errmsg prj_errmsg</span></div>
+<div class="line"><a name="l00810"></a><span class="lineno"><a class="code" href="prj_8h.html#adf9cca0265038851129d1966017cd525">  810</a></span> <span class="preprocessor"></span><span class="preprocessor">#define prjs2x_errmsg prj_errmsg</span></div>
+<div class="line"><a name="l00811"></a><span class="lineno">  811</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00812"></a><span class="lineno">  812</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
+<div class="line"><a name="l00813"></a><span class="lineno">  813</span> <span class="preprocessor"></span>}</div>
+<div class="line"><a name="l00814"></a><span class="lineno">  814</span> <span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l00815"></a><span class="lineno">  815</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l00816"></a><span class="lineno">  816</span> <span class="preprocessor">#endif </span><span class="comment">/* WCSLIB_PROJ */</span><span class="preprocessor"></span></div>
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/software.html b/html/software.html
index 1ccafc3..6c0d66b 100644
--- a/html/software.html
+++ b/html/software.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: FITS-WCS and related software</title>
+<title>WCSLIB 4.21: FITS-WCS and related software</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -36,7 +36,7 @@
   </div>
 <div id="nav-path" class="navpath">
   <ul>
-<li class="navelem"><a class="el" href="index.html">WCSLIB 4.20 and PGSBOX 4.20</a></li>  </ul>
+<li class="navelem"><a class="el" href="index.html">WCSLIB 4.21 and PGSBOX 4.21</a></li>  </ul>
 </div>
 </div><!-- top -->
 <div class="header">
@@ -89,7 +89,7 @@
 </div></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/spc_8h.html b/html/spc_8h.html
index 05111b6..8b6fa72 100644
--- a/html/spc_8h.html
+++ b/html/spc_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: spc.h File Reference</title>
+<title>WCSLIB 4.21: spc.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -1302,7 +1302,7 @@ For an AIPS '<code><b>VELO</b></code>' axis, a radio convention velocity (VRAD)
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/spc_8h_source.html b/html/spc_8h_source.html
index a90dfe4..0a35a4f 100644
--- a/html/spc_8h_source.html
+++ b/html/spc_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: spc.h Source File</title>
+<title>WCSLIB 4.21: spc.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="spc_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,10 +74,10 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: spc.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: spc.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.20 - C routines that implement the spectral coordinate systems</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.21 - C routines that implement the spectral coordinate systems</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">* recognized by the FITS World Coordinate System (WCS) standard.  Refer to</span></div>
 <div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">*   "Representations of world coordinates in FITS",</span></div>
@@ -937,7 +937,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/sph_8h.html b/html/sph_8h.html
index 2b13b1e..0a91a86 100644
--- a/html/sph_8h.html
+++ b/html/sph_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: sph.h File Reference</title>
+<title>WCSLIB 4.21: sph.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -412,7 +412,7 @@ Functions</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/sph_8h_source.html b/html/sph_8h_source.html
index 890d1ba..4f06d70 100644
--- a/html/sph_8h_source.html
+++ b/html/sph_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: sph.h Source File</title>
+<title>WCSLIB 4.21: sph.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="sph_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,10 +74,10 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: sph.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: sph.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.20 - C routines that implement the spherical coordinate</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.21 - C routines that implement the spherical coordinate</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">* transformations used by the FITS World Coordinate System (WCS) standard.</span></div>
 <div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">* Refer to</span></div>
 <div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">*</span></div>
@@ -304,7 +304,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/spx_8h.html b/html/spx_8h.html
index 1cca888..ee719c3 100644
--- a/html/spx_8h.html
+++ b/html/spx_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: spx.h File Reference</title>
+<title>WCSLIB 4.21: spx.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -928,7 +928,7 @@ For returns > 1, a detailed error message is set in <a class="el" href="struc
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/spx_8h_source.html b/html/spx_8h_source.html
index c8f87bd..d023d35 100644
--- a/html/spx_8h_source.html
+++ b/html/spx_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: spx.h Source File</title>
+<title>WCSLIB 4.21: spx.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="spx_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,10 +74,10 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: spx.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: spx.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.20 - C routines that implement the spectral coordinate systems</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.21 - C routines that implement the spectral coordinate systems</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">* recognized by the FITS World Coordinate System (WCS) standard.  Refer to</span></div>
 <div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">*   "Representations of world coordinates in FITS",</span></div>
@@ -591,7 +591,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/structcelprm.html b/html/structcelprm.html
index d715a09..68a955c 100644
--- a/html/structcelprm.html
+++ b/html/structcelprm.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: celprm Struct Reference</title>
+<title>WCSLIB 4.21: celprm Struct Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -267,7 +267,7 @@ Data Fields</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/structfitskey.html b/html/structfitskey.html
index 31dc48d..cbc6661 100644
--- a/html/structfitskey.html
+++ b/html/structfitskey.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: fitskey Struct Reference</title>
+<title>WCSLIB 4.21: fitskey Struct Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -381,7 +381,7 @@ Continued strings are not reconstructed, they remain split over successive <b>fi
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/structfitskeyid.html b/html/structfitskeyid.html
index 887c89c..6a88af4 100644
--- a/html/structfitskeyid.html
+++ b/html/structfitskeyid.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: fitskeyid Struct Reference</title>
+<title>WCSLIB 4.21: fitskeyid Struct Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -110,7 +110,7 @@ Data Fields</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/structlinprm.html b/html/structlinprm.html
index e87fe31..3bccacf 100644
--- a/html/structlinprm.html
+++ b/html/structlinprm.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: linprm Struct Reference</title>
+<title>WCSLIB 4.21: linprm Struct Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -358,7 +358,7 @@ Data Fields</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/structprjprm.html b/html/structprjprm.html
index f7c0b37..22d636f 100644
--- a/html/structprjprm.html
+++ b/html/structprjprm.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: prjprm Struct Reference</title>
+<title>WCSLIB 4.21: prjprm Struct Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -210,7 +210,7 @@ Data Fields</h2></td></tr>
         </tr>
       </table>
 </div><div class="memdoc">
-<p>(<em>Given</em>) Controls strict bounds checking. If bounds&1 then enable bounds checking for the sky-to-pixel (s2x) transformation for the <code><b>AZP</b></code>, <code><b>SZP</b></code>, <code><b>TAN</b></code>, <code><b>SIN</b></code>, <code><b>ZPN</b></code>, and <code><b>COP</b></code> projections. If bounds&2 then enable bounds checking for the pixel-to-sky transformation for the <code><b>HPX</b></code> and XPH projections. Set to 3 by <a class="el" href="prj_8h.html#ad [...]
+<p>(<em>Given</em>) Controls bounds checking. If bounds&1 then enable strict bounds checking for the spherical-to-Cartesian (s2x) transformation for the <code><b>AZP</b></code>, <code><b>SZP</b></code>, <code><b>TAN</b></code>, <code><b>SIN</b></code>, <code><b>ZPN</b></code>, and <code><b>COP</b></code> projections. If bounds&2 then enable strict bounds checking for the Cartesian-to-spherical transformation (x2s) for the <code><b>HPX</b></code> and XPH projections. If bounds&amp [...]
 <p>The remaining members of the <b>prjprm</b> struct are maintained by the setup routines and must not be modified elsewhere: </p>
 
 </div>
@@ -469,7 +469,7 @@ HEALPIX. </li>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/structpscard.html b/html/structpscard.html
index 0598ca8..154be37 100644
--- a/html/structpscard.html
+++ b/html/structpscard.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: pscard Struct Reference</title>
+<title>WCSLIB 4.21: pscard Struct Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -109,7 +109,7 @@ Data Fields</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/structpvcard.html b/html/structpvcard.html
index 93e94b1..b82eb1a 100644
--- a/html/structpvcard.html
+++ b/html/structpvcard.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: pvcard Struct Reference</title>
+<title>WCSLIB 4.21: pvcard Struct Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -109,7 +109,7 @@ Data Fields</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/structs.html b/html/structs.html
index 4189164..14a7885 100644
--- a/html/structs.html
+++ b/html/structs.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: WCSLIB data structures</title>
+<title>WCSLIB 4.21: WCSLIB data structures</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -36,7 +36,7 @@
   </div>
 <div id="nav-path" class="navpath">
   <ul>
-<li class="navelem"><a class="el" href="index.html">WCSLIB 4.20 and PGSBOX 4.20</a></li>  </ul>
+<li class="navelem"><a class="el" href="index.html">WCSLIB 4.21 and PGSBOX 4.21</a></li>  </ul>
 </div>
 </div><!-- top -->
 <div class="header">
@@ -58,7 +58,7 @@
 </div></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/structspcprm.html b/html/structspcprm.html
index bf0909e..527a3cc 100644
--- a/html/structspcprm.html
+++ b/html/structspcprm.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: spcprm Struct Reference</title>
+<title>WCSLIB 4.21: spcprm Struct Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -352,7 +352,7 @@ Data Fields</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/structspxprm.html b/html/structspxprm.html
index 472c630..1628d31 100644
--- a/html/structspxprm.html
+++ b/html/structspxprm.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: spxprm Struct Reference</title>
+<title>WCSLIB 4.21: spxprm Struct Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -711,7 +711,7 @@ Data Fields</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/structtabprm.html b/html/structtabprm.html
index 811cd94..01ab9bc 100644
--- a/html/structtabprm.html
+++ b/html/structtabprm.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: tabprm Struct Reference</title>
+<title>WCSLIB 4.21: tabprm Struct Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -452,7 +452,7 @@ Data Fields</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/structwcserr.html b/html/structwcserr.html
index cba28f7..77c1c5d 100644
--- a/html/structwcserr.html
+++ b/html/structwcserr.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcserr Struct Reference</title>
+<title>WCSLIB 4.21: wcserr Struct Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -138,7 +138,7 @@ Data Fields</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/structwcsprm.html b/html/structwcsprm.html
index 1c19deb..a386ab9 100644
--- a/html/structwcsprm.html
+++ b/html/structwcsprm.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcsprm Struct Reference</title>
+<title>WCSLIB 4.21: wcsprm Struct Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -1394,7 +1394,7 @@ For lookup tables: the axis number in a multidimensional table. </li>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/structwtbarr.html b/html/structwtbarr.html
index 20d6d64..65e70dc 100644
--- a/html/structwtbarr.html
+++ b/html/structwtbarr.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wtbarr Struct Reference</title>
+<title>WCSLIB 4.21: wtbarr Struct Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -235,7 +235,7 @@ i: index vector. </li>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/tab_8h.html b/html/tab_8h.html
index 5b626d7..8c6a3bc 100644
--- a/html/tab_8h.html
+++ b/html/tab_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: tab.h File Reference</title>
+<title>WCSLIB 4.21: tab.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -663,7 +663,7 @@ For returns > 1, a detailed error message is set in <a class="el" href="struc
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/tab_8h_source.html b/html/tab_8h_source.html
index 1d2d47c..6b97744 100644
--- a/html/tab_8h_source.html
+++ b/html/tab_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: tab.h Source File</title>
+<title>WCSLIB 4.21: tab.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="tab_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,10 +74,10 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: tab.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: tab.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.20 - C routines that implement tabular coordinate systems as</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.21 - C routines that implement tabular coordinate systems as</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">* defined by the FITS World Coordinate System (WCS) standard.  Refer to</span></div>
 <div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">*   "Representations of world coordinates in FITS",</span></div>
@@ -633,7 +633,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/testing.html b/html/testing.html
index 799f195..f04cf83 100644
--- a/html/testing.html
+++ b/html/testing.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Example code, testing and verification</title>
+<title>WCSLIB 4.21: Example code, testing and verification</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -36,7 +36,7 @@
   </div>
 <div id="nav-path" class="navpath">
   <ul>
-<li class="navelem"><a class="el" href="index.html">WCSLIB 4.20 and PGSBOX 4.20</a></li>  </ul>
+<li class="navelem"><a class="el" href="index.html">WCSLIB 4.21 and PGSBOX 4.21</a></li>  </ul>
 </div>
 </div><!-- top -->
 <div class="header">
@@ -75,7 +75,7 @@
 </div></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/threads.html b/html/threads.html
index 734cfc7..4733b23 100644
--- a/html/threads.html
+++ b/html/threads.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Thread-safety</title>
+<title>WCSLIB 4.21: Thread-safety</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -36,7 +36,7 @@
   </div>
 <div id="nav-path" class="navpath">
   <ul>
-<li class="navelem"><a class="el" href="index.html">WCSLIB 4.20 and PGSBOX 4.20</a></li>  </ul>
+<li class="navelem"><a class="el" href="index.html">WCSLIB 4.21 and PGSBOX 4.21</a></li>  </ul>
 </div>
 </div><!-- top -->
 <div class="header">
@@ -44,7 +44,7 @@
 <div class="title">Thread-safety </div>  </div>
 </div><!--header-->
 <div class="contents">
-<div class="textblock"><p>With the following exceptions WCSLIB 4.20 is thread-safe:</p>
+<div class="textblock"><p>With the following exceptions WCSLIB 4.21 is thread-safe:</p>
 <ul>
 <li>The C code generated by Flex is not re-entrant. Flex does have the capacity for producing re-entrant scanners but they have a different API. This may be handled by a compile-time option in future but in the meantime calls to the header parsers should be serialized via a mutex.</li>
 <li>The low-level functions <a class="el" href="wcs_8h.html#a42b2578d76ace7ca6114d82b7ae46a89" title="Memory allocation for PVi_ma. ">wcsnpv()</a> and <a class="el" href="wcs_8h.html#ae790c9ce6c9b7a4845cf1c3c97b1e97a" title="Memory allocation for PSi_ma. ">wcsnps()</a> are not thread-safe but within the library itself they are only used by the Flex scanners <a class="el" href="wcshdr_8h.html#ac75623ee805ab7d43b0bba684c719a60" title="FITS WCS parser routine for image headers. ">wcspih()</ [...]
@@ -54,7 +54,7 @@
 </div></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/vector.html b/html/vector.html
index 49441fc..c6cf40a 100644
--- a/html/vector.html
+++ b/html/vector.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: Vector API</title>
+<title>WCSLIB 4.21: Vector API</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -36,7 +36,7 @@
   </div>
 <div id="nav-path" class="navpath">
   <ul>
-<li class="navelem"><a class="el" href="index.html">WCSLIB 4.20 and PGSBOX 4.20</a></li>  </ul>
+<li class="navelem"><a class="el" href="index.html">WCSLIB 4.21 and PGSBOX 4.21</a></li>  </ul>
 </div>
 </div><!-- top -->
 <div class="header">
@@ -107,7 +107,7 @@ Vector strides</h1>
 </div></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcs_8h.html b/html/wcs_8h.html
index 7571bf4..a69d17b 100644
--- a/html/wcs_8h.html
+++ b/html/wcs_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcs.h File Reference</title>
+<title>WCSLIB 4.21: wcs.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -181,7 +181,7 @@ Functions</h2></td></tr>
 <tr class="memdesc:a8fe5dcd9927240dc0348b850ee662367"><td class="mdescLeft"> </td><td class="mdescRight">Print error messages from a wcsprm struct.  <a href="#a8fe5dcd9927240dc0348b850ee662367">More...</a><br/></td></tr>
 <tr class="separator:a8fe5dcd9927240dc0348b850ee662367"><td class="memSeparator" colspan="2"> </td></tr>
 <tr class="memitem:af226d8537fbc578d63f1ba5601078398"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="wcs_8h.html#af226d8537fbc578d63f1ba5601078398">wcsbchk</a> (struct <a class="el" href="structwcsprm.html">wcsprm</a> *wcs, int bounds)</td></tr>
-<tr class="memdesc:af226d8537fbc578d63f1ba5601078398"><td class="mdescLeft"> </td><td class="mdescRight">Enable/disable strict bounds checking.  <a href="#af226d8537fbc578d63f1ba5601078398">More...</a><br/></td></tr>
+<tr class="memdesc:af226d8537fbc578d63f1ba5601078398"><td class="mdescLeft"> </td><td class="mdescRight">Enable/disable bounds checking.  <a href="#af226d8537fbc578d63f1ba5601078398">More...</a><br/></td></tr>
 <tr class="separator:af226d8537fbc578d63f1ba5601078398"><td class="memSeparator" colspan="2"> </td></tr>
 <tr class="memitem:ae5cc3f5d249755583403cdf54d2ebb91"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="wcs_8h.html#ae5cc3f5d249755583403cdf54d2ebb91">wcsset</a> (struct <a class="el" href="structwcsprm.html">wcsprm</a> *wcs)</td></tr>
 <tr class="memdesc:ae5cc3f5d249755583403cdf54d2ebb91"><td class="mdescLeft"> </td><td class="mdescRight">Setup routine for the wcsprm struct.  <a href="#ae5cc3f5d249755583403cdf54d2ebb91">More...</a><br/></td></tr>
@@ -822,12 +822,13 @@ For returns > 1, a detailed error message is set in <a class="el" href="struc
         </tr>
       </table>
 </div><div class="memdoc">
-<p><b>wcsbchk</b>() is used to control strict bounds checking in the projection routines. Note that <a class="el" href="wcs_8h.html#ae5cc3f5d249755583403cdf54d2ebb91" title="Setup routine for the wcsprm struct. ">wcsset()</a> always enables strict bounds checking. <b>wcsbchk</b>() will invoke <a class="el" href="wcs_8h.html#ae5cc3f5d249755583403cdf54d2ebb91" title="Setup routine for the wcsprm struct. ">wcsset()</a> on the wcsprm struct beforehand if necessary.</p>
+<p><b>wcsbchk</b>() is used to control bounds checking in the projection routines. Note that <a class="el" href="wcs_8h.html#ae5cc3f5d249755583403cdf54d2ebb91" title="Setup routine for the wcsprm struct. ">wcsset()</a> always enables bounds checking. <b>wcsbchk</b>() will invoke <a class="el" href="wcs_8h.html#ae5cc3f5d249755583403cdf54d2ebb91" title="Setup routine for the wcsprm struct. ">wcsset()</a> on the wcsprm struct beforehand if necessary.</p>
 <dl class="params"><dt>Parameters</dt><dd>
   <table class="params">
     <tr><td class="paramdir">[in,out]</td><td class="paramname">wcs</td><td>Coordinate transformation parameters.</td></tr>
-    <tr><td class="paramdir">[in]</td><td class="paramname">bounds</td><td>If bounds&1 then enable bounds checking for the sky-to-pixel (s2x) transformation for the AZP, SZP, TAN, <code><b>SIN</b></code>, ZPN, and COP projections. <br/>
- If bounds&2 then enable bounds checking for the pixel-to-sky transformation for the HPX and XPH projections. <br/>
+    <tr><td class="paramdir">[in]</td><td class="paramname">bounds</td><td>If bounds&1 then enable strict bounds checking for the spherical-to-Cartesian (s2x) transformation for the AZP, SZP, TAN, <code><b>SIN</b></code>, ZPN, and COP projections. <br/>
+ If bounds&2 then enable strict bounds checking for the Cartesian-to-spherical (x2s) transformation for the HPX and XPH projections. <br/>
+ If bounds&4 then enable bounds checking on the native coordinates returned by the Cartesian-to-spherical (x2s) transformations using prjchk(). <br/>
  Zero it to disable all checking.</td></tr>
   </table>
   </dd>
@@ -874,7 +875,7 @@ For returns > 1, a detailed error message is set in <a class="el" href="struc
 </ul>
 For returns > 1, a detailed error message is set in <a class="el" href="structwcsprm.html#af54ce939604be183231f0ee006e2f8ed">wcsprm::err</a> if enabled, see <a class="el" href="wcserr_8h.html#a1691b8bd184d40ca6fda255be078fa53" title="Enable/disable error messaging. ">wcserr_enable()</a>.</dd></dl>
 <p><b>Notes:</b> <br/>
- <b>wcsset</b>() always enables strict bounds checking in the projection routines (via a call to <a class="el" href="prj_8h.html#ad994cb23871c51b20754973bef180f8a" title="Default constructor for the prjprm struct. ">prjini()</a>). Use <a class="el" href="wcs_8h.html#af226d8537fbc578d63f1ba5601078398" title="Enable/disable strict bounds checking. ">wcsbchk()</a> to modify bounds-checking after <b>wcsset</b>() is invoked. </p>
+ <b>wcsset</b>() always enables strict bounds checking in the projection routines (via a call to <a class="el" href="prj_8h.html#ad994cb23871c51b20754973bef180f8a" title="Default constructor for the prjprm struct. ">prjini()</a>). Use <a class="el" href="wcs_8h.html#af226d8537fbc578d63f1ba5601078398" title="Enable/disable bounds checking. ">wcsbchk()</a> to modify bounds-checking after <b>wcsset</b>() is invoked. </p>
 
 </div>
 </div>
@@ -1260,7 +1261,7 @@ For returns > 1, a detailed error message is set in <a class="el" href="struc
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcs_8h_source.html b/html/wcs_8h_source.html
index d2b0082..4dc7dea 100644
--- a/html/wcs_8h_source.html
+++ b/html/wcs_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcs.h Source File</title>
+<title>WCSLIB 4.21: wcs.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="wcs_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,10 +74,10 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcs.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcs.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">* (WCS) standard.  Refer to</span></div>
 <div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">*   "Representations of world coordinates in FITS",</span></div>
@@ -425,1204 +425,1208 @@
 <div class="line"><a name="l00373"></a><span class="lineno">  373</span> <span class="comment">*                         1: Null wcsprm pointer passed.</span></div>
 <div class="line"><a name="l00374"></a><span class="lineno">  374</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00375"></a><span class="lineno">  375</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00376"></a><span class="lineno">  376</span> <span class="comment">* wcsbchk() - Enable/disable strict bounds checking</span></div>
-<div class="line"><a name="l00377"></a><span class="lineno">  377</span> <span class="comment">* -------------------------------------------------</span></div>
-<div class="line"><a name="l00378"></a><span class="lineno">  378</span> <span class="comment">* wcsbchk() is used to control strict bounds checking in the projection</span></div>
-<div class="line"><a name="l00379"></a><span class="lineno">  379</span> <span class="comment">* routines.  Note that wcsset() always enables strict bounds checking.</span></div>
-<div class="line"><a name="l00380"></a><span class="lineno">  380</span> <span class="comment">* wcsbchk() will invoke wcsset() on the wcsprm struct beforehand if necessary.</span></div>
+<div class="line"><a name="l00376"></a><span class="lineno">  376</span> <span class="comment">* wcsbchk() - Enable/disable bounds checking</span></div>
+<div class="line"><a name="l00377"></a><span class="lineno">  377</span> <span class="comment">* ------------------------------------------</span></div>
+<div class="line"><a name="l00378"></a><span class="lineno">  378</span> <span class="comment">* wcsbchk() is used to control bounds checking in the projection routines.</span></div>
+<div class="line"><a name="l00379"></a><span class="lineno">  379</span> <span class="comment">* Note that wcsset() always enables bounds checking.  wcsbchk() will invoke</span></div>
+<div class="line"><a name="l00380"></a><span class="lineno">  380</span> <span class="comment">* wcsset() on the wcsprm struct beforehand if necessary.</span></div>
 <div class="line"><a name="l00381"></a><span class="lineno">  381</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00382"></a><span class="lineno">  382</span> <span class="comment">* Given and returned:</span></div>
 <div class="line"><a name="l00383"></a><span class="lineno">  383</span> <span class="comment">*   wcs       struct wcsprm*</span></div>
 <div class="line"><a name="l00384"></a><span class="lineno">  384</span> <span class="comment">*                       Coordinate transformation parameters.</span></div>
 <div class="line"><a name="l00385"></a><span class="lineno">  385</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00386"></a><span class="lineno">  386</span> <span class="comment">* Given:</span></div>
-<div class="line"><a name="l00387"></a><span class="lineno">  387</span> <span class="comment">*   bounds    int       If bounds&1 then enable bounds checking for the</span></div>
-<div class="line"><a name="l00388"></a><span class="lineno">  388</span> <span class="comment">*                       sky-to-pixel (s2x) transformation for the AZP, SZP,</span></div>
-<div class="line"><a name="l00389"></a><span class="lineno">  389</span> <span class="comment">*                       TAN, SIN, ZPN, and COP projections.</span></div>
+<div class="line"><a name="l00387"></a><span class="lineno">  387</span> <span class="comment">*   bounds    int       If bounds&1 then enable strict bounds checking for the</span></div>
+<div class="line"><a name="l00388"></a><span class="lineno">  388</span> <span class="comment">*                       spherical-to-Cartesian (s2x) transformation for the</span></div>
+<div class="line"><a name="l00389"></a><span class="lineno">  389</span> <span class="comment">*                       AZP, SZP, TAN, SIN, ZPN, and COP projections.</span></div>
 <div class="line"><a name="l00390"></a><span class="lineno">  390</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00391"></a><span class="lineno">  391</span> <span class="comment">*                       If bounds&2 then enable bounds checking for the</span></div>
-<div class="line"><a name="l00392"></a><span class="lineno">  392</span> <span class="comment">*                       pixel-to-sky transformation for the HPX and XPH</span></div>
-<div class="line"><a name="l00393"></a><span class="lineno">  393</span> <span class="comment">*                       projections.</span></div>
+<div class="line"><a name="l00391"></a><span class="lineno">  391</span> <span class="comment">*                       If bounds&2 then enable strict bounds checking for the</span></div>
+<div class="line"><a name="l00392"></a><span class="lineno">  392</span> <span class="comment">*                       Cartesian-to-spherical (x2s) transformation for the</span></div>
+<div class="line"><a name="l00393"></a><span class="lineno">  393</span> <span class="comment">*                       HPX and XPH projections.</span></div>
 <div class="line"><a name="l00394"></a><span class="lineno">  394</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00395"></a><span class="lineno">  395</span> <span class="comment">*                       Zero it to disable all checking.</span></div>
-<div class="line"><a name="l00396"></a><span class="lineno">  396</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00397"></a><span class="lineno">  397</span> <span class="comment">* Function return value:</span></div>
-<div class="line"><a name="l00398"></a><span class="lineno">  398</span> <span class="comment">*             int       Status return value:</span></div>
-<div class="line"><a name="l00399"></a><span class="lineno">  399</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00400"></a><span class="lineno">  400</span> <span class="comment">*                         1: Null wcsprm pointer passed.</span></div>
-<div class="line"><a name="l00401"></a><span class="lineno">  401</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00402"></a><span class="lineno">  402</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00403"></a><span class="lineno">  403</span> <span class="comment">* wcsset() - Setup routine for the wcsprm struct</span></div>
-<div class="line"><a name="l00404"></a><span class="lineno">  404</span> <span class="comment">* ----------------------------------------------</span></div>
-<div class="line"><a name="l00405"></a><span class="lineno">  405</span> <span class="comment">* wcsset() sets up a wcsprm struct according to information supplied within</span></div>
-<div class="line"><a name="l00406"></a><span class="lineno">  406</span> <span class="comment">* it (refer to the description of the wcsprm struct).</span></div>
-<div class="line"><a name="l00407"></a><span class="lineno">  407</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00408"></a><span class="lineno">  408</span> <span class="comment">* wcsset() recognizes the NCP projection and converts it to the equivalent SIN</span></div>
-<div class="line"><a name="l00409"></a><span class="lineno">  409</span> <span class="comment">* projection and likewise translates GLS into SFL.  It also translates the</span></div>
-<div class="line"><a name="l00410"></a><span class="lineno">  410</span> <span class="comment">* AIPS spectral types ('FREQ-LSR', 'FELO-HEL', etc.), possibly changing the</span></div>
-<div class="line"><a name="l00411"></a><span class="lineno">  411</span> <span class="comment">* input header keywords wcsprm::ctype and/or wcsprm::specsys if necessary.</span></div>
-<div class="line"><a name="l00412"></a><span class="lineno">  412</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00413"></a><span class="lineno">  413</span> <span class="comment">* Note that this routine need not be called directly; it will be invoked by</span></div>
-<div class="line"><a name="l00414"></a><span class="lineno">  414</span> <span class="comment">* wcsp2s() and wcss2p() if the wcsprm::flag is anything other than a</span></div>
-<div class="line"><a name="l00415"></a><span class="lineno">  415</span> <span class="comment">* predefined magic value.</span></div>
+<div class="line"><a name="l00395"></a><span class="lineno">  395</span> <span class="comment">*                       If bounds&4 then enable bounds checking on the native</span></div>
+<div class="line"><a name="l00396"></a><span class="lineno">  396</span> <span class="comment">*                       coordinates returned by the Cartesian-to-spherical</span></div>
+<div class="line"><a name="l00397"></a><span class="lineno">  397</span> <span class="comment">*                       (x2s) transformations using prjchk().</span></div>
+<div class="line"><a name="l00398"></a><span class="lineno">  398</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00399"></a><span class="lineno">  399</span> <span class="comment">*                       Zero it to disable all checking.</span></div>
+<div class="line"><a name="l00400"></a><span class="lineno">  400</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00401"></a><span class="lineno">  401</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00402"></a><span class="lineno">  402</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00403"></a><span class="lineno">  403</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00404"></a><span class="lineno">  404</span> <span class="comment">*                         1: Null wcsprm pointer passed.</span></div>
+<div class="line"><a name="l00405"></a><span class="lineno">  405</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00406"></a><span class="lineno">  406</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00407"></a><span class="lineno">  407</span> <span class="comment">* wcsset() - Setup routine for the wcsprm struct</span></div>
+<div class="line"><a name="l00408"></a><span class="lineno">  408</span> <span class="comment">* ----------------------------------------------</span></div>
+<div class="line"><a name="l00409"></a><span class="lineno">  409</span> <span class="comment">* wcsset() sets up a wcsprm struct according to information supplied within</span></div>
+<div class="line"><a name="l00410"></a><span class="lineno">  410</span> <span class="comment">* it (refer to the description of the wcsprm struct).</span></div>
+<div class="line"><a name="l00411"></a><span class="lineno">  411</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00412"></a><span class="lineno">  412</span> <span class="comment">* wcsset() recognizes the NCP projection and converts it to the equivalent SIN</span></div>
+<div class="line"><a name="l00413"></a><span class="lineno">  413</span> <span class="comment">* projection and likewise translates GLS into SFL.  It also translates the</span></div>
+<div class="line"><a name="l00414"></a><span class="lineno">  414</span> <span class="comment">* AIPS spectral types ('FREQ-LSR', 'FELO-HEL', etc.), possibly changing the</span></div>
+<div class="line"><a name="l00415"></a><span class="lineno">  415</span> <span class="comment">* input header keywords wcsprm::ctype and/or wcsprm::specsys if necessary.</span></div>
 <div class="line"><a name="l00416"></a><span class="lineno">  416</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00417"></a><span class="lineno">  417</span> <span class="comment">* Given and returned:</span></div>
-<div class="line"><a name="l00418"></a><span class="lineno">  418</span> <span class="comment">*   wcs       struct wcsprm*</span></div>
-<div class="line"><a name="l00419"></a><span class="lineno">  419</span> <span class="comment">*                       Coordinate transformation parameters.</span></div>
+<div class="line"><a name="l00417"></a><span class="lineno">  417</span> <span class="comment">* Note that this routine need not be called directly; it will be invoked by</span></div>
+<div class="line"><a name="l00418"></a><span class="lineno">  418</span> <span class="comment">* wcsp2s() and wcss2p() if the wcsprm::flag is anything other than a</span></div>
+<div class="line"><a name="l00419"></a><span class="lineno">  419</span> <span class="comment">* predefined magic value.</span></div>
 <div class="line"><a name="l00420"></a><span class="lineno">  420</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00421"></a><span class="lineno">  421</span> <span class="comment">* Function return value:</span></div>
-<div class="line"><a name="l00422"></a><span class="lineno">  422</span> <span class="comment">*             int       Status return value:</span></div>
-<div class="line"><a name="l00423"></a><span class="lineno">  423</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00424"></a><span class="lineno">  424</span> <span class="comment">*                         1: Null wcsprm pointer passed.</span></div>
-<div class="line"><a name="l00425"></a><span class="lineno">  425</span> <span class="comment">*                         2: Memory allocation failed.</span></div>
-<div class="line"><a name="l00426"></a><span class="lineno">  426</span> <span class="comment">*                         3: Linear transformation matrix is singular.</span></div>
-<div class="line"><a name="l00427"></a><span class="lineno">  427</span> <span class="comment">*                         4: Inconsistent or unrecognized coordinate axis</span></div>
-<div class="line"><a name="l00428"></a><span class="lineno">  428</span> <span class="comment">*                            types.</span></div>
-<div class="line"><a name="l00429"></a><span class="lineno">  429</span> <span class="comment">*                         5: Invalid parameter value.</span></div>
-<div class="line"><a name="l00430"></a><span class="lineno">  430</span> <span class="comment">*                         6: Invalid coordinate transformation parameters.</span></div>
-<div class="line"><a name="l00431"></a><span class="lineno">  431</span> <span class="comment">*                         7: Ill-conditioned coordinate transformation</span></div>
-<div class="line"><a name="l00432"></a><span class="lineno">  432</span> <span class="comment">*                            parameters.</span></div>
-<div class="line"><a name="l00433"></a><span class="lineno">  433</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00434"></a><span class="lineno">  434</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
-<div class="line"><a name="l00435"></a><span class="lineno">  435</span> <span class="comment">*                       wcsprm::err if enabled, see wcserr_enable().</span></div>
-<div class="line"><a name="l00436"></a><span class="lineno">  436</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00437"></a><span class="lineno">  437</span> <span class="comment">* Notes:</span></div>
-<div class="line"><a name="l00438"></a><span class="lineno">  438</span> <span class="comment">*   wcsset() always enables strict bounds checking in the projection routines</span></div>
-<div class="line"><a name="l00439"></a><span class="lineno">  439</span> <span class="comment">*   (via a call to prjini()).  Use wcsbchk() to modify bounds-checking after</span></div>
-<div class="line"><a name="l00440"></a><span class="lineno">  440</span> <span class="comment">*   wcsset() is invoked.</span></div>
-<div class="line"><a name="l00441"></a><span class="lineno">  441</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00442"></a><span class="lineno">  442</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00443"></a><span class="lineno">  443</span> <span class="comment">* wcsp2s() - Pixel-to-world transformation</span></div>
-<div class="line"><a name="l00444"></a><span class="lineno">  444</span> <span class="comment">* ----------------------------------------</span></div>
-<div class="line"><a name="l00445"></a><span class="lineno">  445</span> <span class="comment">* wcsp2s() transforms pixel coordinates to world coordinates.</span></div>
+<div class="line"><a name="l00421"></a><span class="lineno">  421</span> <span class="comment">* Given and returned:</span></div>
+<div class="line"><a name="l00422"></a><span class="lineno">  422</span> <span class="comment">*   wcs       struct wcsprm*</span></div>
+<div class="line"><a name="l00423"></a><span class="lineno">  423</span> <span class="comment">*                       Coordinate transformation parameters.</span></div>
+<div class="line"><a name="l00424"></a><span class="lineno">  424</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00425"></a><span class="lineno">  425</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00426"></a><span class="lineno">  426</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00427"></a><span class="lineno">  427</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00428"></a><span class="lineno">  428</span> <span class="comment">*                         1: Null wcsprm pointer passed.</span></div>
+<div class="line"><a name="l00429"></a><span class="lineno">  429</span> <span class="comment">*                         2: Memory allocation failed.</span></div>
+<div class="line"><a name="l00430"></a><span class="lineno">  430</span> <span class="comment">*                         3: Linear transformation matrix is singular.</span></div>
+<div class="line"><a name="l00431"></a><span class="lineno">  431</span> <span class="comment">*                         4: Inconsistent or unrecognized coordinate axis</span></div>
+<div class="line"><a name="l00432"></a><span class="lineno">  432</span> <span class="comment">*                            types.</span></div>
+<div class="line"><a name="l00433"></a><span class="lineno">  433</span> <span class="comment">*                         5: Invalid parameter value.</span></div>
+<div class="line"><a name="l00434"></a><span class="lineno">  434</span> <span class="comment">*                         6: Invalid coordinate transformation parameters.</span></div>
+<div class="line"><a name="l00435"></a><span class="lineno">  435</span> <span class="comment">*                         7: Ill-conditioned coordinate transformation</span></div>
+<div class="line"><a name="l00436"></a><span class="lineno">  436</span> <span class="comment">*                            parameters.</span></div>
+<div class="line"><a name="l00437"></a><span class="lineno">  437</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00438"></a><span class="lineno">  438</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
+<div class="line"><a name="l00439"></a><span class="lineno">  439</span> <span class="comment">*                       wcsprm::err if enabled, see wcserr_enable().</span></div>
+<div class="line"><a name="l00440"></a><span class="lineno">  440</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00441"></a><span class="lineno">  441</span> <span class="comment">* Notes:</span></div>
+<div class="line"><a name="l00442"></a><span class="lineno">  442</span> <span class="comment">*   wcsset() always enables strict bounds checking in the projection routines</span></div>
+<div class="line"><a name="l00443"></a><span class="lineno">  443</span> <span class="comment">*   (via a call to prjini()).  Use wcsbchk() to modify bounds-checking after</span></div>
+<div class="line"><a name="l00444"></a><span class="lineno">  444</span> <span class="comment">*   wcsset() is invoked.</span></div>
+<div class="line"><a name="l00445"></a><span class="lineno">  445</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00446"></a><span class="lineno">  446</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00447"></a><span class="lineno">  447</span> <span class="comment">* Given and returned:</span></div>
-<div class="line"><a name="l00448"></a><span class="lineno">  448</span> <span class="comment">*   wcs       struct wcsprm*</span></div>
-<div class="line"><a name="l00449"></a><span class="lineno">  449</span> <span class="comment">*                       Coordinate transformation parameters.</span></div>
+<div class="line"><a name="l00447"></a><span class="lineno">  447</span> <span class="comment">* wcsp2s() - Pixel-to-world transformation</span></div>
+<div class="line"><a name="l00448"></a><span class="lineno">  448</span> <span class="comment">* ----------------------------------------</span></div>
+<div class="line"><a name="l00449"></a><span class="lineno">  449</span> <span class="comment">* wcsp2s() transforms pixel coordinates to world coordinates.</span></div>
 <div class="line"><a name="l00450"></a><span class="lineno">  450</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00451"></a><span class="lineno">  451</span> <span class="comment">* Given:</span></div>
-<div class="line"><a name="l00452"></a><span class="lineno">  452</span> <span class="comment">*   ncoord,</span></div>
-<div class="line"><a name="l00453"></a><span class="lineno">  453</span> <span class="comment">*   nelem     int       The number of coordinates, each of vector length</span></div>
-<div class="line"><a name="l00454"></a><span class="lineno">  454</span> <span class="comment">*                       nelem but containing wcs.naxis coordinate elements.</span></div>
-<div class="line"><a name="l00455"></a><span class="lineno">  455</span> <span class="comment">*                       Thus nelem must equal or exceed the value of the</span></div>
-<div class="line"><a name="l00456"></a><span class="lineno">  456</span> <span class="comment">*                       NAXIS keyword unless ncoord == 1, in which case nelem</span></div>
-<div class="line"><a name="l00457"></a><span class="lineno">  457</span> <span class="comment">*                       is not used.</span></div>
-<div class="line"><a name="l00458"></a><span class="lineno">  458</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00459"></a><span class="lineno">  459</span> <span class="comment">*   pixcrd    const double[ncoord][nelem]</span></div>
-<div class="line"><a name="l00460"></a><span class="lineno">  460</span> <span class="comment">*                       Array of pixel coordinates.</span></div>
-<div class="line"><a name="l00461"></a><span class="lineno">  461</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00462"></a><span class="lineno">  462</span> <span class="comment">* Returned:</span></div>
-<div class="line"><a name="l00463"></a><span class="lineno">  463</span> <span class="comment">*   imgcrd    double[ncoord][nelem]</span></div>
-<div class="line"><a name="l00464"></a><span class="lineno">  464</span> <span class="comment">*                       Array of intermediate world coordinates.  For</span></div>
-<div class="line"><a name="l00465"></a><span class="lineno">  465</span> <span class="comment">*                       celestial axes, imgcrd[][wcs.lng] and</span></div>
-<div class="line"><a name="l00466"></a><span class="lineno">  466</span> <span class="comment">*                       imgcrd[][wcs.lat] are the projected x-, and</span></div>
-<div class="line"><a name="l00467"></a><span class="lineno">  467</span> <span class="comment">*                       y-coordinates in pseudo "degrees".  For spectral</span></div>
-<div class="line"><a name="l00468"></a><span class="lineno">  468</span> <span class="comment">*                       axes, imgcrd[][wcs.spec] is the intermediate spectral</span></div>
-<div class="line"><a name="l00469"></a><span class="lineno">  469</span> <span class="comment">*                       coordinate, in SI units.</span></div>
-<div class="line"><a name="l00470"></a><span class="lineno">  470</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00471"></a><span class="lineno">  471</span> <span class="comment">*   phi,theta double[ncoord]</span></div>
-<div class="line"><a name="l00472"></a><span class="lineno">  472</span> <span class="comment">*                       Longitude and latitude in the native coordinate system</span></div>
-<div class="line"><a name="l00473"></a><span class="lineno">  473</span> <span class="comment">*                       of the projection [deg].</span></div>
+<div class="line"><a name="l00451"></a><span class="lineno">  451</span> <span class="comment">* Given and returned:</span></div>
+<div class="line"><a name="l00452"></a><span class="lineno">  452</span> <span class="comment">*   wcs       struct wcsprm*</span></div>
+<div class="line"><a name="l00453"></a><span class="lineno">  453</span> <span class="comment">*                       Coordinate transformation parameters.</span></div>
+<div class="line"><a name="l00454"></a><span class="lineno">  454</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00455"></a><span class="lineno">  455</span> <span class="comment">* Given:</span></div>
+<div class="line"><a name="l00456"></a><span class="lineno">  456</span> <span class="comment">*   ncoord,</span></div>
+<div class="line"><a name="l00457"></a><span class="lineno">  457</span> <span class="comment">*   nelem     int       The number of coordinates, each of vector length</span></div>
+<div class="line"><a name="l00458"></a><span class="lineno">  458</span> <span class="comment">*                       nelem but containing wcs.naxis coordinate elements.</span></div>
+<div class="line"><a name="l00459"></a><span class="lineno">  459</span> <span class="comment">*                       Thus nelem must equal or exceed the value of the</span></div>
+<div class="line"><a name="l00460"></a><span class="lineno">  460</span> <span class="comment">*                       NAXIS keyword unless ncoord == 1, in which case nelem</span></div>
+<div class="line"><a name="l00461"></a><span class="lineno">  461</span> <span class="comment">*                       is not used.</span></div>
+<div class="line"><a name="l00462"></a><span class="lineno">  462</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00463"></a><span class="lineno">  463</span> <span class="comment">*   pixcrd    const double[ncoord][nelem]</span></div>
+<div class="line"><a name="l00464"></a><span class="lineno">  464</span> <span class="comment">*                       Array of pixel coordinates.</span></div>
+<div class="line"><a name="l00465"></a><span class="lineno">  465</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00466"></a><span class="lineno">  466</span> <span class="comment">* Returned:</span></div>
+<div class="line"><a name="l00467"></a><span class="lineno">  467</span> <span class="comment">*   imgcrd    double[ncoord][nelem]</span></div>
+<div class="line"><a name="l00468"></a><span class="lineno">  468</span> <span class="comment">*                       Array of intermediate world coordinates.  For</span></div>
+<div class="line"><a name="l00469"></a><span class="lineno">  469</span> <span class="comment">*                       celestial axes, imgcrd[][wcs.lng] and</span></div>
+<div class="line"><a name="l00470"></a><span class="lineno">  470</span> <span class="comment">*                       imgcrd[][wcs.lat] are the projected x-, and</span></div>
+<div class="line"><a name="l00471"></a><span class="lineno">  471</span> <span class="comment">*                       y-coordinates in pseudo "degrees".  For spectral</span></div>
+<div class="line"><a name="l00472"></a><span class="lineno">  472</span> <span class="comment">*                       axes, imgcrd[][wcs.spec] is the intermediate spectral</span></div>
+<div class="line"><a name="l00473"></a><span class="lineno">  473</span> <span class="comment">*                       coordinate, in SI units.</span></div>
 <div class="line"><a name="l00474"></a><span class="lineno">  474</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00475"></a><span class="lineno">  475</span> <span class="comment">*   world     double[ncoord][nelem]</span></div>
-<div class="line"><a name="l00476"></a><span class="lineno">  476</span> <span class="comment">*                       Array of world coordinates.  For celestial axes,</span></div>
-<div class="line"><a name="l00477"></a><span class="lineno">  477</span> <span class="comment">*                       world[][wcs.lng] and world[][wcs.lat] are the</span></div>
-<div class="line"><a name="l00478"></a><span class="lineno">  478</span> <span class="comment">*                       celestial longitude and latitude [deg].  For</span></div>
-<div class="line"><a name="l00479"></a><span class="lineno">  479</span> <span class="comment">*                       spectral axes, imgcrd[][wcs.spec] is the intermediate</span></div>
-<div class="line"><a name="l00480"></a><span class="lineno">  480</span> <span class="comment">*                       spectral coordinate, in SI units.</span></div>
-<div class="line"><a name="l00481"></a><span class="lineno">  481</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00482"></a><span class="lineno">  482</span> <span class="comment">*   stat      int[ncoord]</span></div>
-<div class="line"><a name="l00483"></a><span class="lineno">  483</span> <span class="comment">*                       Status return value for each coordinate:</span></div>
-<div class="line"><a name="l00484"></a><span class="lineno">  484</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00485"></a><span class="lineno">  485</span> <span class="comment">*                         1+: A bit mask indicating invalid pixel coordinate</span></div>
-<div class="line"><a name="l00486"></a><span class="lineno">  486</span> <span class="comment">*                            element(s).</span></div>
-<div class="line"><a name="l00487"></a><span class="lineno">  487</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00488"></a><span class="lineno">  488</span> <span class="comment">* Function return value:</span></div>
-<div class="line"><a name="l00489"></a><span class="lineno">  489</span> <span class="comment">*             int       Status return value:</span></div>
-<div class="line"><a name="l00490"></a><span class="lineno">  490</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00491"></a><span class="lineno">  491</span> <span class="comment">*                         1: Null wcsprm pointer passed.</span></div>
-<div class="line"><a name="l00492"></a><span class="lineno">  492</span> <span class="comment">*                         2: Memory allocation failed.</span></div>
-<div class="line"><a name="l00493"></a><span class="lineno">  493</span> <span class="comment">*                         3: Linear transformation matrix is singular.</span></div>
-<div class="line"><a name="l00494"></a><span class="lineno">  494</span> <span class="comment">*                         4: Inconsistent or unrecognized coordinate axis</span></div>
-<div class="line"><a name="l00495"></a><span class="lineno">  495</span> <span class="comment">*                            types.</span></div>
-<div class="line"><a name="l00496"></a><span class="lineno">  496</span> <span class="comment">*                         5: Invalid parameter value.</span></div>
-<div class="line"><a name="l00497"></a><span class="lineno">  497</span> <span class="comment">*                         6: Invalid coordinate transformation parameters.</span></div>
-<div class="line"><a name="l00498"></a><span class="lineno">  498</span> <span class="comment">*                         7: Ill-conditioned coordinate transformation</span></div>
-<div class="line"><a name="l00499"></a><span class="lineno">  499</span> <span class="comment">*                            parameters.</span></div>
-<div class="line"><a name="l00500"></a><span class="lineno">  500</span> <span class="comment">*                         8: One or more of the pixel coordinates were</span></div>
-<div class="line"><a name="l00501"></a><span class="lineno">  501</span> <span class="comment">*                            invalid, as indicated by the stat vector.</span></div>
-<div class="line"><a name="l00502"></a><span class="lineno">  502</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00503"></a><span class="lineno">  503</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
-<div class="line"><a name="l00504"></a><span class="lineno">  504</span> <span class="comment">*                       wcsprm::err if enabled, see wcserr_enable().</span></div>
-<div class="line"><a name="l00505"></a><span class="lineno">  505</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00475"></a><span class="lineno">  475</span> <span class="comment">*   phi,theta double[ncoord]</span></div>
+<div class="line"><a name="l00476"></a><span class="lineno">  476</span> <span class="comment">*                       Longitude and latitude in the native coordinate system</span></div>
+<div class="line"><a name="l00477"></a><span class="lineno">  477</span> <span class="comment">*                       of the projection [deg].</span></div>
+<div class="line"><a name="l00478"></a><span class="lineno">  478</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00479"></a><span class="lineno">  479</span> <span class="comment">*   world     double[ncoord][nelem]</span></div>
+<div class="line"><a name="l00480"></a><span class="lineno">  480</span> <span class="comment">*                       Array of world coordinates.  For celestial axes,</span></div>
+<div class="line"><a name="l00481"></a><span class="lineno">  481</span> <span class="comment">*                       world[][wcs.lng] and world[][wcs.lat] are the</span></div>
+<div class="line"><a name="l00482"></a><span class="lineno">  482</span> <span class="comment">*                       celestial longitude and latitude [deg].  For</span></div>
+<div class="line"><a name="l00483"></a><span class="lineno">  483</span> <span class="comment">*                       spectral axes, imgcrd[][wcs.spec] is the intermediate</span></div>
+<div class="line"><a name="l00484"></a><span class="lineno">  484</span> <span class="comment">*                       spectral coordinate, in SI units.</span></div>
+<div class="line"><a name="l00485"></a><span class="lineno">  485</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00486"></a><span class="lineno">  486</span> <span class="comment">*   stat      int[ncoord]</span></div>
+<div class="line"><a name="l00487"></a><span class="lineno">  487</span> <span class="comment">*                       Status return value for each coordinate:</span></div>
+<div class="line"><a name="l00488"></a><span class="lineno">  488</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00489"></a><span class="lineno">  489</span> <span class="comment">*                         1+: A bit mask indicating invalid pixel coordinate</span></div>
+<div class="line"><a name="l00490"></a><span class="lineno">  490</span> <span class="comment">*                            element(s).</span></div>
+<div class="line"><a name="l00491"></a><span class="lineno">  491</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00492"></a><span class="lineno">  492</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00493"></a><span class="lineno">  493</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00494"></a><span class="lineno">  494</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00495"></a><span class="lineno">  495</span> <span class="comment">*                         1: Null wcsprm pointer passed.</span></div>
+<div class="line"><a name="l00496"></a><span class="lineno">  496</span> <span class="comment">*                         2: Memory allocation failed.</span></div>
+<div class="line"><a name="l00497"></a><span class="lineno">  497</span> <span class="comment">*                         3: Linear transformation matrix is singular.</span></div>
+<div class="line"><a name="l00498"></a><span class="lineno">  498</span> <span class="comment">*                         4: Inconsistent or unrecognized coordinate axis</span></div>
+<div class="line"><a name="l00499"></a><span class="lineno">  499</span> <span class="comment">*                            types.</span></div>
+<div class="line"><a name="l00500"></a><span class="lineno">  500</span> <span class="comment">*                         5: Invalid parameter value.</span></div>
+<div class="line"><a name="l00501"></a><span class="lineno">  501</span> <span class="comment">*                         6: Invalid coordinate transformation parameters.</span></div>
+<div class="line"><a name="l00502"></a><span class="lineno">  502</span> <span class="comment">*                         7: Ill-conditioned coordinate transformation</span></div>
+<div class="line"><a name="l00503"></a><span class="lineno">  503</span> <span class="comment">*                            parameters.</span></div>
+<div class="line"><a name="l00504"></a><span class="lineno">  504</span> <span class="comment">*                         8: One or more of the pixel coordinates were</span></div>
+<div class="line"><a name="l00505"></a><span class="lineno">  505</span> <span class="comment">*                            invalid, as indicated by the stat vector.</span></div>
 <div class="line"><a name="l00506"></a><span class="lineno">  506</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00507"></a><span class="lineno">  507</span> <span class="comment">* wcss2p() - World-to-pixel transformation</span></div>
-<div class="line"><a name="l00508"></a><span class="lineno">  508</span> <span class="comment">* ----------------------------------------</span></div>
-<div class="line"><a name="l00509"></a><span class="lineno">  509</span> <span class="comment">* wcss2p() transforms world coordinates to pixel coordinates.</span></div>
+<div class="line"><a name="l00507"></a><span class="lineno">  507</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
+<div class="line"><a name="l00508"></a><span class="lineno">  508</span> <span class="comment">*                       wcsprm::err if enabled, see wcserr_enable().</span></div>
+<div class="line"><a name="l00509"></a><span class="lineno">  509</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00510"></a><span class="lineno">  510</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00511"></a><span class="lineno">  511</span> <span class="comment">* Given and returned:</span></div>
-<div class="line"><a name="l00512"></a><span class="lineno">  512</span> <span class="comment">*   wcs       struct wcsprm*</span></div>
-<div class="line"><a name="l00513"></a><span class="lineno">  513</span> <span class="comment">*                       Coordinate transformation parameters.</span></div>
+<div class="line"><a name="l00511"></a><span class="lineno">  511</span> <span class="comment">* wcss2p() - World-to-pixel transformation</span></div>
+<div class="line"><a name="l00512"></a><span class="lineno">  512</span> <span class="comment">* ----------------------------------------</span></div>
+<div class="line"><a name="l00513"></a><span class="lineno">  513</span> <span class="comment">* wcss2p() transforms world coordinates to pixel coordinates.</span></div>
 <div class="line"><a name="l00514"></a><span class="lineno">  514</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00515"></a><span class="lineno">  515</span> <span class="comment">* Given:</span></div>
-<div class="line"><a name="l00516"></a><span class="lineno">  516</span> <span class="comment">*   ncoord,</span></div>
-<div class="line"><a name="l00517"></a><span class="lineno">  517</span> <span class="comment">*   nelem     int       The number of coordinates, each of vector length nelem</span></div>
-<div class="line"><a name="l00518"></a><span class="lineno">  518</span> <span class="comment">*                       but containing wcs.naxis coordinate elements.  Thus</span></div>
-<div class="line"><a name="l00519"></a><span class="lineno">  519</span> <span class="comment">*                       nelem must equal or exceed the value of the NAXIS</span></div>
-<div class="line"><a name="l00520"></a><span class="lineno">  520</span> <span class="comment">*                       keyword unless ncoord == 1, in which case nelem is not</span></div>
-<div class="line"><a name="l00521"></a><span class="lineno">  521</span> <span class="comment">*                       used.</span></div>
-<div class="line"><a name="l00522"></a><span class="lineno">  522</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00523"></a><span class="lineno">  523</span> <span class="comment">*   world     const double[ncoord][nelem]</span></div>
-<div class="line"><a name="l00524"></a><span class="lineno">  524</span> <span class="comment">*                       Array of world coordinates.  For celestial axes,</span></div>
-<div class="line"><a name="l00525"></a><span class="lineno">  525</span> <span class="comment">*                       world[][wcs.lng] and world[][wcs.lat] are the</span></div>
-<div class="line"><a name="l00526"></a><span class="lineno">  526</span> <span class="comment">*                       celestial longitude and latitude [deg]. For spectral</span></div>
-<div class="line"><a name="l00527"></a><span class="lineno">  527</span> <span class="comment">*                       axes, world[][wcs.spec] is the spectral coordinate, in</span></div>
-<div class="line"><a name="l00528"></a><span class="lineno">  528</span> <span class="comment">*                       SI units.</span></div>
-<div class="line"><a name="l00529"></a><span class="lineno">  529</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00530"></a><span class="lineno">  530</span> <span class="comment">* Returned:</span></div>
-<div class="line"><a name="l00531"></a><span class="lineno">  531</span> <span class="comment">*   phi,theta double[ncoord]</span></div>
-<div class="line"><a name="l00532"></a><span class="lineno">  532</span> <span class="comment">*                       Longitude and latitude in the native coordinate</span></div>
-<div class="line"><a name="l00533"></a><span class="lineno">  533</span> <span class="comment">*                       system of the projection [deg].</span></div>
-<div class="line"><a name="l00534"></a><span class="lineno">  534</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00535"></a><span class="lineno">  535</span> <span class="comment">*   imgcrd    double[ncoord][nelem]</span></div>
-<div class="line"><a name="l00536"></a><span class="lineno">  536</span> <span class="comment">*                       Array of intermediate world coordinates.  For</span></div>
-<div class="line"><a name="l00537"></a><span class="lineno">  537</span> <span class="comment">*                       celestial axes, imgcrd[][wcs.lng] and</span></div>
-<div class="line"><a name="l00538"></a><span class="lineno">  538</span> <span class="comment">*                       imgcrd[][wcs.lat] are the projected x-, and</span></div>
-<div class="line"><a name="l00539"></a><span class="lineno">  539</span> <span class="comment">*                       y-coordinates in pseudo "degrees".  For quadcube</span></div>
-<div class="line"><a name="l00540"></a><span class="lineno">  540</span> <span class="comment">*                       projections with a CUBEFACE axis the face number is</span></div>
-<div class="line"><a name="l00541"></a><span class="lineno">  541</span> <span class="comment">*                       also returned in imgcrd[][wcs.cubeface].  For</span></div>
-<div class="line"><a name="l00542"></a><span class="lineno">  542</span> <span class="comment">*                       spectral axes, imgcrd[][wcs.spec] is the intermediate</span></div>
-<div class="line"><a name="l00543"></a><span class="lineno">  543</span> <span class="comment">*                       spectral coordinate, in SI units.</span></div>
-<div class="line"><a name="l00544"></a><span class="lineno">  544</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00545"></a><span class="lineno">  545</span> <span class="comment">*   pixcrd    double[ncoord][nelem]</span></div>
-<div class="line"><a name="l00546"></a><span class="lineno">  546</span> <span class="comment">*                       Array of pixel coordinates.</span></div>
-<div class="line"><a name="l00547"></a><span class="lineno">  547</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00548"></a><span class="lineno">  548</span> <span class="comment">*   stat      int[ncoord]</span></div>
-<div class="line"><a name="l00549"></a><span class="lineno">  549</span> <span class="comment">*                       Status return value for each coordinate:</span></div>
-<div class="line"><a name="l00550"></a><span class="lineno">  550</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00551"></a><span class="lineno">  551</span> <span class="comment">*                         1+: A bit mask indicating invalid world coordinate</span></div>
-<div class="line"><a name="l00552"></a><span class="lineno">  552</span> <span class="comment">*                            element(s).</span></div>
-<div class="line"><a name="l00553"></a><span class="lineno">  553</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00554"></a><span class="lineno">  554</span> <span class="comment">* Function return value:</span></div>
-<div class="line"><a name="l00555"></a><span class="lineno">  555</span> <span class="comment">*             int       Status return value:</span></div>
-<div class="line"><a name="l00556"></a><span class="lineno">  556</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00557"></a><span class="lineno">  557</span> <span class="comment">*                         1: Null wcsprm pointer passed.</span></div>
-<div class="line"><a name="l00558"></a><span class="lineno">  558</span> <span class="comment">*                         2: Memory allocation failed.</span></div>
-<div class="line"><a name="l00559"></a><span class="lineno">  559</span> <span class="comment">*                         3: Linear transformation matrix is singular.</span></div>
-<div class="line"><a name="l00560"></a><span class="lineno">  560</span> <span class="comment">*                         4: Inconsistent or unrecognized coordinate axis</span></div>
-<div class="line"><a name="l00561"></a><span class="lineno">  561</span> <span class="comment">*                            types.</span></div>
-<div class="line"><a name="l00562"></a><span class="lineno">  562</span> <span class="comment">*                         5: Invalid parameter value.</span></div>
-<div class="line"><a name="l00563"></a><span class="lineno">  563</span> <span class="comment">*                         6: Invalid coordinate transformation parameters.</span></div>
-<div class="line"><a name="l00564"></a><span class="lineno">  564</span> <span class="comment">*                         7: Ill-conditioned coordinate transformation</span></div>
-<div class="line"><a name="l00565"></a><span class="lineno">  565</span> <span class="comment">*                            parameters.</span></div>
-<div class="line"><a name="l00566"></a><span class="lineno">  566</span> <span class="comment">*                         9: One or more of the world coordinates were</span></div>
-<div class="line"><a name="l00567"></a><span class="lineno">  567</span> <span class="comment">*                            invalid, as indicated by the stat vector.</span></div>
-<div class="line"><a name="l00568"></a><span class="lineno">  568</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00569"></a><span class="lineno">  569</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
-<div class="line"><a name="l00570"></a><span class="lineno">  570</span> <span class="comment">*                       wcsprm::err if enabled, see wcserr_enable().</span></div>
-<div class="line"><a name="l00571"></a><span class="lineno">  571</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00515"></a><span class="lineno">  515</span> <span class="comment">* Given and returned:</span></div>
+<div class="line"><a name="l00516"></a><span class="lineno">  516</span> <span class="comment">*   wcs       struct wcsprm*</span></div>
+<div class="line"><a name="l00517"></a><span class="lineno">  517</span> <span class="comment">*                       Coordinate transformation parameters.</span></div>
+<div class="line"><a name="l00518"></a><span class="lineno">  518</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00519"></a><span class="lineno">  519</span> <span class="comment">* Given:</span></div>
+<div class="line"><a name="l00520"></a><span class="lineno">  520</span> <span class="comment">*   ncoord,</span></div>
+<div class="line"><a name="l00521"></a><span class="lineno">  521</span> <span class="comment">*   nelem     int       The number of coordinates, each of vector length nelem</span></div>
+<div class="line"><a name="l00522"></a><span class="lineno">  522</span> <span class="comment">*                       but containing wcs.naxis coordinate elements.  Thus</span></div>
+<div class="line"><a name="l00523"></a><span class="lineno">  523</span> <span class="comment">*                       nelem must equal or exceed the value of the NAXIS</span></div>
+<div class="line"><a name="l00524"></a><span class="lineno">  524</span> <span class="comment">*                       keyword unless ncoord == 1, in which case nelem is not</span></div>
+<div class="line"><a name="l00525"></a><span class="lineno">  525</span> <span class="comment">*                       used.</span></div>
+<div class="line"><a name="l00526"></a><span class="lineno">  526</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00527"></a><span class="lineno">  527</span> <span class="comment">*   world     const double[ncoord][nelem]</span></div>
+<div class="line"><a name="l00528"></a><span class="lineno">  528</span> <span class="comment">*                       Array of world coordinates.  For celestial axes,</span></div>
+<div class="line"><a name="l00529"></a><span class="lineno">  529</span> <span class="comment">*                       world[][wcs.lng] and world[][wcs.lat] are the</span></div>
+<div class="line"><a name="l00530"></a><span class="lineno">  530</span> <span class="comment">*                       celestial longitude and latitude [deg]. For spectral</span></div>
+<div class="line"><a name="l00531"></a><span class="lineno">  531</span> <span class="comment">*                       axes, world[][wcs.spec] is the spectral coordinate, in</span></div>
+<div class="line"><a name="l00532"></a><span class="lineno">  532</span> <span class="comment">*                       SI units.</span></div>
+<div class="line"><a name="l00533"></a><span class="lineno">  533</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00534"></a><span class="lineno">  534</span> <span class="comment">* Returned:</span></div>
+<div class="line"><a name="l00535"></a><span class="lineno">  535</span> <span class="comment">*   phi,theta double[ncoord]</span></div>
+<div class="line"><a name="l00536"></a><span class="lineno">  536</span> <span class="comment">*                       Longitude and latitude in the native coordinate</span></div>
+<div class="line"><a name="l00537"></a><span class="lineno">  537</span> <span class="comment">*                       system of the projection [deg].</span></div>
+<div class="line"><a name="l00538"></a><span class="lineno">  538</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00539"></a><span class="lineno">  539</span> <span class="comment">*   imgcrd    double[ncoord][nelem]</span></div>
+<div class="line"><a name="l00540"></a><span class="lineno">  540</span> <span class="comment">*                       Array of intermediate world coordinates.  For</span></div>
+<div class="line"><a name="l00541"></a><span class="lineno">  541</span> <span class="comment">*                       celestial axes, imgcrd[][wcs.lng] and</span></div>
+<div class="line"><a name="l00542"></a><span class="lineno">  542</span> <span class="comment">*                       imgcrd[][wcs.lat] are the projected x-, and</span></div>
+<div class="line"><a name="l00543"></a><span class="lineno">  543</span> <span class="comment">*                       y-coordinates in pseudo "degrees".  For quadcube</span></div>
+<div class="line"><a name="l00544"></a><span class="lineno">  544</span> <span class="comment">*                       projections with a CUBEFACE axis the face number is</span></div>
+<div class="line"><a name="l00545"></a><span class="lineno">  545</span> <span class="comment">*                       also returned in imgcrd[][wcs.cubeface].  For</span></div>
+<div class="line"><a name="l00546"></a><span class="lineno">  546</span> <span class="comment">*                       spectral axes, imgcrd[][wcs.spec] is the intermediate</span></div>
+<div class="line"><a name="l00547"></a><span class="lineno">  547</span> <span class="comment">*                       spectral coordinate, in SI units.</span></div>
+<div class="line"><a name="l00548"></a><span class="lineno">  548</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00549"></a><span class="lineno">  549</span> <span class="comment">*   pixcrd    double[ncoord][nelem]</span></div>
+<div class="line"><a name="l00550"></a><span class="lineno">  550</span> <span class="comment">*                       Array of pixel coordinates.</span></div>
+<div class="line"><a name="l00551"></a><span class="lineno">  551</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00552"></a><span class="lineno">  552</span> <span class="comment">*   stat      int[ncoord]</span></div>
+<div class="line"><a name="l00553"></a><span class="lineno">  553</span> <span class="comment">*                       Status return value for each coordinate:</span></div>
+<div class="line"><a name="l00554"></a><span class="lineno">  554</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00555"></a><span class="lineno">  555</span> <span class="comment">*                         1+: A bit mask indicating invalid world coordinate</span></div>
+<div class="line"><a name="l00556"></a><span class="lineno">  556</span> <span class="comment">*                            element(s).</span></div>
+<div class="line"><a name="l00557"></a><span class="lineno">  557</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00558"></a><span class="lineno">  558</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00559"></a><span class="lineno">  559</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00560"></a><span class="lineno">  560</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00561"></a><span class="lineno">  561</span> <span class="comment">*                         1: Null wcsprm pointer passed.</span></div>
+<div class="line"><a name="l00562"></a><span class="lineno">  562</span> <span class="comment">*                         2: Memory allocation failed.</span></div>
+<div class="line"><a name="l00563"></a><span class="lineno">  563</span> <span class="comment">*                         3: Linear transformation matrix is singular.</span></div>
+<div class="line"><a name="l00564"></a><span class="lineno">  564</span> <span class="comment">*                         4: Inconsistent or unrecognized coordinate axis</span></div>
+<div class="line"><a name="l00565"></a><span class="lineno">  565</span> <span class="comment">*                            types.</span></div>
+<div class="line"><a name="l00566"></a><span class="lineno">  566</span> <span class="comment">*                         5: Invalid parameter value.</span></div>
+<div class="line"><a name="l00567"></a><span class="lineno">  567</span> <span class="comment">*                         6: Invalid coordinate transformation parameters.</span></div>
+<div class="line"><a name="l00568"></a><span class="lineno">  568</span> <span class="comment">*                         7: Ill-conditioned coordinate transformation</span></div>
+<div class="line"><a name="l00569"></a><span class="lineno">  569</span> <span class="comment">*                            parameters.</span></div>
+<div class="line"><a name="l00570"></a><span class="lineno">  570</span> <span class="comment">*                         9: One or more of the world coordinates were</span></div>
+<div class="line"><a name="l00571"></a><span class="lineno">  571</span> <span class="comment">*                            invalid, as indicated by the stat vector.</span></div>
 <div class="line"><a name="l00572"></a><span class="lineno">  572</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00573"></a><span class="lineno">  573</span> <span class="comment">* wcsmix() - Hybrid coordinate transformation</span></div>
-<div class="line"><a name="l00574"></a><span class="lineno">  574</span> <span class="comment">* -------------------------------------------</span></div>
-<div class="line"><a name="l00575"></a><span class="lineno">  575</span> <span class="comment">* wcsmix(), given either the celestial longitude or latitude plus an element</span></div>
-<div class="line"><a name="l00576"></a><span class="lineno">  576</span> <span class="comment">* of the pixel coordinate, solves for the remaining elements by iterating on</span></div>
-<div class="line"><a name="l00577"></a><span class="lineno">  577</span> <span class="comment">* the unknown celestial coordinate element using wcss2p().  Refer also to the</span></div>
-<div class="line"><a name="l00578"></a><span class="lineno">  578</span> <span class="comment">* notes below.</span></div>
-<div class="line"><a name="l00579"></a><span class="lineno">  579</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00580"></a><span class="lineno">  580</span> <span class="comment">* Given and returned:</span></div>
-<div class="line"><a name="l00581"></a><span class="lineno">  581</span> <span class="comment">*   wcs       struct wcsprm*</span></div>
-<div class="line"><a name="l00582"></a><span class="lineno">  582</span> <span class="comment">*                       Indices for the celestial coordinates obtained</span></div>
-<div class="line"><a name="l00583"></a><span class="lineno">  583</span> <span class="comment">*                       by parsing the wcsprm::ctype[].</span></div>
-<div class="line"><a name="l00584"></a><span class="lineno">  584</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00585"></a><span class="lineno">  585</span> <span class="comment">* Given:</span></div>
-<div class="line"><a name="l00586"></a><span class="lineno">  586</span> <span class="comment">*   mixpix    int       Which element of the pixel coordinate is given.</span></div>
-<div class="line"><a name="l00587"></a><span class="lineno">  587</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00588"></a><span class="lineno">  588</span> <span class="comment">*   mixcel    int       Which element of the celestial coordinate is given:</span></div>
-<div class="line"><a name="l00589"></a><span class="lineno">  589</span> <span class="comment">*                         1: Celestial longitude is given in</span></div>
-<div class="line"><a name="l00590"></a><span class="lineno">  590</span> <span class="comment">*                            world[wcs.lng], latitude returned in</span></div>
-<div class="line"><a name="l00591"></a><span class="lineno">  591</span> <span class="comment">*                            world[wcs.lat].</span></div>
-<div class="line"><a name="l00592"></a><span class="lineno">  592</span> <span class="comment">*                         2: Celestial latitude is given in</span></div>
-<div class="line"><a name="l00593"></a><span class="lineno">  593</span> <span class="comment">*                            world[wcs.lat], longitude returned in</span></div>
-<div class="line"><a name="l00594"></a><span class="lineno">  594</span> <span class="comment">*                            world[wcs.lng].</span></div>
-<div class="line"><a name="l00595"></a><span class="lineno">  595</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00596"></a><span class="lineno">  596</span> <span class="comment">*   vspan     const double[2]</span></div>
-<div class="line"><a name="l00597"></a><span class="lineno">  597</span> <span class="comment">*                       Solution interval for the celestial coordinate [deg].</span></div>
-<div class="line"><a name="l00598"></a><span class="lineno">  598</span> <span class="comment">*                       The ordering of the two limits is irrelevant.</span></div>
-<div class="line"><a name="l00599"></a><span class="lineno">  599</span> <span class="comment">*                       Longitude ranges may be specified with any convenient</span></div>
-<div class="line"><a name="l00600"></a><span class="lineno">  600</span> <span class="comment">*                       normalization, for example [-120,+120] is the same as</span></div>
-<div class="line"><a name="l00601"></a><span class="lineno">  601</span> <span class="comment">*                       [240,480], except that the solution will be returned</span></div>
-<div class="line"><a name="l00602"></a><span class="lineno">  602</span> <span class="comment">*                       with the same normalization, i.e. lie within the</span></div>
-<div class="line"><a name="l00603"></a><span class="lineno">  603</span> <span class="comment">*                       interval specified.</span></div>
-<div class="line"><a name="l00604"></a><span class="lineno">  604</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00605"></a><span class="lineno">  605</span> <span class="comment">*   vstep     const double</span></div>
-<div class="line"><a name="l00606"></a><span class="lineno">  606</span> <span class="comment">*                       Step size for solution search [deg].  If zero, a</span></div>
-<div class="line"><a name="l00607"></a><span class="lineno">  607</span> <span class="comment">*                       sensible, although perhaps non-optimal default will be</span></div>
-<div class="line"><a name="l00608"></a><span class="lineno">  608</span> <span class="comment">*                       used.</span></div>
-<div class="line"><a name="l00609"></a><span class="lineno">  609</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00610"></a><span class="lineno">  610</span> <span class="comment">*   viter     int       If a solution is not found then the step size will be</span></div>
-<div class="line"><a name="l00611"></a><span class="lineno">  611</span> <span class="comment">*                       halved and the search recommenced.  viter controls how</span></div>
-<div class="line"><a name="l00612"></a><span class="lineno">  612</span> <span class="comment">*                       many times the step size is halved.  The allowed range</span></div>
-<div class="line"><a name="l00613"></a><span class="lineno">  613</span> <span class="comment">*                       is 5 - 10.</span></div>
-<div class="line"><a name="l00614"></a><span class="lineno">  614</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00615"></a><span class="lineno">  615</span> <span class="comment">* Given and returned:</span></div>
-<div class="line"><a name="l00616"></a><span class="lineno">  616</span> <span class="comment">*   world     double[naxis]</span></div>
-<div class="line"><a name="l00617"></a><span class="lineno">  617</span> <span class="comment">*                       World coordinate elements.  world[wcs.lng] and</span></div>
-<div class="line"><a name="l00618"></a><span class="lineno">  618</span> <span class="comment">*                       world[wcs.lat] are the celestial longitude and</span></div>
-<div class="line"><a name="l00619"></a><span class="lineno">  619</span> <span class="comment">*                       latitude [deg].  Which is given and which returned</span></div>
-<div class="line"><a name="l00620"></a><span class="lineno">  620</span> <span class="comment">*                       depends on the value of mixcel.  All other elements</span></div>
-<div class="line"><a name="l00621"></a><span class="lineno">  621</span> <span class="comment">*                       are given.</span></div>
-<div class="line"><a name="l00622"></a><span class="lineno">  622</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00623"></a><span class="lineno">  623</span> <span class="comment">* Returned:</span></div>
-<div class="line"><a name="l00624"></a><span class="lineno">  624</span> <span class="comment">*   phi,theta double[naxis]</span></div>
-<div class="line"><a name="l00625"></a><span class="lineno">  625</span> <span class="comment">*                       Longitude and latitude in the native coordinate</span></div>
-<div class="line"><a name="l00626"></a><span class="lineno">  626</span> <span class="comment">*                       system of the projection [deg].</span></div>
-<div class="line"><a name="l00627"></a><span class="lineno">  627</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00628"></a><span class="lineno">  628</span> <span class="comment">*   imgcrd    double[naxis]</span></div>
-<div class="line"><a name="l00629"></a><span class="lineno">  629</span> <span class="comment">*                       Image coordinate elements.  imgcrd[wcs.lng] and</span></div>
-<div class="line"><a name="l00630"></a><span class="lineno">  630</span> <span class="comment">*                       imgcrd[wcs.lat] are the projected x-, and</span></div>
-<div class="line"><a name="l00631"></a><span class="lineno">  631</span> <span class="comment">*                       y-coordinates in pseudo "degrees".</span></div>
-<div class="line"><a name="l00632"></a><span class="lineno">  632</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00633"></a><span class="lineno">  633</span> <span class="comment">* Given and returned:</span></div>
-<div class="line"><a name="l00634"></a><span class="lineno">  634</span> <span class="comment">*   pixcrd    double[naxis]</span></div>
-<div class="line"><a name="l00635"></a><span class="lineno">  635</span> <span class="comment">*                       Pixel coordinate.  The element indicated by mixpix is</span></div>
-<div class="line"><a name="l00636"></a><span class="lineno">  636</span> <span class="comment">*                       given and the remaining elements are returned.</span></div>
-<div class="line"><a name="l00637"></a><span class="lineno">  637</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00638"></a><span class="lineno">  638</span> <span class="comment">* Function return value:</span></div>
-<div class="line"><a name="l00639"></a><span class="lineno">  639</span> <span class="comment">*             int       Status return value:</span></div>
-<div class="line"><a name="l00640"></a><span class="lineno">  640</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00641"></a><span class="lineno">  641</span> <span class="comment">*                         1: Null wcsprm pointer passed.</span></div>
-<div class="line"><a name="l00642"></a><span class="lineno">  642</span> <span class="comment">*                         2: Memory allocation failed.</span></div>
-<div class="line"><a name="l00643"></a><span class="lineno">  643</span> <span class="comment">*                         3: Linear transformation matrix is singular.</span></div>
-<div class="line"><a name="l00644"></a><span class="lineno">  644</span> <span class="comment">*                         4: Inconsistent or unrecognized coordinate axis</span></div>
-<div class="line"><a name="l00645"></a><span class="lineno">  645</span> <span class="comment">*                            types.</span></div>
-<div class="line"><a name="l00646"></a><span class="lineno">  646</span> <span class="comment">*                         5: Invalid parameter value.</span></div>
-<div class="line"><a name="l00647"></a><span class="lineno">  647</span> <span class="comment">*                         6: Invalid coordinate transformation parameters.</span></div>
-<div class="line"><a name="l00648"></a><span class="lineno">  648</span> <span class="comment">*                         7: Ill-conditioned coordinate transformation</span></div>
-<div class="line"><a name="l00649"></a><span class="lineno">  649</span> <span class="comment">*                            parameters.</span></div>
-<div class="line"><a name="l00650"></a><span class="lineno">  650</span> <span class="comment">*                        10: Invalid world coordinate.</span></div>
-<div class="line"><a name="l00651"></a><span class="lineno">  651</span> <span class="comment">*                        11: No solution found in the specified interval.</span></div>
-<div class="line"><a name="l00652"></a><span class="lineno">  652</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00653"></a><span class="lineno">  653</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
-<div class="line"><a name="l00654"></a><span class="lineno">  654</span> <span class="comment">*                       wcsprm::err if enabled, see wcserr_enable().</span></div>
-<div class="line"><a name="l00655"></a><span class="lineno">  655</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00656"></a><span class="lineno">  656</span> <span class="comment">* Notes:</span></div>
-<div class="line"><a name="l00657"></a><span class="lineno">  657</span> <span class="comment">*   Initially the specified solution interval is checked to see if it's a</span></div>
-<div class="line"><a name="l00658"></a><span class="lineno">  658</span> <span class="comment">*   "crossing" interval.  If it isn't, a search is made for a crossing</span></div>
-<div class="line"><a name="l00659"></a><span class="lineno">  659</span> <span class="comment">*   solution by iterating on the unknown celestial coordinate starting at the</span></div>
-<div class="line"><a name="l00660"></a><span class="lineno">  660</span> <span class="comment">*   upper limit of the solution interval and decrementing by the specified</span></div>
-<div class="line"><a name="l00661"></a><span class="lineno">  661</span> <span class="comment">*   step size.  A crossing is indicated if the trial value of the pixel</span></div>
-<div class="line"><a name="l00662"></a><span class="lineno">  662</span> <span class="comment">*   coordinate steps through the value specified.  If a crossing interval is</span></div>
-<div class="line"><a name="l00663"></a><span class="lineno">  663</span> <span class="comment">*   found then the solution is determined by a modified form of "regula falsi"</span></div>
-<div class="line"><a name="l00664"></a><span class="lineno">  664</span> <span class="comment">*   division of the crossing interval.  If no crossing interval was found</span></div>
-<div class="line"><a name="l00665"></a><span class="lineno">  665</span> <span class="comment">*   within the specified solution interval then a search is made for a</span></div>
-<div class="line"><a name="l00666"></a><span class="lineno">  666</span> <span class="comment">*   "non-crossing" solution as may arise from a point of tangency.  The</span></div>
-<div class="line"><a name="l00667"></a><span class="lineno">  667</span> <span class="comment">*   process is complicated by having to make allowance for the discontinuities</span></div>
-<div class="line"><a name="l00668"></a><span class="lineno">  668</span> <span class="comment">*   that occur in all map projections.</span></div>
-<div class="line"><a name="l00669"></a><span class="lineno">  669</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00670"></a><span class="lineno">  670</span> <span class="comment">*   Once one solution has been determined others may be found by subsequent</span></div>
-<div class="line"><a name="l00671"></a><span class="lineno">  671</span> <span class="comment">*   invokations of wcsmix() with suitably restricted solution intervals.</span></div>
-<div class="line"><a name="l00672"></a><span class="lineno">  672</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00673"></a><span class="lineno">  673</span> <span class="comment">*   Note the circumstance that arises when the solution point lies at a native</span></div>
-<div class="line"><a name="l00674"></a><span class="lineno">  674</span> <span class="comment">*   pole of a projection in which the pole is represented as a finite curve,</span></div>
-<div class="line"><a name="l00675"></a><span class="lineno">  675</span> <span class="comment">*   for example the zenithals and conics.  In such cases two or more valid</span></div>
-<div class="line"><a name="l00676"></a><span class="lineno">  676</span> <span class="comment">*   solutions may exist but wcsmix() only ever returns one.</span></div>
-<div class="line"><a name="l00677"></a><span class="lineno">  677</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00678"></a><span class="lineno">  678</span> <span class="comment">*   Because of its generality wcsmix() is very compute-intensive.  For</span></div>
-<div class="line"><a name="l00679"></a><span class="lineno">  679</span> <span class="comment">*   compute-limited applications more efficient special-case solvers could be</span></div>
-<div class="line"><a name="l00680"></a><span class="lineno">  680</span> <span class="comment">*   written for simple projections, for example non-oblique cylindrical</span></div>
-<div class="line"><a name="l00681"></a><span class="lineno">  681</span> <span class="comment">*   projections.</span></div>
-<div class="line"><a name="l00682"></a><span class="lineno">  682</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00683"></a><span class="lineno">  683</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00684"></a><span class="lineno">  684</span> <span class="comment">* wcssptr() - Spectral axis translation</span></div>
-<div class="line"><a name="l00685"></a><span class="lineno">  685</span> <span class="comment">* -------------------------------------</span></div>
-<div class="line"><a name="l00686"></a><span class="lineno">  686</span> <span class="comment">* wcssptr() translates the spectral axis in a wcsprm struct.  For example, a</span></div>
-<div class="line"><a name="l00687"></a><span class="lineno">  687</span> <span class="comment">* 'FREQ' axis may be translated into 'ZOPT-F2W' and vice versa.</span></div>
-<div class="line"><a name="l00688"></a><span class="lineno">  688</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00689"></a><span class="lineno">  689</span> <span class="comment">* Given and returned:</span></div>
-<div class="line"><a name="l00690"></a><span class="lineno">  690</span> <span class="comment">*   wcs       struct wcsprm*</span></div>
-<div class="line"><a name="l00691"></a><span class="lineno">  691</span> <span class="comment">*                       Coordinate transformation parameters.</span></div>
+<div class="line"><a name="l00573"></a><span class="lineno">  573</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
+<div class="line"><a name="l00574"></a><span class="lineno">  574</span> <span class="comment">*                       wcsprm::err if enabled, see wcserr_enable().</span></div>
+<div class="line"><a name="l00575"></a><span class="lineno">  575</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00576"></a><span class="lineno">  576</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00577"></a><span class="lineno">  577</span> <span class="comment">* wcsmix() - Hybrid coordinate transformation</span></div>
+<div class="line"><a name="l00578"></a><span class="lineno">  578</span> <span class="comment">* -------------------------------------------</span></div>
+<div class="line"><a name="l00579"></a><span class="lineno">  579</span> <span class="comment">* wcsmix(), given either the celestial longitude or latitude plus an element</span></div>
+<div class="line"><a name="l00580"></a><span class="lineno">  580</span> <span class="comment">* of the pixel coordinate, solves for the remaining elements by iterating on</span></div>
+<div class="line"><a name="l00581"></a><span class="lineno">  581</span> <span class="comment">* the unknown celestial coordinate element using wcss2p().  Refer also to the</span></div>
+<div class="line"><a name="l00582"></a><span class="lineno">  582</span> <span class="comment">* notes below.</span></div>
+<div class="line"><a name="l00583"></a><span class="lineno">  583</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00584"></a><span class="lineno">  584</span> <span class="comment">* Given and returned:</span></div>
+<div class="line"><a name="l00585"></a><span class="lineno">  585</span> <span class="comment">*   wcs       struct wcsprm*</span></div>
+<div class="line"><a name="l00586"></a><span class="lineno">  586</span> <span class="comment">*                       Indices for the celestial coordinates obtained</span></div>
+<div class="line"><a name="l00587"></a><span class="lineno">  587</span> <span class="comment">*                       by parsing the wcsprm::ctype[].</span></div>
+<div class="line"><a name="l00588"></a><span class="lineno">  588</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00589"></a><span class="lineno">  589</span> <span class="comment">* Given:</span></div>
+<div class="line"><a name="l00590"></a><span class="lineno">  590</span> <span class="comment">*   mixpix    int       Which element of the pixel coordinate is given.</span></div>
+<div class="line"><a name="l00591"></a><span class="lineno">  591</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00592"></a><span class="lineno">  592</span> <span class="comment">*   mixcel    int       Which element of the celestial coordinate is given:</span></div>
+<div class="line"><a name="l00593"></a><span class="lineno">  593</span> <span class="comment">*                         1: Celestial longitude is given in</span></div>
+<div class="line"><a name="l00594"></a><span class="lineno">  594</span> <span class="comment">*                            world[wcs.lng], latitude returned in</span></div>
+<div class="line"><a name="l00595"></a><span class="lineno">  595</span> <span class="comment">*                            world[wcs.lat].</span></div>
+<div class="line"><a name="l00596"></a><span class="lineno">  596</span> <span class="comment">*                         2: Celestial latitude is given in</span></div>
+<div class="line"><a name="l00597"></a><span class="lineno">  597</span> <span class="comment">*                            world[wcs.lat], longitude returned in</span></div>
+<div class="line"><a name="l00598"></a><span class="lineno">  598</span> <span class="comment">*                            world[wcs.lng].</span></div>
+<div class="line"><a name="l00599"></a><span class="lineno">  599</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00600"></a><span class="lineno">  600</span> <span class="comment">*   vspan     const double[2]</span></div>
+<div class="line"><a name="l00601"></a><span class="lineno">  601</span> <span class="comment">*                       Solution interval for the celestial coordinate [deg].</span></div>
+<div class="line"><a name="l00602"></a><span class="lineno">  602</span> <span class="comment">*                       The ordering of the two limits is irrelevant.</span></div>
+<div class="line"><a name="l00603"></a><span class="lineno">  603</span> <span class="comment">*                       Longitude ranges may be specified with any convenient</span></div>
+<div class="line"><a name="l00604"></a><span class="lineno">  604</span> <span class="comment">*                       normalization, for example [-120,+120] is the same as</span></div>
+<div class="line"><a name="l00605"></a><span class="lineno">  605</span> <span class="comment">*                       [240,480], except that the solution will be returned</span></div>
+<div class="line"><a name="l00606"></a><span class="lineno">  606</span> <span class="comment">*                       with the same normalization, i.e. lie within the</span></div>
+<div class="line"><a name="l00607"></a><span class="lineno">  607</span> <span class="comment">*                       interval specified.</span></div>
+<div class="line"><a name="l00608"></a><span class="lineno">  608</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00609"></a><span class="lineno">  609</span> <span class="comment">*   vstep     const double</span></div>
+<div class="line"><a name="l00610"></a><span class="lineno">  610</span> <span class="comment">*                       Step size for solution search [deg].  If zero, a</span></div>
+<div class="line"><a name="l00611"></a><span class="lineno">  611</span> <span class="comment">*                       sensible, although perhaps non-optimal default will be</span></div>
+<div class="line"><a name="l00612"></a><span class="lineno">  612</span> <span class="comment">*                       used.</span></div>
+<div class="line"><a name="l00613"></a><span class="lineno">  613</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00614"></a><span class="lineno">  614</span> <span class="comment">*   viter     int       If a solution is not found then the step size will be</span></div>
+<div class="line"><a name="l00615"></a><span class="lineno">  615</span> <span class="comment">*                       halved and the search recommenced.  viter controls how</span></div>
+<div class="line"><a name="l00616"></a><span class="lineno">  616</span> <span class="comment">*                       many times the step size is halved.  The allowed range</span></div>
+<div class="line"><a name="l00617"></a><span class="lineno">  617</span> <span class="comment">*                       is 5 - 10.</span></div>
+<div class="line"><a name="l00618"></a><span class="lineno">  618</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00619"></a><span class="lineno">  619</span> <span class="comment">* Given and returned:</span></div>
+<div class="line"><a name="l00620"></a><span class="lineno">  620</span> <span class="comment">*   world     double[naxis]</span></div>
+<div class="line"><a name="l00621"></a><span class="lineno">  621</span> <span class="comment">*                       World coordinate elements.  world[wcs.lng] and</span></div>
+<div class="line"><a name="l00622"></a><span class="lineno">  622</span> <span class="comment">*                       world[wcs.lat] are the celestial longitude and</span></div>
+<div class="line"><a name="l00623"></a><span class="lineno">  623</span> <span class="comment">*                       latitude [deg].  Which is given and which returned</span></div>
+<div class="line"><a name="l00624"></a><span class="lineno">  624</span> <span class="comment">*                       depends on the value of mixcel.  All other elements</span></div>
+<div class="line"><a name="l00625"></a><span class="lineno">  625</span> <span class="comment">*                       are given.</span></div>
+<div class="line"><a name="l00626"></a><span class="lineno">  626</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00627"></a><span class="lineno">  627</span> <span class="comment">* Returned:</span></div>
+<div class="line"><a name="l00628"></a><span class="lineno">  628</span> <span class="comment">*   phi,theta double[naxis]</span></div>
+<div class="line"><a name="l00629"></a><span class="lineno">  629</span> <span class="comment">*                       Longitude and latitude in the native coordinate</span></div>
+<div class="line"><a name="l00630"></a><span class="lineno">  630</span> <span class="comment">*                       system of the projection [deg].</span></div>
+<div class="line"><a name="l00631"></a><span class="lineno">  631</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00632"></a><span class="lineno">  632</span> <span class="comment">*   imgcrd    double[naxis]</span></div>
+<div class="line"><a name="l00633"></a><span class="lineno">  633</span> <span class="comment">*                       Image coordinate elements.  imgcrd[wcs.lng] and</span></div>
+<div class="line"><a name="l00634"></a><span class="lineno">  634</span> <span class="comment">*                       imgcrd[wcs.lat] are the projected x-, and</span></div>
+<div class="line"><a name="l00635"></a><span class="lineno">  635</span> <span class="comment">*                       y-coordinates in pseudo "degrees".</span></div>
+<div class="line"><a name="l00636"></a><span class="lineno">  636</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00637"></a><span class="lineno">  637</span> <span class="comment">* Given and returned:</span></div>
+<div class="line"><a name="l00638"></a><span class="lineno">  638</span> <span class="comment">*   pixcrd    double[naxis]</span></div>
+<div class="line"><a name="l00639"></a><span class="lineno">  639</span> <span class="comment">*                       Pixel coordinate.  The element indicated by mixpix is</span></div>
+<div class="line"><a name="l00640"></a><span class="lineno">  640</span> <span class="comment">*                       given and the remaining elements are returned.</span></div>
+<div class="line"><a name="l00641"></a><span class="lineno">  641</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00642"></a><span class="lineno">  642</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00643"></a><span class="lineno">  643</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00644"></a><span class="lineno">  644</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00645"></a><span class="lineno">  645</span> <span class="comment">*                         1: Null wcsprm pointer passed.</span></div>
+<div class="line"><a name="l00646"></a><span class="lineno">  646</span> <span class="comment">*                         2: Memory allocation failed.</span></div>
+<div class="line"><a name="l00647"></a><span class="lineno">  647</span> <span class="comment">*                         3: Linear transformation matrix is singular.</span></div>
+<div class="line"><a name="l00648"></a><span class="lineno">  648</span> <span class="comment">*                         4: Inconsistent or unrecognized coordinate axis</span></div>
+<div class="line"><a name="l00649"></a><span class="lineno">  649</span> <span class="comment">*                            types.</span></div>
+<div class="line"><a name="l00650"></a><span class="lineno">  650</span> <span class="comment">*                         5: Invalid parameter value.</span></div>
+<div class="line"><a name="l00651"></a><span class="lineno">  651</span> <span class="comment">*                         6: Invalid coordinate transformation parameters.</span></div>
+<div class="line"><a name="l00652"></a><span class="lineno">  652</span> <span class="comment">*                         7: Ill-conditioned coordinate transformation</span></div>
+<div class="line"><a name="l00653"></a><span class="lineno">  653</span> <span class="comment">*                            parameters.</span></div>
+<div class="line"><a name="l00654"></a><span class="lineno">  654</span> <span class="comment">*                        10: Invalid world coordinate.</span></div>
+<div class="line"><a name="l00655"></a><span class="lineno">  655</span> <span class="comment">*                        11: No solution found in the specified interval.</span></div>
+<div class="line"><a name="l00656"></a><span class="lineno">  656</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00657"></a><span class="lineno">  657</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
+<div class="line"><a name="l00658"></a><span class="lineno">  658</span> <span class="comment">*                       wcsprm::err if enabled, see wcserr_enable().</span></div>
+<div class="line"><a name="l00659"></a><span class="lineno">  659</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00660"></a><span class="lineno">  660</span> <span class="comment">* Notes:</span></div>
+<div class="line"><a name="l00661"></a><span class="lineno">  661</span> <span class="comment">*   Initially the specified solution interval is checked to see if it's a</span></div>
+<div class="line"><a name="l00662"></a><span class="lineno">  662</span> <span class="comment">*   "crossing" interval.  If it isn't, a search is made for a crossing</span></div>
+<div class="line"><a name="l00663"></a><span class="lineno">  663</span> <span class="comment">*   solution by iterating on the unknown celestial coordinate starting at the</span></div>
+<div class="line"><a name="l00664"></a><span class="lineno">  664</span> <span class="comment">*   upper limit of the solution interval and decrementing by the specified</span></div>
+<div class="line"><a name="l00665"></a><span class="lineno">  665</span> <span class="comment">*   step size.  A crossing is indicated if the trial value of the pixel</span></div>
+<div class="line"><a name="l00666"></a><span class="lineno">  666</span> <span class="comment">*   coordinate steps through the value specified.  If a crossing interval is</span></div>
+<div class="line"><a name="l00667"></a><span class="lineno">  667</span> <span class="comment">*   found then the solution is determined by a modified form of "regula falsi"</span></div>
+<div class="line"><a name="l00668"></a><span class="lineno">  668</span> <span class="comment">*   division of the crossing interval.  If no crossing interval was found</span></div>
+<div class="line"><a name="l00669"></a><span class="lineno">  669</span> <span class="comment">*   within the specified solution interval then a search is made for a</span></div>
+<div class="line"><a name="l00670"></a><span class="lineno">  670</span> <span class="comment">*   "non-crossing" solution as may arise from a point of tangency.  The</span></div>
+<div class="line"><a name="l00671"></a><span class="lineno">  671</span> <span class="comment">*   process is complicated by having to make allowance for the discontinuities</span></div>
+<div class="line"><a name="l00672"></a><span class="lineno">  672</span> <span class="comment">*   that occur in all map projections.</span></div>
+<div class="line"><a name="l00673"></a><span class="lineno">  673</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00674"></a><span class="lineno">  674</span> <span class="comment">*   Once one solution has been determined others may be found by subsequent</span></div>
+<div class="line"><a name="l00675"></a><span class="lineno">  675</span> <span class="comment">*   invokations of wcsmix() with suitably restricted solution intervals.</span></div>
+<div class="line"><a name="l00676"></a><span class="lineno">  676</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00677"></a><span class="lineno">  677</span> <span class="comment">*   Note the circumstance that arises when the solution point lies at a native</span></div>
+<div class="line"><a name="l00678"></a><span class="lineno">  678</span> <span class="comment">*   pole of a projection in which the pole is represented as a finite curve,</span></div>
+<div class="line"><a name="l00679"></a><span class="lineno">  679</span> <span class="comment">*   for example the zenithals and conics.  In such cases two or more valid</span></div>
+<div class="line"><a name="l00680"></a><span class="lineno">  680</span> <span class="comment">*   solutions may exist but wcsmix() only ever returns one.</span></div>
+<div class="line"><a name="l00681"></a><span class="lineno">  681</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00682"></a><span class="lineno">  682</span> <span class="comment">*   Because of its generality wcsmix() is very compute-intensive.  For</span></div>
+<div class="line"><a name="l00683"></a><span class="lineno">  683</span> <span class="comment">*   compute-limited applications more efficient special-case solvers could be</span></div>
+<div class="line"><a name="l00684"></a><span class="lineno">  684</span> <span class="comment">*   written for simple projections, for example non-oblique cylindrical</span></div>
+<div class="line"><a name="l00685"></a><span class="lineno">  685</span> <span class="comment">*   projections.</span></div>
+<div class="line"><a name="l00686"></a><span class="lineno">  686</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00687"></a><span class="lineno">  687</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00688"></a><span class="lineno">  688</span> <span class="comment">* wcssptr() - Spectral axis translation</span></div>
+<div class="line"><a name="l00689"></a><span class="lineno">  689</span> <span class="comment">* -------------------------------------</span></div>
+<div class="line"><a name="l00690"></a><span class="lineno">  690</span> <span class="comment">* wcssptr() translates the spectral axis in a wcsprm struct.  For example, a</span></div>
+<div class="line"><a name="l00691"></a><span class="lineno">  691</span> <span class="comment">* 'FREQ' axis may be translated into 'ZOPT-F2W' and vice versa.</span></div>
 <div class="line"><a name="l00692"></a><span class="lineno">  692</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00693"></a><span class="lineno">  693</span> <span class="comment">*   i         int*      Index of the spectral axis (0-relative).  If given < 0</span></div>
-<div class="line"><a name="l00694"></a><span class="lineno">  694</span> <span class="comment">*                       it will be set to the first spectral axis identified</span></div>
-<div class="line"><a name="l00695"></a><span class="lineno">  695</span> <span class="comment">*                       from the ctype[] keyvalues in the wcsprm struct.</span></div>
+<div class="line"><a name="l00693"></a><span class="lineno">  693</span> <span class="comment">* Given and returned:</span></div>
+<div class="line"><a name="l00694"></a><span class="lineno">  694</span> <span class="comment">*   wcs       struct wcsprm*</span></div>
+<div class="line"><a name="l00695"></a><span class="lineno">  695</span> <span class="comment">*                       Coordinate transformation parameters.</span></div>
 <div class="line"><a name="l00696"></a><span class="lineno">  696</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00697"></a><span class="lineno">  697</span> <span class="comment">*   ctype     char[9]   Desired spectral CTYPEia.  Wildcarding may be used as</span></div>
-<div class="line"><a name="l00698"></a><span class="lineno">  698</span> <span class="comment">*                       for the ctypeS2 argument to spctrn() as described in</span></div>
-<div class="line"><a name="l00699"></a><span class="lineno">  699</span> <span class="comment">*                       the prologue of spc.h, i.e. if the final three</span></div>
-<div class="line"><a name="l00700"></a><span class="lineno">  700</span> <span class="comment">*                       characters are specified as "???", or if just the</span></div>
-<div class="line"><a name="l00701"></a><span class="lineno">  701</span> <span class="comment">*                       eighth character is specified as '?', the correct</span></div>
-<div class="line"><a name="l00702"></a><span class="lineno">  702</span> <span class="comment">*                       algorithm code will be substituted and returned.</span></div>
-<div class="line"><a name="l00703"></a><span class="lineno">  703</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00704"></a><span class="lineno">  704</span> <span class="comment">* Function return value:</span></div>
-<div class="line"><a name="l00705"></a><span class="lineno">  705</span> <span class="comment">*             int       Status return value:</span></div>
-<div class="line"><a name="l00706"></a><span class="lineno">  706</span> <span class="comment">*                         0: Success.</span></div>
-<div class="line"><a name="l00707"></a><span class="lineno">  707</span> <span class="comment">*                         1: Null wcsprm pointer passed.</span></div>
-<div class="line"><a name="l00708"></a><span class="lineno">  708</span> <span class="comment">*                         2: Memory allocation failed.</span></div>
-<div class="line"><a name="l00709"></a><span class="lineno">  709</span> <span class="comment">*                         3: Linear transformation matrix is singular.</span></div>
-<div class="line"><a name="l00710"></a><span class="lineno">  710</span> <span class="comment">*                         4: Inconsistent or unrecognized coordinate axis</span></div>
-<div class="line"><a name="l00711"></a><span class="lineno">  711</span> <span class="comment">*                            types.</span></div>
-<div class="line"><a name="l00712"></a><span class="lineno">  712</span> <span class="comment">*                         5: Invalid parameter value.</span></div>
-<div class="line"><a name="l00713"></a><span class="lineno">  713</span> <span class="comment">*                         6: Invalid coordinate transformation parameters.</span></div>
-<div class="line"><a name="l00714"></a><span class="lineno">  714</span> <span class="comment">*                         7: Ill-conditioned coordinate transformation</span></div>
-<div class="line"><a name="l00715"></a><span class="lineno">  715</span> <span class="comment">*                            parameters.</span></div>
-<div class="line"><a name="l00716"></a><span class="lineno">  716</span> <span class="comment">*                        12: Invalid subimage specification (no spectral</span></div>
-<div class="line"><a name="l00717"></a><span class="lineno">  717</span> <span class="comment">*                            axis).</span></div>
-<div class="line"><a name="l00718"></a><span class="lineno">  718</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00719"></a><span class="lineno">  719</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
-<div class="line"><a name="l00720"></a><span class="lineno">  720</span> <span class="comment">*                       wcsprm::err if enabled, see wcserr_enable().</span></div>
-<div class="line"><a name="l00721"></a><span class="lineno">  721</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00697"></a><span class="lineno">  697</span> <span class="comment">*   i         int*      Index of the spectral axis (0-relative).  If given < 0</span></div>
+<div class="line"><a name="l00698"></a><span class="lineno">  698</span> <span class="comment">*                       it will be set to the first spectral axis identified</span></div>
+<div class="line"><a name="l00699"></a><span class="lineno">  699</span> <span class="comment">*                       from the ctype[] keyvalues in the wcsprm struct.</span></div>
+<div class="line"><a name="l00700"></a><span class="lineno">  700</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00701"></a><span class="lineno">  701</span> <span class="comment">*   ctype     char[9]   Desired spectral CTYPEia.  Wildcarding may be used as</span></div>
+<div class="line"><a name="l00702"></a><span class="lineno">  702</span> <span class="comment">*                       for the ctypeS2 argument to spctrn() as described in</span></div>
+<div class="line"><a name="l00703"></a><span class="lineno">  703</span> <span class="comment">*                       the prologue of spc.h, i.e. if the final three</span></div>
+<div class="line"><a name="l00704"></a><span class="lineno">  704</span> <span class="comment">*                       characters are specified as "???", or if just the</span></div>
+<div class="line"><a name="l00705"></a><span class="lineno">  705</span> <span class="comment">*                       eighth character is specified as '?', the correct</span></div>
+<div class="line"><a name="l00706"></a><span class="lineno">  706</span> <span class="comment">*                       algorithm code will be substituted and returned.</span></div>
+<div class="line"><a name="l00707"></a><span class="lineno">  707</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00708"></a><span class="lineno">  708</span> <span class="comment">* Function return value:</span></div>
+<div class="line"><a name="l00709"></a><span class="lineno">  709</span> <span class="comment">*             int       Status return value:</span></div>
+<div class="line"><a name="l00710"></a><span class="lineno">  710</span> <span class="comment">*                         0: Success.</span></div>
+<div class="line"><a name="l00711"></a><span class="lineno">  711</span> <span class="comment">*                         1: Null wcsprm pointer passed.</span></div>
+<div class="line"><a name="l00712"></a><span class="lineno">  712</span> <span class="comment">*                         2: Memory allocation failed.</span></div>
+<div class="line"><a name="l00713"></a><span class="lineno">  713</span> <span class="comment">*                         3: Linear transformation matrix is singular.</span></div>
+<div class="line"><a name="l00714"></a><span class="lineno">  714</span> <span class="comment">*                         4: Inconsistent or unrecognized coordinate axis</span></div>
+<div class="line"><a name="l00715"></a><span class="lineno">  715</span> <span class="comment">*                            types.</span></div>
+<div class="line"><a name="l00716"></a><span class="lineno">  716</span> <span class="comment">*                         5: Invalid parameter value.</span></div>
+<div class="line"><a name="l00717"></a><span class="lineno">  717</span> <span class="comment">*                         6: Invalid coordinate transformation parameters.</span></div>
+<div class="line"><a name="l00718"></a><span class="lineno">  718</span> <span class="comment">*                         7: Ill-conditioned coordinate transformation</span></div>
+<div class="line"><a name="l00719"></a><span class="lineno">  719</span> <span class="comment">*                            parameters.</span></div>
+<div class="line"><a name="l00720"></a><span class="lineno">  720</span> <span class="comment">*                        12: Invalid subimage specification (no spectral</span></div>
+<div class="line"><a name="l00721"></a><span class="lineno">  721</span> <span class="comment">*                            axis).</span></div>
 <div class="line"><a name="l00722"></a><span class="lineno">  722</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00723"></a><span class="lineno">  723</span> <span class="comment">* wcsprm struct - Coordinate transformation parameters</span></div>
-<div class="line"><a name="l00724"></a><span class="lineno">  724</span> <span class="comment">* ----------------------------------------------------</span></div>
-<div class="line"><a name="l00725"></a><span class="lineno">  725</span> <span class="comment">* The wcsprm struct contains information required to transform world</span></div>
-<div class="line"><a name="l00726"></a><span class="lineno">  726</span> <span class="comment">* coordinates.  It consists of certain members that must be set by the user</span></div>
-<div class="line"><a name="l00727"></a><span class="lineno">  727</span> <span class="comment">* ("given") and others that are set by the WCSLIB routines ("returned").</span></div>
-<div class="line"><a name="l00728"></a><span class="lineno">  728</span> <span class="comment">* Some of the former are not actually required for transforming coordinates.</span></div>
-<div class="line"><a name="l00729"></a><span class="lineno">  729</span> <span class="comment">* These are described as "auxiliary"; the struct simply provides a place to</span></div>
-<div class="line"><a name="l00730"></a><span class="lineno">  730</span> <span class="comment">* store them, though they may be used by wcshdo() in constructing a FITS</span></div>
-<div class="line"><a name="l00731"></a><span class="lineno">  731</span> <span class="comment">* header from a wcsprm struct.  Some of the returned values are supplied for</span></div>
-<div class="line"><a name="l00732"></a><span class="lineno">  732</span> <span class="comment">* informational purposes and others are for internal use only as indicated.</span></div>
-<div class="line"><a name="l00733"></a><span class="lineno">  733</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00734"></a><span class="lineno">  734</span> <span class="comment">* In practice, it is expected that a WCS parser would scan the FITS header to</span></div>
-<div class="line"><a name="l00735"></a><span class="lineno">  735</span> <span class="comment">* determine the number of coordinate axes.  It would then use wcsini() to</span></div>
-<div class="line"><a name="l00736"></a><span class="lineno">  736</span> <span class="comment">* allocate memory for arrays in the wcsprm struct and set default values.</span></div>
-<div class="line"><a name="l00737"></a><span class="lineno">  737</span> <span class="comment">* Then as it reread the header and identified each WCS keyrecord it would load</span></div>
-<div class="line"><a name="l00738"></a><span class="lineno">  738</span> <span class="comment">* the value into the relevant wcsprm array element.  This is essentially what</span></div>
-<div class="line"><a name="l00739"></a><span class="lineno">  739</span> <span class="comment">* wcspih() does - refer to the prologue of wcshdr.h.  As the final step,</span></div>
-<div class="line"><a name="l00740"></a><span class="lineno">  740</span> <span class="comment">* wcsset() is invoked, either directly or indirectly, to set the derived</span></div>
-<div class="line"><a name="l00741"></a><span class="lineno">  741</span> <span class="comment">* members of the wcsprm struct.  wcsset() strips off trailing blanks in all</span></div>
-<div class="line"><a name="l00742"></a><span class="lineno">  742</span> <span class="comment">* string members and null-fills the character array.</span></div>
-<div class="line"><a name="l00743"></a><span class="lineno">  743</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00744"></a><span class="lineno">  744</span> <span class="comment">*   int flag</span></div>
-<div class="line"><a name="l00745"></a><span class="lineno">  745</span> <span class="comment">*     (Given and returned) This flag must be set to zero whenever any of the</span></div>
-<div class="line"><a name="l00746"></a><span class="lineno">  746</span> <span class="comment">*     following wcsprm struct members are set or changed:</span></div>
+<div class="line"><a name="l00723"></a><span class="lineno">  723</span> <span class="comment">*                       For returns > 1, a detailed error message is set in</span></div>
+<div class="line"><a name="l00724"></a><span class="lineno">  724</span> <span class="comment">*                       wcsprm::err if enabled, see wcserr_enable().</span></div>
+<div class="line"><a name="l00725"></a><span class="lineno">  725</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00726"></a><span class="lineno">  726</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00727"></a><span class="lineno">  727</span> <span class="comment">* wcsprm struct - Coordinate transformation parameters</span></div>
+<div class="line"><a name="l00728"></a><span class="lineno">  728</span> <span class="comment">* ----------------------------------------------------</span></div>
+<div class="line"><a name="l00729"></a><span class="lineno">  729</span> <span class="comment">* The wcsprm struct contains information required to transform world</span></div>
+<div class="line"><a name="l00730"></a><span class="lineno">  730</span> <span class="comment">* coordinates.  It consists of certain members that must be set by the user</span></div>
+<div class="line"><a name="l00731"></a><span class="lineno">  731</span> <span class="comment">* ("given") and others that are set by the WCSLIB routines ("returned").</span></div>
+<div class="line"><a name="l00732"></a><span class="lineno">  732</span> <span class="comment">* Some of the former are not actually required for transforming coordinates.</span></div>
+<div class="line"><a name="l00733"></a><span class="lineno">  733</span> <span class="comment">* These are described as "auxiliary"; the struct simply provides a place to</span></div>
+<div class="line"><a name="l00734"></a><span class="lineno">  734</span> <span class="comment">* store them, though they may be used by wcshdo() in constructing a FITS</span></div>
+<div class="line"><a name="l00735"></a><span class="lineno">  735</span> <span class="comment">* header from a wcsprm struct.  Some of the returned values are supplied for</span></div>
+<div class="line"><a name="l00736"></a><span class="lineno">  736</span> <span class="comment">* informational purposes and others are for internal use only as indicated.</span></div>
+<div class="line"><a name="l00737"></a><span class="lineno">  737</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00738"></a><span class="lineno">  738</span> <span class="comment">* In practice, it is expected that a WCS parser would scan the FITS header to</span></div>
+<div class="line"><a name="l00739"></a><span class="lineno">  739</span> <span class="comment">* determine the number of coordinate axes.  It would then use wcsini() to</span></div>
+<div class="line"><a name="l00740"></a><span class="lineno">  740</span> <span class="comment">* allocate memory for arrays in the wcsprm struct and set default values.</span></div>
+<div class="line"><a name="l00741"></a><span class="lineno">  741</span> <span class="comment">* Then as it reread the header and identified each WCS keyrecord it would load</span></div>
+<div class="line"><a name="l00742"></a><span class="lineno">  742</span> <span class="comment">* the value into the relevant wcsprm array element.  This is essentially what</span></div>
+<div class="line"><a name="l00743"></a><span class="lineno">  743</span> <span class="comment">* wcspih() does - refer to the prologue of wcshdr.h.  As the final step,</span></div>
+<div class="line"><a name="l00744"></a><span class="lineno">  744</span> <span class="comment">* wcsset() is invoked, either directly or indirectly, to set the derived</span></div>
+<div class="line"><a name="l00745"></a><span class="lineno">  745</span> <span class="comment">* members of the wcsprm struct.  wcsset() strips off trailing blanks in all</span></div>
+<div class="line"><a name="l00746"></a><span class="lineno">  746</span> <span class="comment">* string members and null-fills the character array.</span></div>
 <div class="line"><a name="l00747"></a><span class="lineno">  747</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00748"></a><span class="lineno">  748</span> <span class="comment">*       - wcsprm::naxis (q.v., not normally set by the user),</span></div>
-<div class="line"><a name="l00749"></a><span class="lineno">  749</span> <span class="comment">*       - wcsprm::crpix,</span></div>
-<div class="line"><a name="l00750"></a><span class="lineno">  750</span> <span class="comment">*       - wcsprm::pc,</span></div>
-<div class="line"><a name="l00751"></a><span class="lineno">  751</span> <span class="comment">*       - wcsprm::cdelt,</span></div>
-<div class="line"><a name="l00752"></a><span class="lineno">  752</span> <span class="comment">*       - wcsprm::crval,</span></div>
-<div class="line"><a name="l00753"></a><span class="lineno">  753</span> <span class="comment">*       - wcsprm::cunit,</span></div>
-<div class="line"><a name="l00754"></a><span class="lineno">  754</span> <span class="comment">*       - wcsprm::ctype,</span></div>
-<div class="line"><a name="l00755"></a><span class="lineno">  755</span> <span class="comment">*       - wcsprm::lonpole,</span></div>
-<div class="line"><a name="l00756"></a><span class="lineno">  756</span> <span class="comment">*       - wcsprm::latpole,</span></div>
-<div class="line"><a name="l00757"></a><span class="lineno">  757</span> <span class="comment">*       - wcsprm::restfrq,</span></div>
-<div class="line"><a name="l00758"></a><span class="lineno">  758</span> <span class="comment">*       - wcsprm::restwav,</span></div>
-<div class="line"><a name="l00759"></a><span class="lineno">  759</span> <span class="comment">*       - wcsprm::npv,</span></div>
-<div class="line"><a name="l00760"></a><span class="lineno">  760</span> <span class="comment">*       - wcsprm::pv,</span></div>
-<div class="line"><a name="l00761"></a><span class="lineno">  761</span> <span class="comment">*       - wcsprm::nps,</span></div>
-<div class="line"><a name="l00762"></a><span class="lineno">  762</span> <span class="comment">*       - wcsprm::ps,</span></div>
-<div class="line"><a name="l00763"></a><span class="lineno">  763</span> <span class="comment">*       - wcsprm::cd,</span></div>
-<div class="line"><a name="l00764"></a><span class="lineno">  764</span> <span class="comment">*       - wcsprm::crota,</span></div>
-<div class="line"><a name="l00765"></a><span class="lineno">  765</span> <span class="comment">*       - wcsprm::altlin.</span></div>
-<div class="line"><a name="l00766"></a><span class="lineno">  766</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00767"></a><span class="lineno">  767</span> <span class="comment">*     This signals the initialization routine, wcsset(), to recompute the</span></div>
-<div class="line"><a name="l00768"></a><span class="lineno">  768</span> <span class="comment">*     returned members of the celprm struct.  celset() will reset flag to</span></div>
-<div class="line"><a name="l00769"></a><span class="lineno">  769</span> <span class="comment">*     indicate that this has been done.</span></div>
+<div class="line"><a name="l00748"></a><span class="lineno">  748</span> <span class="comment">*   int flag</span></div>
+<div class="line"><a name="l00749"></a><span class="lineno">  749</span> <span class="comment">*     (Given and returned) This flag must be set to zero whenever any of the</span></div>
+<div class="line"><a name="l00750"></a><span class="lineno">  750</span> <span class="comment">*     following wcsprm struct members are set or changed:</span></div>
+<div class="line"><a name="l00751"></a><span class="lineno">  751</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00752"></a><span class="lineno">  752</span> <span class="comment">*       - wcsprm::naxis (q.v., not normally set by the user),</span></div>
+<div class="line"><a name="l00753"></a><span class="lineno">  753</span> <span class="comment">*       - wcsprm::crpix,</span></div>
+<div class="line"><a name="l00754"></a><span class="lineno">  754</span> <span class="comment">*       - wcsprm::pc,</span></div>
+<div class="line"><a name="l00755"></a><span class="lineno">  755</span> <span class="comment">*       - wcsprm::cdelt,</span></div>
+<div class="line"><a name="l00756"></a><span class="lineno">  756</span> <span class="comment">*       - wcsprm::crval,</span></div>
+<div class="line"><a name="l00757"></a><span class="lineno">  757</span> <span class="comment">*       - wcsprm::cunit,</span></div>
+<div class="line"><a name="l00758"></a><span class="lineno">  758</span> <span class="comment">*       - wcsprm::ctype,</span></div>
+<div class="line"><a name="l00759"></a><span class="lineno">  759</span> <span class="comment">*       - wcsprm::lonpole,</span></div>
+<div class="line"><a name="l00760"></a><span class="lineno">  760</span> <span class="comment">*       - wcsprm::latpole,</span></div>
+<div class="line"><a name="l00761"></a><span class="lineno">  761</span> <span class="comment">*       - wcsprm::restfrq,</span></div>
+<div class="line"><a name="l00762"></a><span class="lineno">  762</span> <span class="comment">*       - wcsprm::restwav,</span></div>
+<div class="line"><a name="l00763"></a><span class="lineno">  763</span> <span class="comment">*       - wcsprm::npv,</span></div>
+<div class="line"><a name="l00764"></a><span class="lineno">  764</span> <span class="comment">*       - wcsprm::pv,</span></div>
+<div class="line"><a name="l00765"></a><span class="lineno">  765</span> <span class="comment">*       - wcsprm::nps,</span></div>
+<div class="line"><a name="l00766"></a><span class="lineno">  766</span> <span class="comment">*       - wcsprm::ps,</span></div>
+<div class="line"><a name="l00767"></a><span class="lineno">  767</span> <span class="comment">*       - wcsprm::cd,</span></div>
+<div class="line"><a name="l00768"></a><span class="lineno">  768</span> <span class="comment">*       - wcsprm::crota,</span></div>
+<div class="line"><a name="l00769"></a><span class="lineno">  769</span> <span class="comment">*       - wcsprm::altlin.</span></div>
 <div class="line"><a name="l00770"></a><span class="lineno">  770</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00771"></a><span class="lineno">  771</span> <span class="comment">*     PLEASE NOTE: flag should be set to -1 when wcsini() is called for the</span></div>
-<div class="line"><a name="l00772"></a><span class="lineno">  772</span> <span class="comment">*     first time for a particular wcsprm struct in order to initialize memory</span></div>
-<div class="line"><a name="l00773"></a><span class="lineno">  773</span> <span class="comment">*     management.  It must ONLY be used on the first initialization otherwise</span></div>
-<div class="line"><a name="l00774"></a><span class="lineno">  774</span> <span class="comment">*     memory leaks may result.</span></div>
-<div class="line"><a name="l00775"></a><span class="lineno">  775</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00776"></a><span class="lineno">  776</span> <span class="comment">*   int naxis</span></div>
-<div class="line"><a name="l00777"></a><span class="lineno">  777</span> <span class="comment">*     (Given or returned) Number of pixel and world coordinate elements.</span></div>
-<div class="line"><a name="l00778"></a><span class="lineno">  778</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00779"></a><span class="lineno">  779</span> <span class="comment">*     If wcsini() is used to initialize the linprm struct (as would normally</span></div>
-<div class="line"><a name="l00780"></a><span class="lineno">  780</span> <span class="comment">*     be the case) then it will set naxis from the value passed to it as a</span></div>
-<div class="line"><a name="l00781"></a><span class="lineno">  781</span> <span class="comment">*     function argument.  The user should not subsequently modify it.</span></div>
+<div class="line"><a name="l00771"></a><span class="lineno">  771</span> <span class="comment">*     This signals the initialization routine, wcsset(), to recompute the</span></div>
+<div class="line"><a name="l00772"></a><span class="lineno">  772</span> <span class="comment">*     returned members of the celprm struct.  celset() will reset flag to</span></div>
+<div class="line"><a name="l00773"></a><span class="lineno">  773</span> <span class="comment">*     indicate that this has been done.</span></div>
+<div class="line"><a name="l00774"></a><span class="lineno">  774</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00775"></a><span class="lineno">  775</span> <span class="comment">*     PLEASE NOTE: flag should be set to -1 when wcsini() is called for the</span></div>
+<div class="line"><a name="l00776"></a><span class="lineno">  776</span> <span class="comment">*     first time for a particular wcsprm struct in order to initialize memory</span></div>
+<div class="line"><a name="l00777"></a><span class="lineno">  777</span> <span class="comment">*     management.  It must ONLY be used on the first initialization otherwise</span></div>
+<div class="line"><a name="l00778"></a><span class="lineno">  778</span> <span class="comment">*     memory leaks may result.</span></div>
+<div class="line"><a name="l00779"></a><span class="lineno">  779</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00780"></a><span class="lineno">  780</span> <span class="comment">*   int naxis</span></div>
+<div class="line"><a name="l00781"></a><span class="lineno">  781</span> <span class="comment">*     (Given or returned) Number of pixel and world coordinate elements.</span></div>
 <div class="line"><a name="l00782"></a><span class="lineno">  782</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00783"></a><span class="lineno">  783</span> <span class="comment">*   double *crpix</span></div>
-<div class="line"><a name="l00784"></a><span class="lineno">  784</span> <span class="comment">*     (Given) Address of the first element of an array of double containing</span></div>
-<div class="line"><a name="l00785"></a><span class="lineno">  785</span> <span class="comment">*     the coordinate reference pixel, CRPIXja.</span></div>
+<div class="line"><a name="l00783"></a><span class="lineno">  783</span> <span class="comment">*     If wcsini() is used to initialize the linprm struct (as would normally</span></div>
+<div class="line"><a name="l00784"></a><span class="lineno">  784</span> <span class="comment">*     be the case) then it will set naxis from the value passed to it as a</span></div>
+<div class="line"><a name="l00785"></a><span class="lineno">  785</span> <span class="comment">*     function argument.  The user should not subsequently modify it.</span></div>
 <div class="line"><a name="l00786"></a><span class="lineno">  786</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00787"></a><span class="lineno">  787</span> <span class="comment">*   double *pc</span></div>
-<div class="line"><a name="l00788"></a><span class="lineno">  788</span> <span class="comment">*     (Given) Address of the first element of the PCi_ja (pixel coordinate)</span></div>
-<div class="line"><a name="l00789"></a><span class="lineno">  789</span> <span class="comment">*     transformation matrix.  The expected order is</span></div>
+<div class="line"><a name="l00787"></a><span class="lineno">  787</span> <span class="comment">*   double *crpix</span></div>
+<div class="line"><a name="l00788"></a><span class="lineno">  788</span> <span class="comment">*     (Given) Address of the first element of an array of double containing</span></div>
+<div class="line"><a name="l00789"></a><span class="lineno">  789</span> <span class="comment">*     the coordinate reference pixel, CRPIXja.</span></div>
 <div class="line"><a name="l00790"></a><span class="lineno">  790</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00791"></a><span class="lineno">  791</span> <span class="comment">=       struct wcsprm wcs;</span></div>
-<div class="line"><a name="l00792"></a><span class="lineno">  792</span> <span class="comment">=       wcs.pc = {PC1_1, PC1_2, PC2_1, PC2_2};</span></div>
-<div class="line"><a name="l00793"></a><span class="lineno">  793</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00794"></a><span class="lineno">  794</span> <span class="comment">*     This may be constructed conveniently from a 2-D array via</span></div>
-<div class="line"><a name="l00795"></a><span class="lineno">  795</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00796"></a><span class="lineno">  796</span> <span class="comment">=       double m[2][2] = {{PC1_1, PC1_2},</span></div>
-<div class="line"><a name="l00797"></a><span class="lineno">  797</span> <span class="comment">=                         {PC2_1, PC2_2}};</span></div>
-<div class="line"><a name="l00798"></a><span class="lineno">  798</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00799"></a><span class="lineno">  799</span> <span class="comment">*     which is equivalent to</span></div>
-<div class="line"><a name="l00800"></a><span class="lineno">  800</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00801"></a><span class="lineno">  801</span> <span class="comment">=       double m[2][2];</span></div>
-<div class="line"><a name="l00802"></a><span class="lineno">  802</span> <span class="comment">=       m[0][0] = PC1_1;</span></div>
-<div class="line"><a name="l00803"></a><span class="lineno">  803</span> <span class="comment">=       m[0][1] = PC1_2;</span></div>
-<div class="line"><a name="l00804"></a><span class="lineno">  804</span> <span class="comment">=       m[1][0] = PC2_1;</span></div>
-<div class="line"><a name="l00805"></a><span class="lineno">  805</span> <span class="comment">=       m[1][1] = PC2_2;</span></div>
-<div class="line"><a name="l00806"></a><span class="lineno">  806</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00807"></a><span class="lineno">  807</span> <span class="comment">*     The storage order for this 2-D array is the same as for the 1-D array,</span></div>
-<div class="line"><a name="l00808"></a><span class="lineno">  808</span> <span class="comment">*     whence</span></div>
-<div class="line"><a name="l00809"></a><span class="lineno">  809</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00810"></a><span class="lineno">  810</span> <span class="comment">=       wcs.pc = *m;</span></div>
-<div class="line"><a name="l00811"></a><span class="lineno">  811</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00812"></a><span class="lineno">  812</span> <span class="comment">*     would be legitimate.</span></div>
+<div class="line"><a name="l00791"></a><span class="lineno">  791</span> <span class="comment">*   double *pc</span></div>
+<div class="line"><a name="l00792"></a><span class="lineno">  792</span> <span class="comment">*     (Given) Address of the first element of the PCi_ja (pixel coordinate)</span></div>
+<div class="line"><a name="l00793"></a><span class="lineno">  793</span> <span class="comment">*     transformation matrix.  The expected order is</span></div>
+<div class="line"><a name="l00794"></a><span class="lineno">  794</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00795"></a><span class="lineno">  795</span> <span class="comment">=       struct wcsprm wcs;</span></div>
+<div class="line"><a name="l00796"></a><span class="lineno">  796</span> <span class="comment">=       wcs.pc = {PC1_1, PC1_2, PC2_1, PC2_2};</span></div>
+<div class="line"><a name="l00797"></a><span class="lineno">  797</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00798"></a><span class="lineno">  798</span> <span class="comment">*     This may be constructed conveniently from a 2-D array via</span></div>
+<div class="line"><a name="l00799"></a><span class="lineno">  799</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00800"></a><span class="lineno">  800</span> <span class="comment">=       double m[2][2] = {{PC1_1, PC1_2},</span></div>
+<div class="line"><a name="l00801"></a><span class="lineno">  801</span> <span class="comment">=                         {PC2_1, PC2_2}};</span></div>
+<div class="line"><a name="l00802"></a><span class="lineno">  802</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00803"></a><span class="lineno">  803</span> <span class="comment">*     which is equivalent to</span></div>
+<div class="line"><a name="l00804"></a><span class="lineno">  804</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00805"></a><span class="lineno">  805</span> <span class="comment">=       double m[2][2];</span></div>
+<div class="line"><a name="l00806"></a><span class="lineno">  806</span> <span class="comment">=       m[0][0] = PC1_1;</span></div>
+<div class="line"><a name="l00807"></a><span class="lineno">  807</span> <span class="comment">=       m[0][1] = PC1_2;</span></div>
+<div class="line"><a name="l00808"></a><span class="lineno">  808</span> <span class="comment">=       m[1][0] = PC2_1;</span></div>
+<div class="line"><a name="l00809"></a><span class="lineno">  809</span> <span class="comment">=       m[1][1] = PC2_2;</span></div>
+<div class="line"><a name="l00810"></a><span class="lineno">  810</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00811"></a><span class="lineno">  811</span> <span class="comment">*     The storage order for this 2-D array is the same as for the 1-D array,</span></div>
+<div class="line"><a name="l00812"></a><span class="lineno">  812</span> <span class="comment">*     whence</span></div>
 <div class="line"><a name="l00813"></a><span class="lineno">  813</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00814"></a><span class="lineno">  814</span> <span class="comment">*   double *cdelt</span></div>
-<div class="line"><a name="l00815"></a><span class="lineno">  815</span> <span class="comment">*     (Given) Address of the first element of an array of double containing</span></div>
-<div class="line"><a name="l00816"></a><span class="lineno">  816</span> <span class="comment">*     the coordinate increments, CDELTia.</span></div>
+<div class="line"><a name="l00814"></a><span class="lineno">  814</span> <span class="comment">=       wcs.pc = *m;</span></div>
+<div class="line"><a name="l00815"></a><span class="lineno">  815</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00816"></a><span class="lineno">  816</span> <span class="comment">*     would be legitimate.</span></div>
 <div class="line"><a name="l00817"></a><span class="lineno">  817</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00818"></a><span class="lineno">  818</span> <span class="comment">*   double *crval</span></div>
+<div class="line"><a name="l00818"></a><span class="lineno">  818</span> <span class="comment">*   double *cdelt</span></div>
 <div class="line"><a name="l00819"></a><span class="lineno">  819</span> <span class="comment">*     (Given) Address of the first element of an array of double containing</span></div>
-<div class="line"><a name="l00820"></a><span class="lineno">  820</span> <span class="comment">*     the coordinate reference values, CRVALia.</span></div>
+<div class="line"><a name="l00820"></a><span class="lineno">  820</span> <span class="comment">*     the coordinate increments, CDELTia.</span></div>
 <div class="line"><a name="l00821"></a><span class="lineno">  821</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00822"></a><span class="lineno">  822</span> <span class="comment">*   char (*cunit)[72]</span></div>
-<div class="line"><a name="l00823"></a><span class="lineno">  823</span> <span class="comment">*     (Given) Address of the first element of an array of char[72] containing</span></div>
-<div class="line"><a name="l00824"></a><span class="lineno">  824</span> <span class="comment">*     the CUNITia keyvalues which define the units of measurement of the</span></div>
-<div class="line"><a name="l00825"></a><span class="lineno">  825</span> <span class="comment">*     CRVALia, CDELTia, and CDi_ja keywords.</span></div>
-<div class="line"><a name="l00826"></a><span class="lineno">  826</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00827"></a><span class="lineno">  827</span> <span class="comment">*     As CUNITia is an optional header keyword, cunit[][72] may be left blank</span></div>
-<div class="line"><a name="l00828"></a><span class="lineno">  828</span> <span class="comment">*     but otherwise is expected to contain a standard units specification as</span></div>
-<div class="line"><a name="l00829"></a><span class="lineno">  829</span> <span class="comment">*     defined by WCS Paper I.  Utility function wcsutrn(), described in</span></div>
-<div class="line"><a name="l00830"></a><span class="lineno">  830</span> <span class="comment">*     wcsunits.h, is available to translate commonly used non-standard units</span></div>
-<div class="line"><a name="l00831"></a><span class="lineno">  831</span> <span class="comment">*     specifications but this must be done as a separate step before invoking</span></div>
-<div class="line"><a name="l00832"></a><span class="lineno">  832</span> <span class="comment">*     wcsset().</span></div>
-<div class="line"><a name="l00833"></a><span class="lineno">  833</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00834"></a><span class="lineno">  834</span> <span class="comment">*     For celestial axes, if cunit[][72] is not blank, wcsset() uses</span></div>
-<div class="line"><a name="l00835"></a><span class="lineno">  835</span> <span class="comment">*     wcsunits() to parse it and scale cdelt[], crval[], and cd[][*] to</span></div>
-<div class="line"><a name="l00836"></a><span class="lineno">  836</span> <span class="comment">*     degrees.  It then resets cunit[][72] to "deg".</span></div>
+<div class="line"><a name="l00822"></a><span class="lineno">  822</span> <span class="comment">*   double *crval</span></div>
+<div class="line"><a name="l00823"></a><span class="lineno">  823</span> <span class="comment">*     (Given) Address of the first element of an array of double containing</span></div>
+<div class="line"><a name="l00824"></a><span class="lineno">  824</span> <span class="comment">*     the coordinate reference values, CRVALia.</span></div>
+<div class="line"><a name="l00825"></a><span class="lineno">  825</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00826"></a><span class="lineno">  826</span> <span class="comment">*   char (*cunit)[72]</span></div>
+<div class="line"><a name="l00827"></a><span class="lineno">  827</span> <span class="comment">*     (Given) Address of the first element of an array of char[72] containing</span></div>
+<div class="line"><a name="l00828"></a><span class="lineno">  828</span> <span class="comment">*     the CUNITia keyvalues which define the units of measurement of the</span></div>
+<div class="line"><a name="l00829"></a><span class="lineno">  829</span> <span class="comment">*     CRVALia, CDELTia, and CDi_ja keywords.</span></div>
+<div class="line"><a name="l00830"></a><span class="lineno">  830</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00831"></a><span class="lineno">  831</span> <span class="comment">*     As CUNITia is an optional header keyword, cunit[][72] may be left blank</span></div>
+<div class="line"><a name="l00832"></a><span class="lineno">  832</span> <span class="comment">*     but otherwise is expected to contain a standard units specification as</span></div>
+<div class="line"><a name="l00833"></a><span class="lineno">  833</span> <span class="comment">*     defined by WCS Paper I.  Utility function wcsutrn(), described in</span></div>
+<div class="line"><a name="l00834"></a><span class="lineno">  834</span> <span class="comment">*     wcsunits.h, is available to translate commonly used non-standard units</span></div>
+<div class="line"><a name="l00835"></a><span class="lineno">  835</span> <span class="comment">*     specifications but this must be done as a separate step before invoking</span></div>
+<div class="line"><a name="l00836"></a><span class="lineno">  836</span> <span class="comment">*     wcsset().</span></div>
 <div class="line"><a name="l00837"></a><span class="lineno">  837</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00838"></a><span class="lineno">  838</span> <span class="comment">*     For spectral axes, if cunit[][72] is not blank, wcsset() uses wcsunits()</span></div>
-<div class="line"><a name="l00839"></a><span class="lineno">  839</span> <span class="comment">*     to parse it and scale cdelt[], crval[], and cd[][*] to SI units.  It</span></div>
-<div class="line"><a name="l00840"></a><span class="lineno">  840</span> <span class="comment">*     then resets cunit[][72] accordingly.</span></div>
+<div class="line"><a name="l00838"></a><span class="lineno">  838</span> <span class="comment">*     For celestial axes, if cunit[][72] is not blank, wcsset() uses</span></div>
+<div class="line"><a name="l00839"></a><span class="lineno">  839</span> <span class="comment">*     wcsunits() to parse it and scale cdelt[], crval[], and cd[][*] to</span></div>
+<div class="line"><a name="l00840"></a><span class="lineno">  840</span> <span class="comment">*     degrees.  It then resets cunit[][72] to "deg".</span></div>
 <div class="line"><a name="l00841"></a><span class="lineno">  841</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00842"></a><span class="lineno">  842</span> <span class="comment">*     wcsset() ignores cunit[][72] for other coordinate types; cunit[][72] may</span></div>
-<div class="line"><a name="l00843"></a><span class="lineno">  843</span> <span class="comment">*     be used to label coordinate values.</span></div>
-<div class="line"><a name="l00844"></a><span class="lineno">  844</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00845"></a><span class="lineno">  845</span> <span class="comment">*     These variables accomodate the longest allowed string-valued FITS</span></div>
-<div class="line"><a name="l00846"></a><span class="lineno">  846</span> <span class="comment">*     keyword, being limited to 68 characters, plus the null-terminating</span></div>
-<div class="line"><a name="l00847"></a><span class="lineno">  847</span> <span class="comment">*     character.</span></div>
+<div class="line"><a name="l00842"></a><span class="lineno">  842</span> <span class="comment">*     For spectral axes, if cunit[][72] is not blank, wcsset() uses wcsunits()</span></div>
+<div class="line"><a name="l00843"></a><span class="lineno">  843</span> <span class="comment">*     to parse it and scale cdelt[], crval[], and cd[][*] to SI units.  It</span></div>
+<div class="line"><a name="l00844"></a><span class="lineno">  844</span> <span class="comment">*     then resets cunit[][72] accordingly.</span></div>
+<div class="line"><a name="l00845"></a><span class="lineno">  845</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00846"></a><span class="lineno">  846</span> <span class="comment">*     wcsset() ignores cunit[][72] for other coordinate types; cunit[][72] may</span></div>
+<div class="line"><a name="l00847"></a><span class="lineno">  847</span> <span class="comment">*     be used to label coordinate values.</span></div>
 <div class="line"><a name="l00848"></a><span class="lineno">  848</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00849"></a><span class="lineno">  849</span> <span class="comment">*   char (*ctype)[72]</span></div>
-<div class="line"><a name="l00850"></a><span class="lineno">  850</span> <span class="comment">*     (Given) Address of the first element of an array of char[72] containing</span></div>
-<div class="line"><a name="l00851"></a><span class="lineno">  851</span> <span class="comment">*     the coordinate axis types, CTYPEia.</span></div>
+<div class="line"><a name="l00849"></a><span class="lineno">  849</span> <span class="comment">*     These variables accomodate the longest allowed string-valued FITS</span></div>
+<div class="line"><a name="l00850"></a><span class="lineno">  850</span> <span class="comment">*     keyword, being limited to 68 characters, plus the null-terminating</span></div>
+<div class="line"><a name="l00851"></a><span class="lineno">  851</span> <span class="comment">*     character.</span></div>
 <div class="line"><a name="l00852"></a><span class="lineno">  852</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00853"></a><span class="lineno">  853</span> <span class="comment">*     The ctype[][72] keyword values must be in upper case and there must be</span></div>
-<div class="line"><a name="l00854"></a><span class="lineno">  854</span> <span class="comment">*     zero or one pair of matched celestial axis types, and zero or one</span></div>
-<div class="line"><a name="l00855"></a><span class="lineno">  855</span> <span class="comment">*     spectral axis.  The ctype[][72] strings should be padded with blanks on</span></div>
-<div class="line"><a name="l00856"></a><span class="lineno">  856</span> <span class="comment">*     the right and null-terminated so that they are at least eight characters</span></div>
-<div class="line"><a name="l00857"></a><span class="lineno">  857</span> <span class="comment">*     in length.</span></div>
-<div class="line"><a name="l00858"></a><span class="lineno">  858</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00859"></a><span class="lineno">  859</span> <span class="comment">*     These variables accomodate the longest allowed string-valued FITS</span></div>
-<div class="line"><a name="l00860"></a><span class="lineno">  860</span> <span class="comment">*     keyword, being limited to 68 characters, plus the null-terminating</span></div>
-<div class="line"><a name="l00861"></a><span class="lineno">  861</span> <span class="comment">*     character.</span></div>
+<div class="line"><a name="l00853"></a><span class="lineno">  853</span> <span class="comment">*   char (*ctype)[72]</span></div>
+<div class="line"><a name="l00854"></a><span class="lineno">  854</span> <span class="comment">*     (Given) Address of the first element of an array of char[72] containing</span></div>
+<div class="line"><a name="l00855"></a><span class="lineno">  855</span> <span class="comment">*     the coordinate axis types, CTYPEia.</span></div>
+<div class="line"><a name="l00856"></a><span class="lineno">  856</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00857"></a><span class="lineno">  857</span> <span class="comment">*     The ctype[][72] keyword values must be in upper case and there must be</span></div>
+<div class="line"><a name="l00858"></a><span class="lineno">  858</span> <span class="comment">*     zero or one pair of matched celestial axis types, and zero or one</span></div>
+<div class="line"><a name="l00859"></a><span class="lineno">  859</span> <span class="comment">*     spectral axis.  The ctype[][72] strings should be padded with blanks on</span></div>
+<div class="line"><a name="l00860"></a><span class="lineno">  860</span> <span class="comment">*     the right and null-terminated so that they are at least eight characters</span></div>
+<div class="line"><a name="l00861"></a><span class="lineno">  861</span> <span class="comment">*     in length.</span></div>
 <div class="line"><a name="l00862"></a><span class="lineno">  862</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00863"></a><span class="lineno">  863</span> <span class="comment">*   double lonpole</span></div>
-<div class="line"><a name="l00864"></a><span class="lineno">  864</span> <span class="comment">*     (Given and returned) The native longitude of the celestial pole, phi_p,</span></div>
-<div class="line"><a name="l00865"></a><span class="lineno">  865</span> <span class="comment">*     given by LONPOLEa [deg] or by PVi_2a [deg] attached to the longitude</span></div>
-<div class="line"><a name="l00866"></a><span class="lineno">  866</span> <span class="comment">*     axis which takes precedence if defined, and ...</span></div>
-<div class="line"><a name="l00867"></a><span class="lineno">  867</span> <span class="comment">*   double latpole</span></div>
-<div class="line"><a name="l00868"></a><span class="lineno">  868</span> <span class="comment">*     (Given and returned) ... the native latitude of the celestial pole,</span></div>
-<div class="line"><a name="l00869"></a><span class="lineno">  869</span> <span class="comment">*     theta_p, given by LATPOLEa [deg] or by PVi_3a [deg] attached to the</span></div>
-<div class="line"><a name="l00870"></a><span class="lineno">  870</span> <span class="comment">*     longitude axis which takes precedence if defined.</span></div>
-<div class="line"><a name="l00871"></a><span class="lineno">  871</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00872"></a><span class="lineno">  872</span> <span class="comment">*     lonpole and latpole may be left to default to values set by wcsini()</span></div>
-<div class="line"><a name="l00873"></a><span class="lineno">  873</span> <span class="comment">*     (see celprm::ref), but in any case they will be reset by wcsset() to</span></div>
-<div class="line"><a name="l00874"></a><span class="lineno">  874</span> <span class="comment">*     the values actually used.  Note therefore that if the wcsprm struct is</span></div>
-<div class="line"><a name="l00875"></a><span class="lineno">  875</span> <span class="comment">*     reused without resetting them, whether directly or via wcsini(), they</span></div>
-<div class="line"><a name="l00876"></a><span class="lineno">  876</span> <span class="comment">*     will no longer have their default values.</span></div>
-<div class="line"><a name="l00877"></a><span class="lineno">  877</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00878"></a><span class="lineno">  878</span> <span class="comment">*   double restfrq</span></div>
-<div class="line"><a name="l00879"></a><span class="lineno">  879</span> <span class="comment">*     (Given) The rest frequency [Hz], and/or ...</span></div>
-<div class="line"><a name="l00880"></a><span class="lineno">  880</span> <span class="comment">*   double restwav</span></div>
-<div class="line"><a name="l00881"></a><span class="lineno">  881</span> <span class="comment">*     (Given) ... the rest wavelength in vacuo [m], only one of which need be</span></div>
-<div class="line"><a name="l00882"></a><span class="lineno">  882</span> <span class="comment">*     given, the other should be set to zero.</span></div>
-<div class="line"><a name="l00883"></a><span class="lineno">  883</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00884"></a><span class="lineno">  884</span> <span class="comment">*   int npv</span></div>
-<div class="line"><a name="l00885"></a><span class="lineno">  885</span> <span class="comment">*     (Given) The number of entries in the wcsprm::pv[] array.</span></div>
-<div class="line"><a name="l00886"></a><span class="lineno">  886</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00887"></a><span class="lineno">  887</span> <span class="comment">*   int npvmax</span></div>
-<div class="line"><a name="l00888"></a><span class="lineno">  888</span> <span class="comment">*     (Given or returned) The length of the wcsprm::pv[] array.</span></div>
-<div class="line"><a name="l00889"></a><span class="lineno">  889</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00890"></a><span class="lineno">  890</span> <span class="comment">*     npvmax will be set by wcsini() if it allocates memory for wcsprm::pv[],</span></div>
-<div class="line"><a name="l00891"></a><span class="lineno">  891</span> <span class="comment">*     otherwise it must be set by the user.  See also wcsnpv().</span></div>
-<div class="line"><a name="l00892"></a><span class="lineno">  892</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00893"></a><span class="lineno">  893</span> <span class="comment">*   struct pvcard *pv</span></div>
-<div class="line"><a name="l00894"></a><span class="lineno">  894</span> <span class="comment">*     (Given or returned) Address of the first element of an array of length</span></div>
-<div class="line"><a name="l00895"></a><span class="lineno">  895</span> <span class="comment">*     npvmax of pvcard structs.  Set by wcsini() if it allocates memory for</span></div>
-<div class="line"><a name="l00896"></a><span class="lineno">  896</span> <span class="comment">*     pv[], otherwise it must be set by the user.  See also wcsnpv().</span></div>
-<div class="line"><a name="l00897"></a><span class="lineno">  897</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00898"></a><span class="lineno">  898</span> <span class="comment">*     As a FITS header parser encounters each PVi_ma keyword it should load it</span></div>
-<div class="line"><a name="l00899"></a><span class="lineno">  899</span> <span class="comment">*     into a pvcard struct in the array and increment npv.  wcsset()</span></div>
-<div class="line"><a name="l00900"></a><span class="lineno">  900</span> <span class="comment">*     interprets these as required.</span></div>
+<div class="line"><a name="l00863"></a><span class="lineno">  863</span> <span class="comment">*     These variables accomodate the longest allowed string-valued FITS</span></div>
+<div class="line"><a name="l00864"></a><span class="lineno">  864</span> <span class="comment">*     keyword, being limited to 68 characters, plus the null-terminating</span></div>
+<div class="line"><a name="l00865"></a><span class="lineno">  865</span> <span class="comment">*     character.</span></div>
+<div class="line"><a name="l00866"></a><span class="lineno">  866</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00867"></a><span class="lineno">  867</span> <span class="comment">*   double lonpole</span></div>
+<div class="line"><a name="l00868"></a><span class="lineno">  868</span> <span class="comment">*     (Given and returned) The native longitude of the celestial pole, phi_p,</span></div>
+<div class="line"><a name="l00869"></a><span class="lineno">  869</span> <span class="comment">*     given by LONPOLEa [deg] or by PVi_2a [deg] attached to the longitude</span></div>
+<div class="line"><a name="l00870"></a><span class="lineno">  870</span> <span class="comment">*     axis which takes precedence if defined, and ...</span></div>
+<div class="line"><a name="l00871"></a><span class="lineno">  871</span> <span class="comment">*   double latpole</span></div>
+<div class="line"><a name="l00872"></a><span class="lineno">  872</span> <span class="comment">*     (Given and returned) ... the native latitude of the celestial pole,</span></div>
+<div class="line"><a name="l00873"></a><span class="lineno">  873</span> <span class="comment">*     theta_p, given by LATPOLEa [deg] or by PVi_3a [deg] attached to the</span></div>
+<div class="line"><a name="l00874"></a><span class="lineno">  874</span> <span class="comment">*     longitude axis which takes precedence if defined.</span></div>
+<div class="line"><a name="l00875"></a><span class="lineno">  875</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00876"></a><span class="lineno">  876</span> <span class="comment">*     lonpole and latpole may be left to default to values set by wcsini()</span></div>
+<div class="line"><a name="l00877"></a><span class="lineno">  877</span> <span class="comment">*     (see celprm::ref), but in any case they will be reset by wcsset() to</span></div>
+<div class="line"><a name="l00878"></a><span class="lineno">  878</span> <span class="comment">*     the values actually used.  Note therefore that if the wcsprm struct is</span></div>
+<div class="line"><a name="l00879"></a><span class="lineno">  879</span> <span class="comment">*     reused without resetting them, whether directly or via wcsini(), they</span></div>
+<div class="line"><a name="l00880"></a><span class="lineno">  880</span> <span class="comment">*     will no longer have their default values.</span></div>
+<div class="line"><a name="l00881"></a><span class="lineno">  881</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00882"></a><span class="lineno">  882</span> <span class="comment">*   double restfrq</span></div>
+<div class="line"><a name="l00883"></a><span class="lineno">  883</span> <span class="comment">*     (Given) The rest frequency [Hz], and/or ...</span></div>
+<div class="line"><a name="l00884"></a><span class="lineno">  884</span> <span class="comment">*   double restwav</span></div>
+<div class="line"><a name="l00885"></a><span class="lineno">  885</span> <span class="comment">*     (Given) ... the rest wavelength in vacuo [m], only one of which need be</span></div>
+<div class="line"><a name="l00886"></a><span class="lineno">  886</span> <span class="comment">*     given, the other should be set to zero.</span></div>
+<div class="line"><a name="l00887"></a><span class="lineno">  887</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00888"></a><span class="lineno">  888</span> <span class="comment">*   int npv</span></div>
+<div class="line"><a name="l00889"></a><span class="lineno">  889</span> <span class="comment">*     (Given) The number of entries in the wcsprm::pv[] array.</span></div>
+<div class="line"><a name="l00890"></a><span class="lineno">  890</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00891"></a><span class="lineno">  891</span> <span class="comment">*   int npvmax</span></div>
+<div class="line"><a name="l00892"></a><span class="lineno">  892</span> <span class="comment">*     (Given or returned) The length of the wcsprm::pv[] array.</span></div>
+<div class="line"><a name="l00893"></a><span class="lineno">  893</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00894"></a><span class="lineno">  894</span> <span class="comment">*     npvmax will be set by wcsini() if it allocates memory for wcsprm::pv[],</span></div>
+<div class="line"><a name="l00895"></a><span class="lineno">  895</span> <span class="comment">*     otherwise it must be set by the user.  See also wcsnpv().</span></div>
+<div class="line"><a name="l00896"></a><span class="lineno">  896</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00897"></a><span class="lineno">  897</span> <span class="comment">*   struct pvcard *pv</span></div>
+<div class="line"><a name="l00898"></a><span class="lineno">  898</span> <span class="comment">*     (Given or returned) Address of the first element of an array of length</span></div>
+<div class="line"><a name="l00899"></a><span class="lineno">  899</span> <span class="comment">*     npvmax of pvcard structs.  Set by wcsini() if it allocates memory for</span></div>
+<div class="line"><a name="l00900"></a><span class="lineno">  900</span> <span class="comment">*     pv[], otherwise it must be set by the user.  See also wcsnpv().</span></div>
 <div class="line"><a name="l00901"></a><span class="lineno">  901</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00902"></a><span class="lineno">  902</span> <span class="comment">*     Note that, if they were not given, wcsset() resets the entries for</span></div>
-<div class="line"><a name="l00903"></a><span class="lineno">  903</span> <span class="comment">*     PVi_1a, PVi_2a, PVi_3a, and PVi_4a for longitude axis i to match</span></div>
-<div class="line"><a name="l00904"></a><span class="lineno">  904</span> <span class="comment">*     phi_0 and theta_0 (the native longitude and latitude of the reference</span></div>
-<div class="line"><a name="l00905"></a><span class="lineno">  905</span> <span class="comment">*     point), LONPOLEa and LATPOLEa respectively.</span></div>
-<div class="line"><a name="l00906"></a><span class="lineno">  906</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00907"></a><span class="lineno">  907</span> <span class="comment">*   int nps</span></div>
-<div class="line"><a name="l00908"></a><span class="lineno">  908</span> <span class="comment">*     (Given) The number of entries in the wcsprm::ps[] array.</span></div>
-<div class="line"><a name="l00909"></a><span class="lineno">  909</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00910"></a><span class="lineno">  910</span> <span class="comment">*   int npsmax</span></div>
-<div class="line"><a name="l00911"></a><span class="lineno">  911</span> <span class="comment">*     (Given or returned) The length of the wcsprm::ps[] array.</span></div>
-<div class="line"><a name="l00912"></a><span class="lineno">  912</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00913"></a><span class="lineno">  913</span> <span class="comment">*     npsmax will be set by wcsini() if it allocates memory for wcsprm::ps[],</span></div>
-<div class="line"><a name="l00914"></a><span class="lineno">  914</span> <span class="comment">*     otherwise it must be set by the user.  See also wcsnps().</span></div>
-<div class="line"><a name="l00915"></a><span class="lineno">  915</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00916"></a><span class="lineno">  916</span> <span class="comment">*   struct pscard *ps</span></div>
-<div class="line"><a name="l00917"></a><span class="lineno">  917</span> <span class="comment">*     (Given or returned) Address of the first element of an array of length</span></div>
-<div class="line"><a name="l00918"></a><span class="lineno">  918</span> <span class="comment">*     npsmax of pscard structs.  Set by wcsini() if it allocates memory for</span></div>
-<div class="line"><a name="l00919"></a><span class="lineno">  919</span> <span class="comment">*     ps[], otherwise it must be set by the user.  See also wcsnps().</span></div>
-<div class="line"><a name="l00920"></a><span class="lineno">  920</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00921"></a><span class="lineno">  921</span> <span class="comment">*     As a FITS header parser encounters each PSi_ma keyword it should load it</span></div>
-<div class="line"><a name="l00922"></a><span class="lineno">  922</span> <span class="comment">*     into a pscard struct in the array and increment nps.  wcsset()</span></div>
-<div class="line"><a name="l00923"></a><span class="lineno">  923</span> <span class="comment">*     interprets these as required (currently no PSi_ma keyvalues are</span></div>
-<div class="line"><a name="l00924"></a><span class="lineno">  924</span> <span class="comment">*     recognized).</span></div>
-<div class="line"><a name="l00925"></a><span class="lineno">  925</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00926"></a><span class="lineno">  926</span> <span class="comment">*   double *cd</span></div>
-<div class="line"><a name="l00927"></a><span class="lineno">  927</span> <span class="comment">*     (Given) For historical compatibility, the wcsprm struct supports two</span></div>
-<div class="line"><a name="l00928"></a><span class="lineno">  928</span> <span class="comment">*     alternate specifications of the linear transformation matrix, those</span></div>
-<div class="line"><a name="l00929"></a><span class="lineno">  929</span> <span class="comment">*     associated with the CDi_ja keywords, and ...</span></div>
-<div class="line"><a name="l00930"></a><span class="lineno">  930</span> <span class="comment">*   double *crota</span></div>
-<div class="line"><a name="l00931"></a><span class="lineno">  931</span> <span class="comment">*     (Given) ... those associated with the CROTAia keywords.  Although these</span></div>
-<div class="line"><a name="l00932"></a><span class="lineno">  932</span> <span class="comment">*     may not formally co-exist with PCi_ja, the approach taken here is simply</span></div>
-<div class="line"><a name="l00933"></a><span class="lineno">  933</span> <span class="comment">*     to ignore them if given in conjunction with PCi_ja.</span></div>
-<div class="line"><a name="l00934"></a><span class="lineno">  934</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00935"></a><span class="lineno">  935</span> <span class="comment">*   int altlin</span></div>
-<div class="line"><a name="l00936"></a><span class="lineno">  936</span> <span class="comment">*     (Given) altlin is a bit flag that denotes which of the PCi_ja, CDi_ja</span></div>
-<div class="line"><a name="l00937"></a><span class="lineno">  937</span> <span class="comment">*     and CROTAia keywords are present in the header:</span></div>
+<div class="line"><a name="l00902"></a><span class="lineno">  902</span> <span class="comment">*     As a FITS header parser encounters each PVi_ma keyword it should load it</span></div>
+<div class="line"><a name="l00903"></a><span class="lineno">  903</span> <span class="comment">*     into a pvcard struct in the array and increment npv.  wcsset()</span></div>
+<div class="line"><a name="l00904"></a><span class="lineno">  904</span> <span class="comment">*     interprets these as required.</span></div>
+<div class="line"><a name="l00905"></a><span class="lineno">  905</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00906"></a><span class="lineno">  906</span> <span class="comment">*     Note that, if they were not given, wcsset() resets the entries for</span></div>
+<div class="line"><a name="l00907"></a><span class="lineno">  907</span> <span class="comment">*     PVi_1a, PVi_2a, PVi_3a, and PVi_4a for longitude axis i to match</span></div>
+<div class="line"><a name="l00908"></a><span class="lineno">  908</span> <span class="comment">*     phi_0 and theta_0 (the native longitude and latitude of the reference</span></div>
+<div class="line"><a name="l00909"></a><span class="lineno">  909</span> <span class="comment">*     point), LONPOLEa and LATPOLEa respectively.</span></div>
+<div class="line"><a name="l00910"></a><span class="lineno">  910</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00911"></a><span class="lineno">  911</span> <span class="comment">*   int nps</span></div>
+<div class="line"><a name="l00912"></a><span class="lineno">  912</span> <span class="comment">*     (Given) The number of entries in the wcsprm::ps[] array.</span></div>
+<div class="line"><a name="l00913"></a><span class="lineno">  913</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00914"></a><span class="lineno">  914</span> <span class="comment">*   int npsmax</span></div>
+<div class="line"><a name="l00915"></a><span class="lineno">  915</span> <span class="comment">*     (Given or returned) The length of the wcsprm::ps[] array.</span></div>
+<div class="line"><a name="l00916"></a><span class="lineno">  916</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00917"></a><span class="lineno">  917</span> <span class="comment">*     npsmax will be set by wcsini() if it allocates memory for wcsprm::ps[],</span></div>
+<div class="line"><a name="l00918"></a><span class="lineno">  918</span> <span class="comment">*     otherwise it must be set by the user.  See also wcsnps().</span></div>
+<div class="line"><a name="l00919"></a><span class="lineno">  919</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00920"></a><span class="lineno">  920</span> <span class="comment">*   struct pscard *ps</span></div>
+<div class="line"><a name="l00921"></a><span class="lineno">  921</span> <span class="comment">*     (Given or returned) Address of the first element of an array of length</span></div>
+<div class="line"><a name="l00922"></a><span class="lineno">  922</span> <span class="comment">*     npsmax of pscard structs.  Set by wcsini() if it allocates memory for</span></div>
+<div class="line"><a name="l00923"></a><span class="lineno">  923</span> <span class="comment">*     ps[], otherwise it must be set by the user.  See also wcsnps().</span></div>
+<div class="line"><a name="l00924"></a><span class="lineno">  924</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00925"></a><span class="lineno">  925</span> <span class="comment">*     As a FITS header parser encounters each PSi_ma keyword it should load it</span></div>
+<div class="line"><a name="l00926"></a><span class="lineno">  926</span> <span class="comment">*     into a pscard struct in the array and increment nps.  wcsset()</span></div>
+<div class="line"><a name="l00927"></a><span class="lineno">  927</span> <span class="comment">*     interprets these as required (currently no PSi_ma keyvalues are</span></div>
+<div class="line"><a name="l00928"></a><span class="lineno">  928</span> <span class="comment">*     recognized).</span></div>
+<div class="line"><a name="l00929"></a><span class="lineno">  929</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00930"></a><span class="lineno">  930</span> <span class="comment">*   double *cd</span></div>
+<div class="line"><a name="l00931"></a><span class="lineno">  931</span> <span class="comment">*     (Given) For historical compatibility, the wcsprm struct supports two</span></div>
+<div class="line"><a name="l00932"></a><span class="lineno">  932</span> <span class="comment">*     alternate specifications of the linear transformation matrix, those</span></div>
+<div class="line"><a name="l00933"></a><span class="lineno">  933</span> <span class="comment">*     associated with the CDi_ja keywords, and ...</span></div>
+<div class="line"><a name="l00934"></a><span class="lineno">  934</span> <span class="comment">*   double *crota</span></div>
+<div class="line"><a name="l00935"></a><span class="lineno">  935</span> <span class="comment">*     (Given) ... those associated with the CROTAia keywords.  Although these</span></div>
+<div class="line"><a name="l00936"></a><span class="lineno">  936</span> <span class="comment">*     may not formally co-exist with PCi_ja, the approach taken here is simply</span></div>
+<div class="line"><a name="l00937"></a><span class="lineno">  937</span> <span class="comment">*     to ignore them if given in conjunction with PCi_ja.</span></div>
 <div class="line"><a name="l00938"></a><span class="lineno">  938</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00939"></a><span class="lineno">  939</span> <span class="comment">*     - Bit 0: PCi_ja is present.</span></div>
-<div class="line"><a name="l00940"></a><span class="lineno">  940</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00941"></a><span class="lineno">  941</span> <span class="comment">*     - Bit 1: CDi_ja is present.</span></div>
+<div class="line"><a name="l00939"></a><span class="lineno">  939</span> <span class="comment">*   int altlin</span></div>
+<div class="line"><a name="l00940"></a><span class="lineno">  940</span> <span class="comment">*     (Given) altlin is a bit flag that denotes which of the PCi_ja, CDi_ja</span></div>
+<div class="line"><a name="l00941"></a><span class="lineno">  941</span> <span class="comment">*     and CROTAia keywords are present in the header:</span></div>
 <div class="line"><a name="l00942"></a><span class="lineno">  942</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00943"></a><span class="lineno">  943</span> <span class="comment">*       Matrix elements in the IRAF convention are</span></div>
-<div class="line"><a name="l00944"></a><span class="lineno">  944</span> <span class="comment">*       equivalent to the product CDi_ja = CDELTia * PCi_ja, but the</span></div>
-<div class="line"><a name="l00945"></a><span class="lineno">  945</span> <span class="comment">*       defaults differ from that of the PCi_ja matrix.  If one or more</span></div>
-<div class="line"><a name="l00946"></a><span class="lineno">  946</span> <span class="comment">*       CDi_ja keywords are present then all unspecified CDi_ja default to</span></div>
-<div class="line"><a name="l00947"></a><span class="lineno">  947</span> <span class="comment">*       zero.  If no CDi_ja (or CROTAia) keywords are present, then the</span></div>
-<div class="line"><a name="l00948"></a><span class="lineno">  948</span> <span class="comment">*       header is assumed to be in PCi_ja form whether or not any PCi_ja</span></div>
-<div class="line"><a name="l00949"></a><span class="lineno">  949</span> <span class="comment">*       keywords are present since this results in an interpretation of</span></div>
-<div class="line"><a name="l00950"></a><span class="lineno">  950</span> <span class="comment">*       CDELTia consistent with the original FITS specification.</span></div>
-<div class="line"><a name="l00951"></a><span class="lineno">  951</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00952"></a><span class="lineno">  952</span> <span class="comment">*       While CDi_ja may not formally co-exist with PCi_ja, it may co-exist</span></div>
-<div class="line"><a name="l00953"></a><span class="lineno">  953</span> <span class="comment">*       with CDELTia and CROTAia which are to be ignored.</span></div>
-<div class="line"><a name="l00954"></a><span class="lineno">  954</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00955"></a><span class="lineno">  955</span> <span class="comment">*     - Bit 2: CROTAia is present.</span></div>
-<div class="line"><a name="l00956"></a><span class="lineno">  956</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00957"></a><span class="lineno">  957</span> <span class="comment">*       In the AIPS convention, CROTAia may only be</span></div>
-<div class="line"><a name="l00958"></a><span class="lineno">  958</span> <span class="comment">*       associated with the latitude axis of a celestial axis pair.  It</span></div>
-<div class="line"><a name="l00959"></a><span class="lineno">  959</span> <span class="comment">*       specifies a rotation in the image plane that is applied AFTER the</span></div>
-<div class="line"><a name="l00960"></a><span class="lineno">  960</span> <span class="comment">*       CDELTia; any other CROTAia keywords are ignored.</span></div>
-<div class="line"><a name="l00961"></a><span class="lineno">  961</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00962"></a><span class="lineno">  962</span> <span class="comment">*       CROTAia may not formally co-exist with PCi_ja.</span></div>
-<div class="line"><a name="l00963"></a><span class="lineno">  963</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00964"></a><span class="lineno">  964</span> <span class="comment">*       CROTAia and CDELTia may formally co-exist with CDi_ja but if so are to</span></div>
-<div class="line"><a name="l00965"></a><span class="lineno">  965</span> <span class="comment">*       be ignored.</span></div>
-<div class="line"><a name="l00966"></a><span class="lineno">  966</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00967"></a><span class="lineno">  967</span> <span class="comment">*     CDi_ja and CROTAia keywords, if found, are to be stored in the</span></div>
-<div class="line"><a name="l00968"></a><span class="lineno">  968</span> <span class="comment">*     wcsprm::cd and wcsprm::crota arrays which are dimensioned similarly to</span></div>
-<div class="line"><a name="l00969"></a><span class="lineno">  969</span> <span class="comment">*     wcsprm::pc and wcsprm::cdelt.  FITS</span></div>
-<div class="line"><a name="l00970"></a><span class="lineno">  970</span> <span class="comment">*     header parsers should use the following procedure:</span></div>
-<div class="line"><a name="l00971"></a><span class="lineno">  971</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00972"></a><span class="lineno">  972</span> <span class="comment">*     - Whenever a PCi_ja  keyword is encountered: altlin |= 1;</span></div>
-<div class="line"><a name="l00973"></a><span class="lineno">  973</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00974"></a><span class="lineno">  974</span> <span class="comment">*     - Whenever a CDi_ja  keyword is encountered: altlin |= 2;</span></div>
+<div class="line"><a name="l00943"></a><span class="lineno">  943</span> <span class="comment">*     - Bit 0: PCi_ja is present.</span></div>
+<div class="line"><a name="l00944"></a><span class="lineno">  944</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00945"></a><span class="lineno">  945</span> <span class="comment">*     - Bit 1: CDi_ja is present.</span></div>
+<div class="line"><a name="l00946"></a><span class="lineno">  946</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00947"></a><span class="lineno">  947</span> <span class="comment">*       Matrix elements in the IRAF convention are</span></div>
+<div class="line"><a name="l00948"></a><span class="lineno">  948</span> <span class="comment">*       equivalent to the product CDi_ja = CDELTia * PCi_ja, but the</span></div>
+<div class="line"><a name="l00949"></a><span class="lineno">  949</span> <span class="comment">*       defaults differ from that of the PCi_ja matrix.  If one or more</span></div>
+<div class="line"><a name="l00950"></a><span class="lineno">  950</span> <span class="comment">*       CDi_ja keywords are present then all unspecified CDi_ja default to</span></div>
+<div class="line"><a name="l00951"></a><span class="lineno">  951</span> <span class="comment">*       zero.  If no CDi_ja (or CROTAia) keywords are present, then the</span></div>
+<div class="line"><a name="l00952"></a><span class="lineno">  952</span> <span class="comment">*       header is assumed to be in PCi_ja form whether or not any PCi_ja</span></div>
+<div class="line"><a name="l00953"></a><span class="lineno">  953</span> <span class="comment">*       keywords are present since this results in an interpretation of</span></div>
+<div class="line"><a name="l00954"></a><span class="lineno">  954</span> <span class="comment">*       CDELTia consistent with the original FITS specification.</span></div>
+<div class="line"><a name="l00955"></a><span class="lineno">  955</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00956"></a><span class="lineno">  956</span> <span class="comment">*       While CDi_ja may not formally co-exist with PCi_ja, it may co-exist</span></div>
+<div class="line"><a name="l00957"></a><span class="lineno">  957</span> <span class="comment">*       with CDELTia and CROTAia which are to be ignored.</span></div>
+<div class="line"><a name="l00958"></a><span class="lineno">  958</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00959"></a><span class="lineno">  959</span> <span class="comment">*     - Bit 2: CROTAia is present.</span></div>
+<div class="line"><a name="l00960"></a><span class="lineno">  960</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00961"></a><span class="lineno">  961</span> <span class="comment">*       In the AIPS convention, CROTAia may only be</span></div>
+<div class="line"><a name="l00962"></a><span class="lineno">  962</span> <span class="comment">*       associated with the latitude axis of a celestial axis pair.  It</span></div>
+<div class="line"><a name="l00963"></a><span class="lineno">  963</span> <span class="comment">*       specifies a rotation in the image plane that is applied AFTER the</span></div>
+<div class="line"><a name="l00964"></a><span class="lineno">  964</span> <span class="comment">*       CDELTia; any other CROTAia keywords are ignored.</span></div>
+<div class="line"><a name="l00965"></a><span class="lineno">  965</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00966"></a><span class="lineno">  966</span> <span class="comment">*       CROTAia may not formally co-exist with PCi_ja.</span></div>
+<div class="line"><a name="l00967"></a><span class="lineno">  967</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00968"></a><span class="lineno">  968</span> <span class="comment">*       CROTAia and CDELTia may formally co-exist with CDi_ja but if so are to</span></div>
+<div class="line"><a name="l00969"></a><span class="lineno">  969</span> <span class="comment">*       be ignored.</span></div>
+<div class="line"><a name="l00970"></a><span class="lineno">  970</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00971"></a><span class="lineno">  971</span> <span class="comment">*     CDi_ja and CROTAia keywords, if found, are to be stored in the</span></div>
+<div class="line"><a name="l00972"></a><span class="lineno">  972</span> <span class="comment">*     wcsprm::cd and wcsprm::crota arrays which are dimensioned similarly to</span></div>
+<div class="line"><a name="l00973"></a><span class="lineno">  973</span> <span class="comment">*     wcsprm::pc and wcsprm::cdelt.  FITS</span></div>
+<div class="line"><a name="l00974"></a><span class="lineno">  974</span> <span class="comment">*     header parsers should use the following procedure:</span></div>
 <div class="line"><a name="l00975"></a><span class="lineno">  975</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00976"></a><span class="lineno">  976</span> <span class="comment">*     - Whenever a CROTAia keyword is encountered: altlin |= 4;</span></div>
+<div class="line"><a name="l00976"></a><span class="lineno">  976</span> <span class="comment">*     - Whenever a PCi_ja  keyword is encountered: altlin |= 1;</span></div>
 <div class="line"><a name="l00977"></a><span class="lineno">  977</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00978"></a><span class="lineno">  978</span> <span class="comment">*     If none of these bits are set the PCi_ja representation results, i.e.</span></div>
-<div class="line"><a name="l00979"></a><span class="lineno">  979</span> <span class="comment">*     wcsprm::pc and wcsprm::cdelt will be used as given.</span></div>
-<div class="line"><a name="l00980"></a><span class="lineno">  980</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00981"></a><span class="lineno">  981</span> <span class="comment">*     These alternate specifications of the linear transformation matrix are</span></div>
-<div class="line"><a name="l00982"></a><span class="lineno">  982</span> <span class="comment">*     translated immediately to PCi_ja by wcsset() and are invisible to the</span></div>
-<div class="line"><a name="l00983"></a><span class="lineno">  983</span> <span class="comment">*     lower-level WCSLIB routines.  In particular, wcsset() resets</span></div>
-<div class="line"><a name="l00984"></a><span class="lineno">  984</span> <span class="comment">*     wcsprm::cdelt to unity if CDi_ja is present (and no PCi_ja).</span></div>
-<div class="line"><a name="l00985"></a><span class="lineno">  985</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00986"></a><span class="lineno">  986</span> <span class="comment">*     If CROTAia are present but none is associated with the latitude axis</span></div>
-<div class="line"><a name="l00987"></a><span class="lineno">  987</span> <span class="comment">*     (and no PCi_ja or CDi_ja), then wcsset() reverts to a unity PCi_ja</span></div>
-<div class="line"><a name="l00988"></a><span class="lineno">  988</span> <span class="comment">*     matrix.</span></div>
+<div class="line"><a name="l00978"></a><span class="lineno">  978</span> <span class="comment">*     - Whenever a CDi_ja  keyword is encountered: altlin |= 2;</span></div>
+<div class="line"><a name="l00979"></a><span class="lineno">  979</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00980"></a><span class="lineno">  980</span> <span class="comment">*     - Whenever a CROTAia keyword is encountered: altlin |= 4;</span></div>
+<div class="line"><a name="l00981"></a><span class="lineno">  981</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00982"></a><span class="lineno">  982</span> <span class="comment">*     If none of these bits are set the PCi_ja representation results, i.e.</span></div>
+<div class="line"><a name="l00983"></a><span class="lineno">  983</span> <span class="comment">*     wcsprm::pc and wcsprm::cdelt will be used as given.</span></div>
+<div class="line"><a name="l00984"></a><span class="lineno">  984</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00985"></a><span class="lineno">  985</span> <span class="comment">*     These alternate specifications of the linear transformation matrix are</span></div>
+<div class="line"><a name="l00986"></a><span class="lineno">  986</span> <span class="comment">*     translated immediately to PCi_ja by wcsset() and are invisible to the</span></div>
+<div class="line"><a name="l00987"></a><span class="lineno">  987</span> <span class="comment">*     lower-level WCSLIB routines.  In particular, wcsset() resets</span></div>
+<div class="line"><a name="l00988"></a><span class="lineno">  988</span> <span class="comment">*     wcsprm::cdelt to unity if CDi_ja is present (and no PCi_ja).</span></div>
 <div class="line"><a name="l00989"></a><span class="lineno">  989</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00990"></a><span class="lineno">  990</span> <span class="comment">*   int velref</span></div>
-<div class="line"><a name="l00991"></a><span class="lineno">  991</span> <span class="comment">*     (Given) AIPS velocity code VELREF, refer to spcaips().</span></div>
-<div class="line"><a name="l00992"></a><span class="lineno">  992</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00993"></a><span class="lineno">  993</span> <span class="comment">*   char alt[4]</span></div>
-<div class="line"><a name="l00994"></a><span class="lineno">  994</span> <span class="comment">*     (Given, auxiliary) Character code for alternate coordinate descriptions</span></div>
-<div class="line"><a name="l00995"></a><span class="lineno">  995</span> <span class="comment">*     (i.e. the 'a' in keyword names such as CTYPEia).  This is blank for the</span></div>
-<div class="line"><a name="l00996"></a><span class="lineno">  996</span> <span class="comment">*     primary coordinate description, or one of the 26 upper-case letters,</span></div>
-<div class="line"><a name="l00997"></a><span class="lineno">  997</span> <span class="comment">*     A-Z.</span></div>
-<div class="line"><a name="l00998"></a><span class="lineno">  998</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00999"></a><span class="lineno">  999</span> <span class="comment">*     An array of four characters is provided for alignment purposes, only the</span></div>
-<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span> <span class="comment">*     first is used.</span></div>
-<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span> <span class="comment">*   int colnum</span></div>
-<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span> <span class="comment">*     (Given, auxiliary) Where the coordinate representation is associated</span></div>
-<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span> <span class="comment">*     with an image-array column in a FITS binary table, this variable may be</span></div>
-<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span> <span class="comment">*     used to record the relevant column number.</span></div>
-<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span> <span class="comment">*     It should be set to zero for an image header or pixel list.</span></div>
-<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span> <span class="comment">*   int *colax</span></div>
-<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span> <span class="comment">*     (Given, auxiliary) Address of the first element of an array of int</span></div>
-<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span> <span class="comment">*     recording the column numbers for each axis in a pixel list.</span></div>
+<div class="line"><a name="l00990"></a><span class="lineno">  990</span> <span class="comment">*     If CROTAia are present but none is associated with the latitude axis</span></div>
+<div class="line"><a name="l00991"></a><span class="lineno">  991</span> <span class="comment">*     (and no PCi_ja or CDi_ja), then wcsset() reverts to a unity PCi_ja</span></div>
+<div class="line"><a name="l00992"></a><span class="lineno">  992</span> <span class="comment">*     matrix.</span></div>
+<div class="line"><a name="l00993"></a><span class="lineno">  993</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00994"></a><span class="lineno">  994</span> <span class="comment">*   int velref</span></div>
+<div class="line"><a name="l00995"></a><span class="lineno">  995</span> <span class="comment">*     (Given) AIPS velocity code VELREF, refer to spcaips().</span></div>
+<div class="line"><a name="l00996"></a><span class="lineno">  996</span> <span class="comment">*</span></div>
+<div class="line"><a name="l00997"></a><span class="lineno">  997</span> <span class="comment">*   char alt[4]</span></div>
+<div class="line"><a name="l00998"></a><span class="lineno">  998</span> <span class="comment">*     (Given, auxiliary) Character code for alternate coordinate descriptions</span></div>
+<div class="line"><a name="l00999"></a><span class="lineno">  999</span> <span class="comment">*     (i.e. the 'a' in keyword names such as CTYPEia).  This is blank for the</span></div>
+<div class="line"><a name="l01000"></a><span class="lineno"> 1000</span> <span class="comment">*     primary coordinate description, or one of the 26 upper-case letters,</span></div>
+<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span> <span class="comment">*     A-Z.</span></div>
+<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span> <span class="comment">*     An array of four characters is provided for alignment purposes, only the</span></div>
+<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span> <span class="comment">*     first is used.</span></div>
+<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span> <span class="comment">*   int colnum</span></div>
+<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span> <span class="comment">*     (Given, auxiliary) Where the coordinate representation is associated</span></div>
+<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span> <span class="comment">*     with an image-array column in a FITS binary table, this variable may be</span></div>
+<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span> <span class="comment">*     used to record the relevant column number.</span></div>
+<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span> <span class="comment">*     It should be set to zero for an image header or pixel list.</span></div>
 <div class="line"><a name="l01012"></a><span class="lineno"> 1012</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span> <span class="comment">*     The array elements should be set to zero for an image header or image</span></div>
-<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span> <span class="comment">*     array in a binary table.</span></div>
-<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span> <span class="comment">*   char (*cname)[72]</span></div>
-<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span> <span class="comment">*     (Given, auxiliary) The address of the first element of an array of</span></div>
-<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span> <span class="comment">*     char[72] containing the coordinate axis names, CNAMEia.</span></div>
+<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span> <span class="comment">*   int *colax</span></div>
+<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span> <span class="comment">*     (Given, auxiliary) Address of the first element of an array of int</span></div>
+<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span> <span class="comment">*     recording the column numbers for each axis in a pixel list.</span></div>
+<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span> <span class="comment">*     The array elements should be set to zero for an image header or image</span></div>
+<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span> <span class="comment">*     array in a binary table.</span></div>
 <div class="line"><a name="l01019"></a><span class="lineno"> 1019</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span> <span class="comment">*     These variables accomodate the longest allowed string-valued FITS</span></div>
-<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span> <span class="comment">*     keyword, being limited to 68 characters, plus the null-terminating</span></div>
-<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span> <span class="comment">*     character.</span></div>
+<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span> <span class="comment">*   char (*cname)[72]</span></div>
+<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span> <span class="comment">*     (Given, auxiliary) The address of the first element of an array of</span></div>
+<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span> <span class="comment">*     char[72] containing the coordinate axis names, CNAMEia.</span></div>
 <div class="line"><a name="l01023"></a><span class="lineno"> 1023</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span> <span class="comment">*   double *crder</span></div>
-<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span> <span class="comment">*     (Given, auxiliary) Address of the first element of an array of double</span></div>
-<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span> <span class="comment">*     recording the random error in the coordinate value, CRDERia.</span></div>
-<div class="line"><a name="l01027"></a><span class="lineno"> 1027</span> <span class="comment">*   double *csyer</span></div>
-<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span> <span class="comment">*     (Given, auxiliary) Address of the first element of an array of double</span></div>
-<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span> <span class="comment">*     recording the systematic error in the coordinate value, CSYERia.</span></div>
-<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span> <span class="comment">*   char dateavg[72]</span></div>
-<div class="line"><a name="l01032"></a><span class="lineno"> 1032</span> <span class="comment">*     (Given, auxiliary) The date of a representative mid-point of the</span></div>
-<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span> <span class="comment">*     observation in ISO format, yyyy-mm-ddThh:mm:ss.</span></div>
-<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span> <span class="comment">*   char dateobs[72]</span></div>
-<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span> <span class="comment">*     (Given, auxiliary) The date of the start of the observation unless</span></div>
-<div class="line"><a name="l01036"></a><span class="lineno"> 1036</span> <span class="comment">*     otherwise explained in the comment field of the DATE-OBS keyword, in</span></div>
-<div class="line"><a name="l01037"></a><span class="lineno"> 1037</span> <span class="comment">*     ISO format, yyyy-mm-ddThh:mm:ss.</span></div>
-<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span> <span class="comment">*   double equinox</span></div>
-<div class="line"><a name="l01040"></a><span class="lineno"> 1040</span> <span class="comment">*     (Given, auxiliary) The equinox associated with dynamical equatorial or</span></div>
-<div class="line"><a name="l01041"></a><span class="lineno"> 1041</span> <span class="comment">*     ecliptic coordinate systems, EQUINOXa (or EPOCH in older headers).  Not</span></div>
-<div class="line"><a name="l01042"></a><span class="lineno"> 1042</span> <span class="comment">*     applicable to ICRS equatorial or ecliptic coordinates.</span></div>
-<div class="line"><a name="l01043"></a><span class="lineno"> 1043</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01044"></a><span class="lineno"> 1044</span> <span class="comment">*   double mjdavg</span></div>
-<div class="line"><a name="l01045"></a><span class="lineno"> 1045</span> <span class="comment">*     (Given, auxiliary) Modified Julian Date (MJD = JD - 2400000.5), MJD-AVG,</span></div>
-<div class="line"><a name="l01046"></a><span class="lineno"> 1046</span> <span class="comment">*     corresponding to DATE-AVG.</span></div>
-<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span> <span class="comment">*   double mjdobs</span></div>
-<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span> <span class="comment">*     (Given, auxiliary) Modified Julian Date (MJD = JD - 2400000.5), MJD-OBS,</span></div>
-<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span> <span class="comment">*     corresponding to DATE-OBS.</span></div>
-<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span> <span class="comment">*   double obsgeo[3]</span></div>
-<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span> <span class="comment">*     (Given, auxiliary) Location of the observer in a standard terrestrial</span></div>
-<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span> <span class="comment">*     reference frame, OBSGEO-X, OBSGEO-Y, OBSGEO-Z [m].</span></div>
+<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span> <span class="comment">*     These variables accomodate the longest allowed string-valued FITS</span></div>
+<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span> <span class="comment">*     keyword, being limited to 68 characters, plus the null-terminating</span></div>
+<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span> <span class="comment">*     character.</span></div>
+<div class="line"><a name="l01027"></a><span class="lineno"> 1027</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span> <span class="comment">*   double *crder</span></div>
+<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span> <span class="comment">*     (Given, auxiliary) Address of the first element of an array of double</span></div>
+<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span> <span class="comment">*     recording the random error in the coordinate value, CRDERia.</span></div>
+<div class="line"><a name="l01031"></a><span class="lineno"> 1031</span> <span class="comment">*   double *csyer</span></div>
+<div class="line"><a name="l01032"></a><span class="lineno"> 1032</span> <span class="comment">*     (Given, auxiliary) Address of the first element of an array of double</span></div>
+<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span> <span class="comment">*     recording the systematic error in the coordinate value, CSYERia.</span></div>
+<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span> <span class="comment">*   char dateavg[72]</span></div>
+<div class="line"><a name="l01036"></a><span class="lineno"> 1036</span> <span class="comment">*     (Given, auxiliary) The date of a representative mid-point of the</span></div>
+<div class="line"><a name="l01037"></a><span class="lineno"> 1037</span> <span class="comment">*     observation in ISO format, yyyy-mm-ddThh:mm:ss.</span></div>
+<div class="line"><a name="l01038"></a><span class="lineno"> 1038</span> <span class="comment">*   char dateobs[72]</span></div>
+<div class="line"><a name="l01039"></a><span class="lineno"> 1039</span> <span class="comment">*     (Given, auxiliary) The date of the start of the observation unless</span></div>
+<div class="line"><a name="l01040"></a><span class="lineno"> 1040</span> <span class="comment">*     otherwise explained in the comment field of the DATE-OBS keyword, in</span></div>
+<div class="line"><a name="l01041"></a><span class="lineno"> 1041</span> <span class="comment">*     ISO format, yyyy-mm-ddThh:mm:ss.</span></div>
+<div class="line"><a name="l01042"></a><span class="lineno"> 1042</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01043"></a><span class="lineno"> 1043</span> <span class="comment">*   double equinox</span></div>
+<div class="line"><a name="l01044"></a><span class="lineno"> 1044</span> <span class="comment">*     (Given, auxiliary) The equinox associated with dynamical equatorial or</span></div>
+<div class="line"><a name="l01045"></a><span class="lineno"> 1045</span> <span class="comment">*     ecliptic coordinate systems, EQUINOXa (or EPOCH in older headers).  Not</span></div>
+<div class="line"><a name="l01046"></a><span class="lineno"> 1046</span> <span class="comment">*     applicable to ICRS equatorial or ecliptic coordinates.</span></div>
+<div class="line"><a name="l01047"></a><span class="lineno"> 1047</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span> <span class="comment">*   double mjdavg</span></div>
+<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span> <span class="comment">*     (Given, auxiliary) Modified Julian Date (MJD = JD - 2400000.5), MJD-AVG,</span></div>
+<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span> <span class="comment">*     corresponding to DATE-AVG.</span></div>
+<div class="line"><a name="l01051"></a><span class="lineno"> 1051</span> <span class="comment">*   double mjdobs</span></div>
+<div class="line"><a name="l01052"></a><span class="lineno"> 1052</span> <span class="comment">*     (Given, auxiliary) Modified Julian Date (MJD = JD - 2400000.5), MJD-OBS,</span></div>
+<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span> <span class="comment">*     corresponding to DATE-OBS.</span></div>
 <div class="line"><a name="l01054"></a><span class="lineno"> 1054</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span> <span class="comment">*   char radesys[72]</span></div>
-<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span> <span class="comment">*     (Given, auxiliary) The equatorial or ecliptic coordinate system type,</span></div>
-<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span> <span class="comment">*     RADESYSa.</span></div>
+<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span> <span class="comment">*   double obsgeo[3]</span></div>
+<div class="line"><a name="l01056"></a><span class="lineno"> 1056</span> <span class="comment">*     (Given, auxiliary) Location of the observer in a standard terrestrial</span></div>
+<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span> <span class="comment">*     reference frame, OBSGEO-X, OBSGEO-Y, OBSGEO-Z [m].</span></div>
 <div class="line"><a name="l01058"></a><span class="lineno"> 1058</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01059"></a><span class="lineno"> 1059</span> <span class="comment">*   char specsys[72]</span></div>
-<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span> <span class="comment">*     (Given, auxiliary) Spectral reference frame (standard of rest),</span></div>
-<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span> <span class="comment">*     SPECSYSa, and ...</span></div>
-<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span> <span class="comment">*   char ssysobs[72]</span></div>
-<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span> <span class="comment">*     (Given, auxiliary) ... the actual frame in which there is no</span></div>
-<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span> <span class="comment">*     differential variation in the spectral coordinate across the</span></div>
-<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span> <span class="comment">*     field-of-view, SSYSOBSa.</span></div>
-<div class="line"><a name="l01066"></a><span class="lineno"> 1066</span> <span class="comment">*   double velosys</span></div>
-<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span> <span class="comment">*     (Given, auxiliary) The relative radial velocity [m/s] between the</span></div>
-<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span> <span class="comment">*     observer and the selected standard of rest in the direction of the</span></div>
-<div class="line"><a name="l01069"></a><span class="lineno"> 1069</span> <span class="comment">*     celestial reference coordinate, VELOSYSa.</span></div>
-<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span> <span class="comment">*   double zsource</span></div>
-<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span> <span class="comment">*     (Given, auxiliary) The redshift, ZSOURCEa, of the source, and ...</span></div>
-<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span> <span class="comment">*   char ssyssrc[72]</span></div>
-<div class="line"><a name="l01074"></a><span class="lineno"> 1074</span> <span class="comment">*     (Given, auxiliary) ... the spectral reference frame (standard of rest)</span></div>
-<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span> <span class="comment">*     in which this was measured, SSYSSRCa.</span></div>
-<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span> <span class="comment">*   double velangl</span></div>
-<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span> <span class="comment">*     (Given, auxiliary) The angle [deg] that should be used to decompose an</span></div>
-<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span> <span class="comment">*     observed velocity into radial and transverse components.</span></div>
+<div class="line"><a name="l01059"></a><span class="lineno"> 1059</span> <span class="comment">*   char radesys[72]</span></div>
+<div class="line"><a name="l01060"></a><span class="lineno"> 1060</span> <span class="comment">*     (Given, auxiliary) The equatorial or ecliptic coordinate system type,</span></div>
+<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span> <span class="comment">*     RADESYSa.</span></div>
+<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span> <span class="comment">*   char specsys[72]</span></div>
+<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span> <span class="comment">*     (Given, auxiliary) Spectral reference frame (standard of rest),</span></div>
+<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span> <span class="comment">*     SPECSYSa, and ...</span></div>
+<div class="line"><a name="l01066"></a><span class="lineno"> 1066</span> <span class="comment">*   char ssysobs[72]</span></div>
+<div class="line"><a name="l01067"></a><span class="lineno"> 1067</span> <span class="comment">*     (Given, auxiliary) ... the actual frame in which there is no</span></div>
+<div class="line"><a name="l01068"></a><span class="lineno"> 1068</span> <span class="comment">*     differential variation in the spectral coordinate across the</span></div>
+<div class="line"><a name="l01069"></a><span class="lineno"> 1069</span> <span class="comment">*     field-of-view, SSYSOBSa.</span></div>
+<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span> <span class="comment">*   double velosys</span></div>
+<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span> <span class="comment">*     (Given, auxiliary) The relative radial velocity [m/s] between the</span></div>
+<div class="line"><a name="l01072"></a><span class="lineno"> 1072</span> <span class="comment">*     observer and the selected standard of rest in the direction of the</span></div>
+<div class="line"><a name="l01073"></a><span class="lineno"> 1073</span> <span class="comment">*     celestial reference coordinate, VELOSYSa.</span></div>
+<div class="line"><a name="l01074"></a><span class="lineno"> 1074</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01075"></a><span class="lineno"> 1075</span> <span class="comment">*   double zsource</span></div>
+<div class="line"><a name="l01076"></a><span class="lineno"> 1076</span> <span class="comment">*     (Given, auxiliary) The redshift, ZSOURCEa, of the source, and ...</span></div>
+<div class="line"><a name="l01077"></a><span class="lineno"> 1077</span> <span class="comment">*   char ssyssrc[72]</span></div>
+<div class="line"><a name="l01078"></a><span class="lineno"> 1078</span> <span class="comment">*     (Given, auxiliary) ... the spectral reference frame (standard of rest)</span></div>
+<div class="line"><a name="l01079"></a><span class="lineno"> 1079</span> <span class="comment">*     in which this was measured, SSYSSRCa.</span></div>
 <div class="line"><a name="l01080"></a><span class="lineno"> 1080</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span> <span class="comment">*   char wcsname[72]</span></div>
-<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span> <span class="comment">*     (Given, auxiliary) The name given to the coordinate representation,</span></div>
-<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span> <span class="comment">*     WCSNAMEa.  This variable accomodates the longest allowed string-valued</span></div>
-<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span> <span class="comment">*     FITS keyword, being limited to 68 characters, plus the null-terminating</span></div>
-<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span> <span class="comment">*     character.</span></div>
-<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span> <span class="comment">*   int ntab</span></div>
-<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span> <span class="comment">*     (Given) See wcsprm::tab.</span></div>
-<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span> <span class="comment">*   int nwtb</span></div>
-<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span> <span class="comment">*     (Given) See wcsprm::wtb.</span></div>
-<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01093"></a><span class="lineno"> 1093</span> <span class="comment">*   struct tabprm *tab</span></div>
-<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span> <span class="comment">*     (Given) Address of the first element of an array of ntab tabprm structs</span></div>
-<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span> <span class="comment">*     for which memory has been allocated.  These are used to store tabular</span></div>
-<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span> <span class="comment">*     transformation parameters.</span></div>
-<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span> <span class="comment">*     Although technically wcsprm::ntab and tab are "given", they will</span></div>
-<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span> <span class="comment">*     normally be set by invoking wcstab(), whether directly or indirectly.</span></div>
-<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span> <span class="comment">*     The tabprm structs contain some members that must be supplied and others</span></div>
-<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span> <span class="comment">*     that are derived.  The information to be supplied comes primarily from</span></div>
-<div class="line"><a name="l01103"></a><span class="lineno"> 1103</span> <span class="comment">*     arrays stored in one or more FITS binary table extensions.  These</span></div>
-<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span> <span class="comment">*     arrays, referred to here as "wcstab arrays", are themselves located by</span></div>
-<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span> <span class="comment">*     parameters stored in the FITS image header.</span></div>
-<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01107"></a><span class="lineno"> 1107</span> <span class="comment">*   struct wtbarr *wtb</span></div>
-<div class="line"><a name="l01108"></a><span class="lineno"> 1108</span> <span class="comment">*     (Given) Address of the first element of an array of nwtb wtbarr structs</span></div>
-<div class="line"><a name="l01109"></a><span class="lineno"> 1109</span> <span class="comment">*     for which memory has been allocated.  These are used in extracting</span></div>
-<div class="line"><a name="l01110"></a><span class="lineno"> 1110</span> <span class="comment">*     wcstab arrays from a FITS binary table.</span></div>
-<div class="line"><a name="l01111"></a><span class="lineno"> 1111</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span> <span class="comment">*     Although technically wcsprm::nwtb and wtb are "given", they will</span></div>
-<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span> <span class="comment">*     normally be set by invoking wcstab(), whether directly or indirectly.</span></div>
-<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span> <span class="comment">*   char lngtyp[8]</span></div>
-<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span> <span class="comment">*     (Returned) Four-character WCS celestial longitude and ...</span></div>
-<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span> <span class="comment">*   char lattyp[8]</span></div>
-<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span> <span class="comment">*     (Returned) ... latitude axis types. e.g. "RA", "DEC", "GLON", "GLAT",</span></div>
-<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span> <span class="comment">*     etc. extracted from 'RA--', 'DEC-', 'GLON', 'GLAT', etc. in the first</span></div>
-<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span> <span class="comment">*     four characters of CTYPEia but with trailing dashes removed.  (Declared</span></div>
-<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span> <span class="comment">*     as char[8] for alignment reasons.)</span></div>
-<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span> <span class="comment">*   int lng</span></div>
-<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span> <span class="comment">*     (Returned) Index for the longitude coordinate, and ...</span></div>
-<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span> <span class="comment">*   int lat</span></div>
-<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span> <span class="comment">*     (Returned) ... index for the latitude coordinate, and ...</span></div>
-<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span> <span class="comment">*   int spec</span></div>
-<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span> <span class="comment">*     (Returned) ... index for the spectral coordinate in the imgcrd[][] and</span></div>
-<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span> <span class="comment">*     world[][] arrays in the API of wcsp2s(), wcss2p() and wcsmix().</span></div>
-<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span> <span class="comment">*     These may also serve as indices into the pixcrd[][] array provided that</span></div>
-<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span> <span class="comment">*     the PCi_ja matrix does not transpose axes.</span></div>
-<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span> <span class="comment">*   int cubeface</span></div>
-<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span> <span class="comment">*     (Returned) Index into the pixcrd[][] array for the CUBEFACE axis.  This</span></div>
-<div class="line"><a name="l01136"></a><span class="lineno"> 1136</span> <span class="comment">*     is used for quadcube projections where the cube faces are stored on a</span></div>
-<div class="line"><a name="l01137"></a><span class="lineno"> 1137</span> <span class="comment">*     separate axis (see wcs.h).</span></div>
-<div class="line"><a name="l01138"></a><span class="lineno"> 1138</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span> <span class="comment">*   int *types</span></div>
-<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span> <span class="comment">*     (Returned) Address of the first element of an array of int containing a</span></div>
-<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span> <span class="comment">*     four-digit type code for each axis.</span></div>
+<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span> <span class="comment">*   double velangl</span></div>
+<div class="line"><a name="l01082"></a><span class="lineno"> 1082</span> <span class="comment">*     (Given, auxiliary) The angle [deg] that should be used to decompose an</span></div>
+<div class="line"><a name="l01083"></a><span class="lineno"> 1083</span> <span class="comment">*     observed velocity into radial and transverse components.</span></div>
+<div class="line"><a name="l01084"></a><span class="lineno"> 1084</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01085"></a><span class="lineno"> 1085</span> <span class="comment">*   char wcsname[72]</span></div>
+<div class="line"><a name="l01086"></a><span class="lineno"> 1086</span> <span class="comment">*     (Given, auxiliary) The name given to the coordinate representation,</span></div>
+<div class="line"><a name="l01087"></a><span class="lineno"> 1087</span> <span class="comment">*     WCSNAMEa.  This variable accomodates the longest allowed string-valued</span></div>
+<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span> <span class="comment">*     FITS keyword, being limited to 68 characters, plus the null-terminating</span></div>
+<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span> <span class="comment">*     character.</span></div>
+<div class="line"><a name="l01090"></a><span class="lineno"> 1090</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01091"></a><span class="lineno"> 1091</span> <span class="comment">*   int ntab</span></div>
+<div class="line"><a name="l01092"></a><span class="lineno"> 1092</span> <span class="comment">*     (Given) See wcsprm::tab.</span></div>
+<div class="line"><a name="l01093"></a><span class="lineno"> 1093</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span> <span class="comment">*   int nwtb</span></div>
+<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span> <span class="comment">*     (Given) See wcsprm::wtb.</span></div>
+<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01097"></a><span class="lineno"> 1097</span> <span class="comment">*   struct tabprm *tab</span></div>
+<div class="line"><a name="l01098"></a><span class="lineno"> 1098</span> <span class="comment">*     (Given) Address of the first element of an array of ntab tabprm structs</span></div>
+<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span> <span class="comment">*     for which memory has been allocated.  These are used to store tabular</span></div>
+<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span> <span class="comment">*     transformation parameters.</span></div>
+<div class="line"><a name="l01101"></a><span class="lineno"> 1101</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01102"></a><span class="lineno"> 1102</span> <span class="comment">*     Although technically wcsprm::ntab and tab are "given", they will</span></div>
+<div class="line"><a name="l01103"></a><span class="lineno"> 1103</span> <span class="comment">*     normally be set by invoking wcstab(), whether directly or indirectly.</span></div>
+<div class="line"><a name="l01104"></a><span class="lineno"> 1104</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01105"></a><span class="lineno"> 1105</span> <span class="comment">*     The tabprm structs contain some members that must be supplied and others</span></div>
+<div class="line"><a name="l01106"></a><span class="lineno"> 1106</span> <span class="comment">*     that are derived.  The information to be supplied comes primarily from</span></div>
+<div class="line"><a name="l01107"></a><span class="lineno"> 1107</span> <span class="comment">*     arrays stored in one or more FITS binary table extensions.  These</span></div>
+<div class="line"><a name="l01108"></a><span class="lineno"> 1108</span> <span class="comment">*     arrays, referred to here as "wcstab arrays", are themselves located by</span></div>
+<div class="line"><a name="l01109"></a><span class="lineno"> 1109</span> <span class="comment">*     parameters stored in the FITS image header.</span></div>
+<div class="line"><a name="l01110"></a><span class="lineno"> 1110</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01111"></a><span class="lineno"> 1111</span> <span class="comment">*   struct wtbarr *wtb</span></div>
+<div class="line"><a name="l01112"></a><span class="lineno"> 1112</span> <span class="comment">*     (Given) Address of the first element of an array of nwtb wtbarr structs</span></div>
+<div class="line"><a name="l01113"></a><span class="lineno"> 1113</span> <span class="comment">*     for which memory has been allocated.  These are used in extracting</span></div>
+<div class="line"><a name="l01114"></a><span class="lineno"> 1114</span> <span class="comment">*     wcstab arrays from a FITS binary table.</span></div>
+<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span> <span class="comment">*     Although technically wcsprm::nwtb and wtb are "given", they will</span></div>
+<div class="line"><a name="l01117"></a><span class="lineno"> 1117</span> <span class="comment">*     normally be set by invoking wcstab(), whether directly or indirectly.</span></div>
+<div class="line"><a name="l01118"></a><span class="lineno"> 1118</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01119"></a><span class="lineno"> 1119</span> <span class="comment">*   char lngtyp[8]</span></div>
+<div class="line"><a name="l01120"></a><span class="lineno"> 1120</span> <span class="comment">*     (Returned) Four-character WCS celestial longitude and ...</span></div>
+<div class="line"><a name="l01121"></a><span class="lineno"> 1121</span> <span class="comment">*   char lattyp[8]</span></div>
+<div class="line"><a name="l01122"></a><span class="lineno"> 1122</span> <span class="comment">*     (Returned) ... latitude axis types. e.g. "RA", "DEC", "GLON", "GLAT",</span></div>
+<div class="line"><a name="l01123"></a><span class="lineno"> 1123</span> <span class="comment">*     etc. extracted from 'RA--', 'DEC-', 'GLON', 'GLAT', etc. in the first</span></div>
+<div class="line"><a name="l01124"></a><span class="lineno"> 1124</span> <span class="comment">*     four characters of CTYPEia but with trailing dashes removed.  (Declared</span></div>
+<div class="line"><a name="l01125"></a><span class="lineno"> 1125</span> <span class="comment">*     as char[8] for alignment reasons.)</span></div>
+<div class="line"><a name="l01126"></a><span class="lineno"> 1126</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01127"></a><span class="lineno"> 1127</span> <span class="comment">*   int lng</span></div>
+<div class="line"><a name="l01128"></a><span class="lineno"> 1128</span> <span class="comment">*     (Returned) Index for the longitude coordinate, and ...</span></div>
+<div class="line"><a name="l01129"></a><span class="lineno"> 1129</span> <span class="comment">*   int lat</span></div>
+<div class="line"><a name="l01130"></a><span class="lineno"> 1130</span> <span class="comment">*     (Returned) ... index for the latitude coordinate, and ...</span></div>
+<div class="line"><a name="l01131"></a><span class="lineno"> 1131</span> <span class="comment">*   int spec</span></div>
+<div class="line"><a name="l01132"></a><span class="lineno"> 1132</span> <span class="comment">*     (Returned) ... index for the spectral coordinate in the imgcrd[][] and</span></div>
+<div class="line"><a name="l01133"></a><span class="lineno"> 1133</span> <span class="comment">*     world[][] arrays in the API of wcsp2s(), wcss2p() and wcsmix().</span></div>
+<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span> <span class="comment">*     These may also serve as indices into the pixcrd[][] array provided that</span></div>
+<div class="line"><a name="l01136"></a><span class="lineno"> 1136</span> <span class="comment">*     the PCi_ja matrix does not transpose axes.</span></div>
+<div class="line"><a name="l01137"></a><span class="lineno"> 1137</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01138"></a><span class="lineno"> 1138</span> <span class="comment">*   int cubeface</span></div>
+<div class="line"><a name="l01139"></a><span class="lineno"> 1139</span> <span class="comment">*     (Returned) Index into the pixcrd[][] array for the CUBEFACE axis.  This</span></div>
+<div class="line"><a name="l01140"></a><span class="lineno"> 1140</span> <span class="comment">*     is used for quadcube projections where the cube faces are stored on a</span></div>
+<div class="line"><a name="l01141"></a><span class="lineno"> 1141</span> <span class="comment">*     separate axis (see wcs.h).</span></div>
 <div class="line"><a name="l01142"></a><span class="lineno"> 1142</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01143"></a><span class="lineno"> 1143</span> <span class="comment">*     - First digit (i.e. 1000s):</span></div>
-<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span> <span class="comment">*       - 0: Non-specific coordinate type.</span></div>
-<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span> <span class="comment">*       - 1: Stokes coordinate.</span></div>
-<div class="line"><a name="l01146"></a><span class="lineno"> 1146</span> <span class="comment">*       - 2: Celestial coordinate (including CUBEFACE).</span></div>
-<div class="line"><a name="l01147"></a><span class="lineno"> 1147</span> <span class="comment">*       - 3: Spectral coordinate.</span></div>
-<div class="line"><a name="l01148"></a><span class="lineno"> 1148</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01149"></a><span class="lineno"> 1149</span> <span class="comment">*     - Second digit (i.e. 100s):</span></div>
-<div class="line"><a name="l01150"></a><span class="lineno"> 1150</span> <span class="comment">*       - 0: Linear axis.</span></div>
-<div class="line"><a name="l01151"></a><span class="lineno"> 1151</span> <span class="comment">*       - 1: Quantized axis (STOKES, CUBEFACE).</span></div>
-<div class="line"><a name="l01152"></a><span class="lineno"> 1152</span> <span class="comment">*       - 2: Non-linear celestial axis.</span></div>
-<div class="line"><a name="l01153"></a><span class="lineno"> 1153</span> <span class="comment">*       - 3: Non-linear spectral axis.</span></div>
-<div class="line"><a name="l01154"></a><span class="lineno"> 1154</span> <span class="comment">*       - 4: Logarithmic axis.</span></div>
-<div class="line"><a name="l01155"></a><span class="lineno"> 1155</span> <span class="comment">*       - 5: Tabular axis.</span></div>
-<div class="line"><a name="l01156"></a><span class="lineno"> 1156</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span> <span class="comment">*     - Third digit (i.e. 10s):</span></div>
-<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span> <span class="comment">*       - 0: Group number, e.g. lookup table number, being an index into the</span></div>
-<div class="line"><a name="l01159"></a><span class="lineno"> 1159</span> <span class="comment">*            tabprm array (see above).</span></div>
+<div class="line"><a name="l01143"></a><span class="lineno"> 1143</span> <span class="comment">*   int *types</span></div>
+<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span> <span class="comment">*     (Returned) Address of the first element of an array of int containing a</span></div>
+<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span> <span class="comment">*     four-digit type code for each axis.</span></div>
+<div class="line"><a name="l01146"></a><span class="lineno"> 1146</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01147"></a><span class="lineno"> 1147</span> <span class="comment">*     - First digit (i.e. 1000s):</span></div>
+<div class="line"><a name="l01148"></a><span class="lineno"> 1148</span> <span class="comment">*       - 0: Non-specific coordinate type.</span></div>
+<div class="line"><a name="l01149"></a><span class="lineno"> 1149</span> <span class="comment">*       - 1: Stokes coordinate.</span></div>
+<div class="line"><a name="l01150"></a><span class="lineno"> 1150</span> <span class="comment">*       - 2: Celestial coordinate (including CUBEFACE).</span></div>
+<div class="line"><a name="l01151"></a><span class="lineno"> 1151</span> <span class="comment">*       - 3: Spectral coordinate.</span></div>
+<div class="line"><a name="l01152"></a><span class="lineno"> 1152</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01153"></a><span class="lineno"> 1153</span> <span class="comment">*     - Second digit (i.e. 100s):</span></div>
+<div class="line"><a name="l01154"></a><span class="lineno"> 1154</span> <span class="comment">*       - 0: Linear axis.</span></div>
+<div class="line"><a name="l01155"></a><span class="lineno"> 1155</span> <span class="comment">*       - 1: Quantized axis (STOKES, CUBEFACE).</span></div>
+<div class="line"><a name="l01156"></a><span class="lineno"> 1156</span> <span class="comment">*       - 2: Non-linear celestial axis.</span></div>
+<div class="line"><a name="l01157"></a><span class="lineno"> 1157</span> <span class="comment">*       - 3: Non-linear spectral axis.</span></div>
+<div class="line"><a name="l01158"></a><span class="lineno"> 1158</span> <span class="comment">*       - 4: Logarithmic axis.</span></div>
+<div class="line"><a name="l01159"></a><span class="lineno"> 1159</span> <span class="comment">*       - 5: Tabular axis.</span></div>
 <div class="line"><a name="l01160"></a><span class="lineno"> 1160</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01161"></a><span class="lineno"> 1161</span> <span class="comment">*     - The fourth digit is used as a qualifier depending on the axis type.</span></div>
-<div class="line"><a name="l01162"></a><span class="lineno"> 1162</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01163"></a><span class="lineno"> 1163</span> <span class="comment">*       - For celestial axes:</span></div>
-<div class="line"><a name="l01164"></a><span class="lineno"> 1164</span> <span class="comment">*         - 0: Longitude coordinate.</span></div>
-<div class="line"><a name="l01165"></a><span class="lineno"> 1165</span> <span class="comment">*         - 1: Latitude coordinate.</span></div>
-<div class="line"><a name="l01166"></a><span class="lineno"> 1166</span> <span class="comment">*         - 2: CUBEFACE number.</span></div>
-<div class="line"><a name="l01167"></a><span class="lineno"> 1167</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01168"></a><span class="lineno"> 1168</span> <span class="comment">*       - For lookup tables: the axis number in a multidimensional table.</span></div>
-<div class="line"><a name="l01169"></a><span class="lineno"> 1169</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01170"></a><span class="lineno"> 1170</span> <span class="comment">*     CTYPEia in "4-3" form with unrecognized algorithm code will have its</span></div>
-<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span> <span class="comment">*     type set to -1 and generate an error.</span></div>
-<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01173"></a><span class="lineno"> 1173</span> <span class="comment">*   void *padding</span></div>
-<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span> <span class="comment">*     (An unused variable inserted for alignment purposes only.)</span></div>
-<div class="line"><a name="l01175"></a><span class="lineno"> 1175</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01176"></a><span class="lineno"> 1176</span> <span class="comment">*   struct linprm lin</span></div>
-<div class="line"><a name="l01177"></a><span class="lineno"> 1177</span> <span class="comment">*     (Returned) Linear transformation parameters (usage is described in the</span></div>
-<div class="line"><a name="l01178"></a><span class="lineno"> 1178</span> <span class="comment">*     prologue to lin.h).</span></div>
+<div class="line"><a name="l01161"></a><span class="lineno"> 1161</span> <span class="comment">*     - Third digit (i.e. 10s):</span></div>
+<div class="line"><a name="l01162"></a><span class="lineno"> 1162</span> <span class="comment">*       - 0: Group number, e.g. lookup table number, being an index into the</span></div>
+<div class="line"><a name="l01163"></a><span class="lineno"> 1163</span> <span class="comment">*            tabprm array (see above).</span></div>
+<div class="line"><a name="l01164"></a><span class="lineno"> 1164</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01165"></a><span class="lineno"> 1165</span> <span class="comment">*     - The fourth digit is used as a qualifier depending on the axis type.</span></div>
+<div class="line"><a name="l01166"></a><span class="lineno"> 1166</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01167"></a><span class="lineno"> 1167</span> <span class="comment">*       - For celestial axes:</span></div>
+<div class="line"><a name="l01168"></a><span class="lineno"> 1168</span> <span class="comment">*         - 0: Longitude coordinate.</span></div>
+<div class="line"><a name="l01169"></a><span class="lineno"> 1169</span> <span class="comment">*         - 1: Latitude coordinate.</span></div>
+<div class="line"><a name="l01170"></a><span class="lineno"> 1170</span> <span class="comment">*         - 2: CUBEFACE number.</span></div>
+<div class="line"><a name="l01171"></a><span class="lineno"> 1171</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01172"></a><span class="lineno"> 1172</span> <span class="comment">*       - For lookup tables: the axis number in a multidimensional table.</span></div>
+<div class="line"><a name="l01173"></a><span class="lineno"> 1173</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01174"></a><span class="lineno"> 1174</span> <span class="comment">*     CTYPEia in "4-3" form with unrecognized algorithm code will have its</span></div>
+<div class="line"><a name="l01175"></a><span class="lineno"> 1175</span> <span class="comment">*     type set to -1 and generate an error.</span></div>
+<div class="line"><a name="l01176"></a><span class="lineno"> 1176</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01177"></a><span class="lineno"> 1177</span> <span class="comment">*   void *padding</span></div>
+<div class="line"><a name="l01178"></a><span class="lineno"> 1178</span> <span class="comment">*     (An unused variable inserted for alignment purposes only.)</span></div>
 <div class="line"><a name="l01179"></a><span class="lineno"> 1179</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01180"></a><span class="lineno"> 1180</span> <span class="comment">*   struct celprm cel</span></div>
-<div class="line"><a name="l01181"></a><span class="lineno"> 1181</span> <span class="comment">*     (Returned) Celestial transformation parameters (usage is described in</span></div>
-<div class="line"><a name="l01182"></a><span class="lineno"> 1182</span> <span class="comment">*     the prologue to cel.h).</span></div>
+<div class="line"><a name="l01180"></a><span class="lineno"> 1180</span> <span class="comment">*   struct linprm lin</span></div>
+<div class="line"><a name="l01181"></a><span class="lineno"> 1181</span> <span class="comment">*     (Returned) Linear transformation parameters (usage is described in the</span></div>
+<div class="line"><a name="l01182"></a><span class="lineno"> 1182</span> <span class="comment">*     prologue to lin.h).</span></div>
 <div class="line"><a name="l01183"></a><span class="lineno"> 1183</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span> <span class="comment">*   struct spcprm spc</span></div>
-<div class="line"><a name="l01185"></a><span class="lineno"> 1185</span> <span class="comment">*     (Returned) Spectral transformation parameters (usage is described in the</span></div>
-<div class="line"><a name="l01186"></a><span class="lineno"> 1186</span> <span class="comment">*     prologue to spc.h).</span></div>
+<div class="line"><a name="l01184"></a><span class="lineno"> 1184</span> <span class="comment">*   struct celprm cel</span></div>
+<div class="line"><a name="l01185"></a><span class="lineno"> 1185</span> <span class="comment">*     (Returned) Celestial transformation parameters (usage is described in</span></div>
+<div class="line"><a name="l01186"></a><span class="lineno"> 1186</span> <span class="comment">*     the prologue to cel.h).</span></div>
 <div class="line"><a name="l01187"></a><span class="lineno"> 1187</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01188"></a><span class="lineno"> 1188</span> <span class="comment">*   struct wcserr *err</span></div>
-<div class="line"><a name="l01189"></a><span class="lineno"> 1189</span> <span class="comment">*     (Returned) If enabled, when an error status is returned this struct</span></div>
-<div class="line"><a name="l01190"></a><span class="lineno"> 1190</span> <span class="comment">*     contains detailed information about the error, see wcserr_enable().</span></div>
+<div class="line"><a name="l01188"></a><span class="lineno"> 1188</span> <span class="comment">*   struct spcprm spc</span></div>
+<div class="line"><a name="l01189"></a><span class="lineno"> 1189</span> <span class="comment">*     (Returned) Spectral transformation parameters (usage is described in the</span></div>
+<div class="line"><a name="l01190"></a><span class="lineno"> 1190</span> <span class="comment">*     prologue to spc.h).</span></div>
 <div class="line"><a name="l01191"></a><span class="lineno"> 1191</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01192"></a><span class="lineno"> 1192</span> <span class="comment">*   void *m_padding</span></div>
-<div class="line"><a name="l01193"></a><span class="lineno"> 1193</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01194"></a><span class="lineno"> 1194</span> <span class="comment">*   int m_flag</span></div>
-<div class="line"><a name="l01195"></a><span class="lineno"> 1195</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01196"></a><span class="lineno"> 1196</span> <span class="comment">*   int m_naxis</span></div>
+<div class="line"><a name="l01192"></a><span class="lineno"> 1192</span> <span class="comment">*   struct wcserr *err</span></div>
+<div class="line"><a name="l01193"></a><span class="lineno"> 1193</span> <span class="comment">*     (Returned) If enabled, when an error status is returned this struct</span></div>
+<div class="line"><a name="l01194"></a><span class="lineno"> 1194</span> <span class="comment">*     contains detailed information about the error, see wcserr_enable().</span></div>
+<div class="line"><a name="l01195"></a><span class="lineno"> 1195</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01196"></a><span class="lineno"> 1196</span> <span class="comment">*   void *m_padding</span></div>
 <div class="line"><a name="l01197"></a><span class="lineno"> 1197</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01198"></a><span class="lineno"> 1198</span> <span class="comment">*   double *m_crpix</span></div>
+<div class="line"><a name="l01198"></a><span class="lineno"> 1198</span> <span class="comment">*   int m_flag</span></div>
 <div class="line"><a name="l01199"></a><span class="lineno"> 1199</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01200"></a><span class="lineno"> 1200</span> <span class="comment">*   double *m_pc</span></div>
+<div class="line"><a name="l01200"></a><span class="lineno"> 1200</span> <span class="comment">*   int m_naxis</span></div>
 <div class="line"><a name="l01201"></a><span class="lineno"> 1201</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01202"></a><span class="lineno"> 1202</span> <span class="comment">*   double *m_cdelt</span></div>
+<div class="line"><a name="l01202"></a><span class="lineno"> 1202</span> <span class="comment">*   double *m_crpix</span></div>
 <div class="line"><a name="l01203"></a><span class="lineno"> 1203</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01204"></a><span class="lineno"> 1204</span> <span class="comment">*   double *m_crval</span></div>
+<div class="line"><a name="l01204"></a><span class="lineno"> 1204</span> <span class="comment">*   double *m_pc</span></div>
 <div class="line"><a name="l01205"></a><span class="lineno"> 1205</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01206"></a><span class="lineno"> 1206</span> <span class="comment">*   char (*m_cunit)[72]</span></div>
+<div class="line"><a name="l01206"></a><span class="lineno"> 1206</span> <span class="comment">*   double *m_cdelt</span></div>
 <div class="line"><a name="l01207"></a><span class="lineno"> 1207</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01208"></a><span class="lineno"> 1208</span> <span class="comment">*   char (*m_ctype)[72]</span></div>
+<div class="line"><a name="l01208"></a><span class="lineno"> 1208</span> <span class="comment">*   double *m_crval</span></div>
 <div class="line"><a name="l01209"></a><span class="lineno"> 1209</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01210"></a><span class="lineno"> 1210</span> <span class="comment">*   struct pvcard *m_pv</span></div>
+<div class="line"><a name="l01210"></a><span class="lineno"> 1210</span> <span class="comment">*   char (*m_cunit)[72]</span></div>
 <div class="line"><a name="l01211"></a><span class="lineno"> 1211</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01212"></a><span class="lineno"> 1212</span> <span class="comment">*   struct pscard *m_ps</span></div>
+<div class="line"><a name="l01212"></a><span class="lineno"> 1212</span> <span class="comment">*   char (*m_ctype)[72]</span></div>
 <div class="line"><a name="l01213"></a><span class="lineno"> 1213</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01214"></a><span class="lineno"> 1214</span> <span class="comment">*   double *m_cd</span></div>
+<div class="line"><a name="l01214"></a><span class="lineno"> 1214</span> <span class="comment">*   struct pvcard *m_pv</span></div>
 <div class="line"><a name="l01215"></a><span class="lineno"> 1215</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01216"></a><span class="lineno"> 1216</span> <span class="comment">*   double *m_crota</span></div>
+<div class="line"><a name="l01216"></a><span class="lineno"> 1216</span> <span class="comment">*   struct pscard *m_ps</span></div>
 <div class="line"><a name="l01217"></a><span class="lineno"> 1217</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01218"></a><span class="lineno"> 1218</span> <span class="comment">*   int *m_colax</span></div>
+<div class="line"><a name="l01218"></a><span class="lineno"> 1218</span> <span class="comment">*   double *m_cd</span></div>
 <div class="line"><a name="l01219"></a><span class="lineno"> 1219</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01220"></a><span class="lineno"> 1220</span> <span class="comment">*   char (*m_cname)[72]</span></div>
+<div class="line"><a name="l01220"></a><span class="lineno"> 1220</span> <span class="comment">*   double *m_crota</span></div>
 <div class="line"><a name="l01221"></a><span class="lineno"> 1221</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01222"></a><span class="lineno"> 1222</span> <span class="comment">*   double *m_crder</span></div>
+<div class="line"><a name="l01222"></a><span class="lineno"> 1222</span> <span class="comment">*   int *m_colax</span></div>
 <div class="line"><a name="l01223"></a><span class="lineno"> 1223</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01224"></a><span class="lineno"> 1224</span> <span class="comment">*   double *m_csyer</span></div>
+<div class="line"><a name="l01224"></a><span class="lineno"> 1224</span> <span class="comment">*   char (*m_cname)[72]</span></div>
 <div class="line"><a name="l01225"></a><span class="lineno"> 1225</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01226"></a><span class="lineno"> 1226</span> <span class="comment">*   struct tabprm *m_tab</span></div>
+<div class="line"><a name="l01226"></a><span class="lineno"> 1226</span> <span class="comment">*   double *m_crder</span></div>
 <div class="line"><a name="l01227"></a><span class="lineno"> 1227</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01228"></a><span class="lineno"> 1228</span> <span class="comment">*   struct wtbarr *m_wtb</span></div>
+<div class="line"><a name="l01228"></a><span class="lineno"> 1228</span> <span class="comment">*   double *m_csyer</span></div>
 <div class="line"><a name="l01229"></a><span class="lineno"> 1229</span> <span class="comment">*     (For internal use only.)</span></div>
-<div class="line"><a name="l01230"></a><span class="lineno"> 1230</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01231"></a><span class="lineno"> 1231</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01232"></a><span class="lineno"> 1232</span> <span class="comment">* pscard struct - Store for PSi_ma keyrecords</span></div>
-<div class="line"><a name="l01233"></a><span class="lineno"> 1233</span> <span class="comment">* -------------------------------------------</span></div>
-<div class="line"><a name="l01234"></a><span class="lineno"> 1234</span> <span class="comment">* The pscard struct is used to pass the parsed contents of PSi_ma keyrecords</span></div>
-<div class="line"><a name="l01235"></a><span class="lineno"> 1235</span> <span class="comment">* to wcsset() via the wcsprm struct.</span></div>
-<div class="line"><a name="l01236"></a><span class="lineno"> 1236</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01237"></a><span class="lineno"> 1237</span> <span class="comment">* All members of this struct are to be set by the user.</span></div>
-<div class="line"><a name="l01238"></a><span class="lineno"> 1238</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01239"></a><span class="lineno"> 1239</span> <span class="comment">*   int i</span></div>
-<div class="line"><a name="l01240"></a><span class="lineno"> 1240</span> <span class="comment">*     (Given) Axis number (1-relative), as in the FITS PSi_ma keyword.</span></div>
-<div class="line"><a name="l01241"></a><span class="lineno"> 1241</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01242"></a><span class="lineno"> 1242</span> <span class="comment">*   int m</span></div>
-<div class="line"><a name="l01243"></a><span class="lineno"> 1243</span> <span class="comment">*     (Given) Parameter number (non-negative), as in the FITS PSi_ma keyword.</span></div>
-<div class="line"><a name="l01244"></a><span class="lineno"> 1244</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01245"></a><span class="lineno"> 1245</span> <span class="comment">*   char value[72]</span></div>
-<div class="line"><a name="l01246"></a><span class="lineno"> 1246</span> <span class="comment">*     (Given) Parameter value.</span></div>
-<div class="line"><a name="l01247"></a><span class="lineno"> 1247</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01230"></a><span class="lineno"> 1230</span> <span class="comment">*   struct tabprm *m_tab</span></div>
+<div class="line"><a name="l01231"></a><span class="lineno"> 1231</span> <span class="comment">*     (For internal use only.)</span></div>
+<div class="line"><a name="l01232"></a><span class="lineno"> 1232</span> <span class="comment">*   struct wtbarr *m_wtb</span></div>
+<div class="line"><a name="l01233"></a><span class="lineno"> 1233</span> <span class="comment">*     (For internal use only.)</span></div>
+<div class="line"><a name="l01234"></a><span class="lineno"> 1234</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01235"></a><span class="lineno"> 1235</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01236"></a><span class="lineno"> 1236</span> <span class="comment">* pscard struct - Store for PSi_ma keyrecords</span></div>
+<div class="line"><a name="l01237"></a><span class="lineno"> 1237</span> <span class="comment">* -------------------------------------------</span></div>
+<div class="line"><a name="l01238"></a><span class="lineno"> 1238</span> <span class="comment">* The pscard struct is used to pass the parsed contents of PSi_ma keyrecords</span></div>
+<div class="line"><a name="l01239"></a><span class="lineno"> 1239</span> <span class="comment">* to wcsset() via the wcsprm struct.</span></div>
+<div class="line"><a name="l01240"></a><span class="lineno"> 1240</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01241"></a><span class="lineno"> 1241</span> <span class="comment">* All members of this struct are to be set by the user.</span></div>
+<div class="line"><a name="l01242"></a><span class="lineno"> 1242</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01243"></a><span class="lineno"> 1243</span> <span class="comment">*   int i</span></div>
+<div class="line"><a name="l01244"></a><span class="lineno"> 1244</span> <span class="comment">*     (Given) Axis number (1-relative), as in the FITS PSi_ma keyword.</span></div>
+<div class="line"><a name="l01245"></a><span class="lineno"> 1245</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01246"></a><span class="lineno"> 1246</span> <span class="comment">*   int m</span></div>
+<div class="line"><a name="l01247"></a><span class="lineno"> 1247</span> <span class="comment">*     (Given) Parameter number (non-negative), as in the FITS PSi_ma keyword.</span></div>
 <div class="line"><a name="l01248"></a><span class="lineno"> 1248</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01249"></a><span class="lineno"> 1249</span> <span class="comment">* pvcard struct - Store for PVi_ma keyrecords</span></div>
-<div class="line"><a name="l01250"></a><span class="lineno"> 1250</span> <span class="comment">* -------------------------------------------</span></div>
-<div class="line"><a name="l01251"></a><span class="lineno"> 1251</span> <span class="comment">* The pvcard struct is used to pass the parsed contents of PVi_ma keyrecords</span></div>
-<div class="line"><a name="l01252"></a><span class="lineno"> 1252</span> <span class="comment">* to wcsset() via the wcsprm struct.</span></div>
-<div class="line"><a name="l01253"></a><span class="lineno"> 1253</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01254"></a><span class="lineno"> 1254</span> <span class="comment">* All members of this struct are to be set by the user.</span></div>
-<div class="line"><a name="l01255"></a><span class="lineno"> 1255</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01256"></a><span class="lineno"> 1256</span> <span class="comment">*   int i</span></div>
-<div class="line"><a name="l01257"></a><span class="lineno"> 1257</span> <span class="comment">*     (Given) Axis number (1-relative), as in the FITS PVi_ma keyword.  If</span></div>
-<div class="line"><a name="l01258"></a><span class="lineno"> 1258</span> <span class="comment">*     i == 0, wcsset() will replace it with the latitude axis number.</span></div>
+<div class="line"><a name="l01249"></a><span class="lineno"> 1249</span> <span class="comment">*   char value[72]</span></div>
+<div class="line"><a name="l01250"></a><span class="lineno"> 1250</span> <span class="comment">*     (Given) Parameter value.</span></div>
+<div class="line"><a name="l01251"></a><span class="lineno"> 1251</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01252"></a><span class="lineno"> 1252</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01253"></a><span class="lineno"> 1253</span> <span class="comment">* pvcard struct - Store for PVi_ma keyrecords</span></div>
+<div class="line"><a name="l01254"></a><span class="lineno"> 1254</span> <span class="comment">* -------------------------------------------</span></div>
+<div class="line"><a name="l01255"></a><span class="lineno"> 1255</span> <span class="comment">* The pvcard struct is used to pass the parsed contents of PVi_ma keyrecords</span></div>
+<div class="line"><a name="l01256"></a><span class="lineno"> 1256</span> <span class="comment">* to wcsset() via the wcsprm struct.</span></div>
+<div class="line"><a name="l01257"></a><span class="lineno"> 1257</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01258"></a><span class="lineno"> 1258</span> <span class="comment">* All members of this struct are to be set by the user.</span></div>
 <div class="line"><a name="l01259"></a><span class="lineno"> 1259</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01260"></a><span class="lineno"> 1260</span> <span class="comment">*   int m</span></div>
-<div class="line"><a name="l01261"></a><span class="lineno"> 1261</span> <span class="comment">*     (Given) Parameter number (non-negative), as in the FITS PVi_ma keyword.</span></div>
-<div class="line"><a name="l01262"></a><span class="lineno"> 1262</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01263"></a><span class="lineno"> 1263</span> <span class="comment">*   double value</span></div>
-<div class="line"><a name="l01264"></a><span class="lineno"> 1264</span> <span class="comment">*     (Given) Parameter value.</span></div>
-<div class="line"><a name="l01265"></a><span class="lineno"> 1265</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01260"></a><span class="lineno"> 1260</span> <span class="comment">*   int i</span></div>
+<div class="line"><a name="l01261"></a><span class="lineno"> 1261</span> <span class="comment">*     (Given) Axis number (1-relative), as in the FITS PVi_ma keyword.  If</span></div>
+<div class="line"><a name="l01262"></a><span class="lineno"> 1262</span> <span class="comment">*     i == 0, wcsset() will replace it with the latitude axis number.</span></div>
+<div class="line"><a name="l01263"></a><span class="lineno"> 1263</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01264"></a><span class="lineno"> 1264</span> <span class="comment">*   int m</span></div>
+<div class="line"><a name="l01265"></a><span class="lineno"> 1265</span> <span class="comment">*     (Given) Parameter number (non-negative), as in the FITS PVi_ma keyword.</span></div>
 <div class="line"><a name="l01266"></a><span class="lineno"> 1266</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01267"></a><span class="lineno"> 1267</span> <span class="comment">* wtbarr struct - Extraction of coordinate lookup tables from BINTABLE</span></div>
-<div class="line"><a name="l01268"></a><span class="lineno"> 1268</span> <span class="comment">* --------------------------------------------------------------------</span></div>
-<div class="line"><a name="l01269"></a><span class="lineno"> 1269</span> <span class="comment">* Function wcstab(), which is invoked automatically by wcspih(), sets up an</span></div>
-<div class="line"><a name="l01270"></a><span class="lineno"> 1270</span> <span class="comment">* array of wtbarr structs to assist in extracting coordinate lookup tables</span></div>
-<div class="line"><a name="l01271"></a><span class="lineno"> 1271</span> <span class="comment">* from a binary table extension (BINTABLE) and copying them into the tabprm</span></div>
-<div class="line"><a name="l01272"></a><span class="lineno"> 1272</span> <span class="comment">* structs stored in wcsprm.  Refer to the usage notes for wcspih() and</span></div>
-<div class="line"><a name="l01273"></a><span class="lineno"> 1273</span> <span class="comment">* wcstab() in wcshdr.h, and also the prologue to tab.h.</span></div>
-<div class="line"><a name="l01274"></a><span class="lineno"> 1274</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01275"></a><span class="lineno"> 1275</span> <span class="comment">* For C++ usage, because of a name space conflict with the wtbarr typedef</span></div>
-<div class="line"><a name="l01276"></a><span class="lineno"> 1276</span> <span class="comment">* defined in CFITSIO header fitsio.h, the wtbarr struct is renamed to wtbarr_s</span></div>
-<div class="line"><a name="l01277"></a><span class="lineno"> 1277</span> <span class="comment">* by preprocessor macro substitution with scope limited to wcs.h itself.</span></div>
+<div class="line"><a name="l01267"></a><span class="lineno"> 1267</span> <span class="comment">*   double value</span></div>
+<div class="line"><a name="l01268"></a><span class="lineno"> 1268</span> <span class="comment">*     (Given) Parameter value.</span></div>
+<div class="line"><a name="l01269"></a><span class="lineno"> 1269</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01270"></a><span class="lineno"> 1270</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01271"></a><span class="lineno"> 1271</span> <span class="comment">* wtbarr struct - Extraction of coordinate lookup tables from BINTABLE</span></div>
+<div class="line"><a name="l01272"></a><span class="lineno"> 1272</span> <span class="comment">* --------------------------------------------------------------------</span></div>
+<div class="line"><a name="l01273"></a><span class="lineno"> 1273</span> <span class="comment">* Function wcstab(), which is invoked automatically by wcspih(), sets up an</span></div>
+<div class="line"><a name="l01274"></a><span class="lineno"> 1274</span> <span class="comment">* array of wtbarr structs to assist in extracting coordinate lookup tables</span></div>
+<div class="line"><a name="l01275"></a><span class="lineno"> 1275</span> <span class="comment">* from a binary table extension (BINTABLE) and copying them into the tabprm</span></div>
+<div class="line"><a name="l01276"></a><span class="lineno"> 1276</span> <span class="comment">* structs stored in wcsprm.  Refer to the usage notes for wcspih() and</span></div>
+<div class="line"><a name="l01277"></a><span class="lineno"> 1277</span> <span class="comment">* wcstab() in wcshdr.h, and also the prologue to tab.h.</span></div>
 <div class="line"><a name="l01278"></a><span class="lineno"> 1278</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01279"></a><span class="lineno"> 1279</span> <span class="comment">*   int i</span></div>
-<div class="line"><a name="l01280"></a><span class="lineno"> 1280</span> <span class="comment">*     (Given) Image axis number.</span></div>
-<div class="line"><a name="l01281"></a><span class="lineno"> 1281</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01282"></a><span class="lineno"> 1282</span> <span class="comment">*   int m</span></div>
-<div class="line"><a name="l01283"></a><span class="lineno"> 1283</span> <span class="comment">*     (Given) wcstab array axis number for index vectors.</span></div>
-<div class="line"><a name="l01284"></a><span class="lineno"> 1284</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01285"></a><span class="lineno"> 1285</span> <span class="comment">*   int kind</span></div>
-<div class="line"><a name="l01286"></a><span class="lineno"> 1286</span> <span class="comment">*     (Given) Character identifying the wcstab array type:</span></div>
-<div class="line"><a name="l01287"></a><span class="lineno"> 1287</span> <span class="comment">*       - c: coordinate array,</span></div>
-<div class="line"><a name="l01288"></a><span class="lineno"> 1288</span> <span class="comment">*       - i: index vector.</span></div>
-<div class="line"><a name="l01289"></a><span class="lineno"> 1289</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01290"></a><span class="lineno"> 1290</span> <span class="comment">*   char extnam[72]</span></div>
-<div class="line"><a name="l01291"></a><span class="lineno"> 1291</span> <span class="comment">*     (Given) EXTNAME identifying the binary table extension.</span></div>
-<div class="line"><a name="l01292"></a><span class="lineno"> 1292</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01293"></a><span class="lineno"> 1293</span> <span class="comment">*   int extver</span></div>
-<div class="line"><a name="l01294"></a><span class="lineno"> 1294</span> <span class="comment">*     (Given) EXTVER identifying the binary table extension.</span></div>
-<div class="line"><a name="l01295"></a><span class="lineno"> 1295</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01296"></a><span class="lineno"> 1296</span> <span class="comment">*   int extlev</span></div>
-<div class="line"><a name="l01297"></a><span class="lineno"> 1297</span> <span class="comment">*     (Given) EXTLEV identifying the binary table extension.</span></div>
-<div class="line"><a name="l01298"></a><span class="lineno"> 1298</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01299"></a><span class="lineno"> 1299</span> <span class="comment">*   char ttype[72]</span></div>
-<div class="line"><a name="l01300"></a><span class="lineno"> 1300</span> <span class="comment">*     (Given) TTYPEn identifying the column of the binary table that contains</span></div>
-<div class="line"><a name="l01301"></a><span class="lineno"> 1301</span> <span class="comment">*     the wcstab array.</span></div>
+<div class="line"><a name="l01279"></a><span class="lineno"> 1279</span> <span class="comment">* For C++ usage, because of a name space conflict with the wtbarr typedef</span></div>
+<div class="line"><a name="l01280"></a><span class="lineno"> 1280</span> <span class="comment">* defined in CFITSIO header fitsio.h, the wtbarr struct is renamed to wtbarr_s</span></div>
+<div class="line"><a name="l01281"></a><span class="lineno"> 1281</span> <span class="comment">* by preprocessor macro substitution with scope limited to wcs.h itself.</span></div>
+<div class="line"><a name="l01282"></a><span class="lineno"> 1282</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01283"></a><span class="lineno"> 1283</span> <span class="comment">*   int i</span></div>
+<div class="line"><a name="l01284"></a><span class="lineno"> 1284</span> <span class="comment">*     (Given) Image axis number.</span></div>
+<div class="line"><a name="l01285"></a><span class="lineno"> 1285</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01286"></a><span class="lineno"> 1286</span> <span class="comment">*   int m</span></div>
+<div class="line"><a name="l01287"></a><span class="lineno"> 1287</span> <span class="comment">*     (Given) wcstab array axis number for index vectors.</span></div>
+<div class="line"><a name="l01288"></a><span class="lineno"> 1288</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01289"></a><span class="lineno"> 1289</span> <span class="comment">*   int kind</span></div>
+<div class="line"><a name="l01290"></a><span class="lineno"> 1290</span> <span class="comment">*     (Given) Character identifying the wcstab array type:</span></div>
+<div class="line"><a name="l01291"></a><span class="lineno"> 1291</span> <span class="comment">*       - c: coordinate array,</span></div>
+<div class="line"><a name="l01292"></a><span class="lineno"> 1292</span> <span class="comment">*       - i: index vector.</span></div>
+<div class="line"><a name="l01293"></a><span class="lineno"> 1293</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01294"></a><span class="lineno"> 1294</span> <span class="comment">*   char extnam[72]</span></div>
+<div class="line"><a name="l01295"></a><span class="lineno"> 1295</span> <span class="comment">*     (Given) EXTNAME identifying the binary table extension.</span></div>
+<div class="line"><a name="l01296"></a><span class="lineno"> 1296</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01297"></a><span class="lineno"> 1297</span> <span class="comment">*   int extver</span></div>
+<div class="line"><a name="l01298"></a><span class="lineno"> 1298</span> <span class="comment">*     (Given) EXTVER identifying the binary table extension.</span></div>
+<div class="line"><a name="l01299"></a><span class="lineno"> 1299</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01300"></a><span class="lineno"> 1300</span> <span class="comment">*   int extlev</span></div>
+<div class="line"><a name="l01301"></a><span class="lineno"> 1301</span> <span class="comment">*     (Given) EXTLEV identifying the binary table extension.</span></div>
 <div class="line"><a name="l01302"></a><span class="lineno"> 1302</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01303"></a><span class="lineno"> 1303</span> <span class="comment">*   long row</span></div>
-<div class="line"><a name="l01304"></a><span class="lineno"> 1304</span> <span class="comment">*     (Given) Table row number.</span></div>
-<div class="line"><a name="l01305"></a><span class="lineno"> 1305</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01306"></a><span class="lineno"> 1306</span> <span class="comment">*   int ndim</span></div>
-<div class="line"><a name="l01307"></a><span class="lineno"> 1307</span> <span class="comment">*     (Given) Expected dimensionality of the wcstab array.</span></div>
-<div class="line"><a name="l01308"></a><span class="lineno"> 1308</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01309"></a><span class="lineno"> 1309</span> <span class="comment">*   int *dimlen</span></div>
-<div class="line"><a name="l01310"></a><span class="lineno"> 1310</span> <span class="comment">*     (Given) Address of the first element of an array of int of length ndim</span></div>
-<div class="line"><a name="l01311"></a><span class="lineno"> 1311</span> <span class="comment">*     into which the wcstab array axis lengths are to be written.</span></div>
+<div class="line"><a name="l01303"></a><span class="lineno"> 1303</span> <span class="comment">*   char ttype[72]</span></div>
+<div class="line"><a name="l01304"></a><span class="lineno"> 1304</span> <span class="comment">*     (Given) TTYPEn identifying the column of the binary table that contains</span></div>
+<div class="line"><a name="l01305"></a><span class="lineno"> 1305</span> <span class="comment">*     the wcstab array.</span></div>
+<div class="line"><a name="l01306"></a><span class="lineno"> 1306</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01307"></a><span class="lineno"> 1307</span> <span class="comment">*   long row</span></div>
+<div class="line"><a name="l01308"></a><span class="lineno"> 1308</span> <span class="comment">*     (Given) Table row number.</span></div>
+<div class="line"><a name="l01309"></a><span class="lineno"> 1309</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01310"></a><span class="lineno"> 1310</span> <span class="comment">*   int ndim</span></div>
+<div class="line"><a name="l01311"></a><span class="lineno"> 1311</span> <span class="comment">*     (Given) Expected dimensionality of the wcstab array.</span></div>
 <div class="line"><a name="l01312"></a><span class="lineno"> 1312</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01313"></a><span class="lineno"> 1313</span> <span class="comment">*   double **arrayp</span></div>
-<div class="line"><a name="l01314"></a><span class="lineno"> 1314</span> <span class="comment">*     (Given) Pointer to an array of double which is to be allocated by the</span></div>
-<div class="line"><a name="l01315"></a><span class="lineno"> 1315</span> <span class="comment">*     user and into which the wcstab array is to be written.</span></div>
+<div class="line"><a name="l01313"></a><span class="lineno"> 1313</span> <span class="comment">*   int *dimlen</span></div>
+<div class="line"><a name="l01314"></a><span class="lineno"> 1314</span> <span class="comment">*     (Given) Address of the first element of an array of int of length ndim</span></div>
+<div class="line"><a name="l01315"></a><span class="lineno"> 1315</span> <span class="comment">*     into which the wcstab array axis lengths are to be written.</span></div>
 <div class="line"><a name="l01316"></a><span class="lineno"> 1316</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01317"></a><span class="lineno"> 1317</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01318"></a><span class="lineno"> 1318</span> <span class="comment">* Global variable: const char *wcs_errmsg[] - Status return messages</span></div>
-<div class="line"><a name="l01319"></a><span class="lineno"> 1319</span> <span class="comment">* ------------------------------------------------------------------</span></div>
-<div class="line"><a name="l01320"></a><span class="lineno"> 1320</span> <span class="comment">* Error messages to match the status value returned from each function.</span></div>
+<div class="line"><a name="l01317"></a><span class="lineno"> 1317</span> <span class="comment">*   double **arrayp</span></div>
+<div class="line"><a name="l01318"></a><span class="lineno"> 1318</span> <span class="comment">*     (Given) Pointer to an array of double which is to be allocated by the</span></div>
+<div class="line"><a name="l01319"></a><span class="lineno"> 1319</span> <span class="comment">*     user and into which the wcstab array is to be written.</span></div>
+<div class="line"><a name="l01320"></a><span class="lineno"> 1320</span> <span class="comment">*</span></div>
 <div class="line"><a name="l01321"></a><span class="lineno"> 1321</span> <span class="comment">*</span></div>
-<div class="line"><a name="l01322"></a><span class="lineno"> 1322</span> <span class="comment">*===========================================================================*/</span></div>
-<div class="line"><a name="l01323"></a><span class="lineno"> 1323</span> </div>
-<div class="line"><a name="l01324"></a><span class="lineno"> 1324</span> <span class="preprocessor">#ifndef WCSLIB_WCS</span></div>
-<div class="line"><a name="l01325"></a><span class="lineno"> 1325</span> <span class="preprocessor"></span><span class="preprocessor">#define WCSLIB_WCS</span></div>
-<div class="line"><a name="l01326"></a><span class="lineno"> 1326</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l01327"></a><span class="lineno"> 1327</span> <span class="preprocessor">#include "<a class="code" href="lin_8h.html">lin.h</a>"</span></div>
-<div class="line"><a name="l01328"></a><span class="lineno"> 1328</span> <span class="preprocessor">#include "<a class="code" href="cel_8h.html">cel.h</a>"</span></div>
-<div class="line"><a name="l01329"></a><span class="lineno"> 1329</span> <span class="preprocessor">#include "<a class="code" href="spc_8h.html">spc.h</a>"</span></div>
-<div class="line"><a name="l01330"></a><span class="lineno"> 1330</span> <span class="preprocessor">#include "<a class="code" href="tab_8h.html">tab.h</a>"</span></div>
-<div class="line"><a name="l01331"></a><span class="lineno"> 1331</span> <span class="preprocessor">#include "<a class="code" href="wcserr_8h.html">wcserr.h</a>"</span></div>
-<div class="line"><a name="l01332"></a><span class="lineno"> 1332</span> </div>
-<div class="line"><a name="l01333"></a><span class="lineno"> 1333</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
-<div class="line"><a name="l01334"></a><span class="lineno"> 1334</span> <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
-<div class="line"><a name="l01335"></a><span class="lineno"> 1335</span> <span class="preprocessor">#endif</span></div>
-<div class="line"><a name="l01336"></a><span class="lineno"> 1336</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l01337"></a><span class="lineno"><a class="code" href="wcs_8h.html#a0653c98b8a1bee5755740ae3f4854094"> 1337</a></span> <span class="preprocessor">#define WCSSUB_LONGITUDE 0x1001</span></div>
-<div class="line"><a name="l01338"></a><span class="lineno"><a class="code" href="wcs_8h.html#a5d377c202850ee0eaf44b3e989d0736e"> 1338</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WCSSUB_LATITUDE  0x1002</span></div>
-<div class="line"><a name="l01339"></a><span class="lineno"><a class="code" href="wcs_8h.html#a22bbac394b025c4cfc7bd73b6d6e3962"> 1339</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WCSSUB_CUBEFACE  0x1004</span></div>
-<div class="line"><a name="l01340"></a><span class="lineno"><a class="code" href="wcs_8h.html#ab9885b02031ff7aa7b094f4a1edee2cd"> 1340</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WCSSUB_CELESTIAL 0x1007</span></div>
-<div class="line"><a name="l01341"></a><span class="lineno"><a class="code" href="wcs_8h.html#a4b2dfca2e80fe80ba85dc830cd9c377b"> 1341</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WCSSUB_SPECTRAL  0x1008</span></div>
-<div class="line"><a name="l01342"></a><span class="lineno"><a class="code" href="wcs_8h.html#a6ba6d2640572b12a11e3558fa75a01ed"> 1342</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WCSSUB_STOKES    0x1010</span></div>
-<div class="line"><a name="l01343"></a><span class="lineno"> 1343</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l01344"></a><span class="lineno"> 1344</span> </div>
-<div class="line"><a name="l01345"></a><span class="lineno"> 1345</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="wcs_8h.html#ad16bd8db875ee05b014429efdc1f3471" title="Status return messages. ">wcs_errmsg</a>[];</div>
-<div class="line"><a name="l01346"></a><span class="lineno"> 1346</span> </div>
-<div class="line"><a name="l01347"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25f"> 1347</a></span> <span class="keyword">enum</span> <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25f">wcs_errmsg_enum</a> {</div>
-<div class="line"><a name="l01348"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa8b87c21d4a2cab41d4eea0a95378fca8"> 1348</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa8b87c21d4a2cab41d4eea0a95378fca8">WCSERR_SUCCESS</a>         =  0,  <span class="comment">/* Success. */</span></div>
-<div class="line"><a name="l01349"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fac51c733d8a719dd698f9e96e9a4fa83f"> 1349</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fac51c733d8a719dd698f9e96e9a4fa83f">WCSERR_NULL_POINTER</a>    =  1,  <span class="comment">/* Null wcsprm pointer passed. */</span></div>
-<div class="line"><a name="l01350"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa5c58d5530bc7577a70185376c15180af"> 1350</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa5c58d5530bc7577a70185376c15180af">WCSERR_MEMORY</a>          =  2,  <span class="comment">/* Memory allocation failed. */</span></div>
-<div class="line"><a name="l01351"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa2904278d916c820236347783312a7ce0"> 1351</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa2904278d916c820236347783312a7ce0">WCSERR_SINGULAR_MTX</a>    =  3,  <span class="comment">/* Linear transformation matrix is</span></div>
-<div class="line"><a name="l01352"></a><span class="lineno"> 1352</span> <span class="comment">                                   singular. */</span></div>
-<div class="line"><a name="l01353"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa598db0fcc4961aa3c5e0a296bec2b313"> 1353</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa598db0fcc4961aa3c5e0a296bec2b313">WCSERR_BAD_CTYPE</a>       =  4,  <span class="comment">/* Inconsistent or unrecognized coordinate</span></div>
-<div class="line"><a name="l01354"></a><span class="lineno"> 1354</span> <span class="comment">                                   axis types. */</span></div>
-<div class="line"><a name="l01355"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fafe9ed842ea8f525c7b8fed2f60015dd9"> 1355</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fafe9ed842ea8f525c7b8fed2f60015dd9">WCSERR_BAD_PARAM</a>       =  5,  <span class="comment">/* Invalid parameter value. */</span></div>
-<div class="line"><a name="l01356"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa71cb7eaa633d9e0f560555a016f1f007"> 1356</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa71cb7eaa633d9e0f560555a016f1f007">WCSERR_BAD_COORD_TRANS</a> =  6,  <span class="comment">/* Invalid coordinate transformation</span></div>
-<div class="line"><a name="l01357"></a><span class="lineno"> 1357</span> <span class="comment">                                   parameters. */</span></div>
-<div class="line"><a name="l01358"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fadfa2a8cf8021827378091315b8e0a020"> 1358</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fadfa2a8cf8021827378091315b8e0a020">WCSERR_ILL_COORD_TRANS</a> =  7,  <span class="comment">/* Ill-conditioned coordinate transformation</span></div>
-<div class="line"><a name="l01359"></a><span class="lineno"> 1359</span> <span class="comment">                                   parameters. */</span></div>
-<div class="line"><a name="l01360"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa08306533cf0c7555dad662e82e8a4a69"> 1360</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa08306533cf0c7555dad662e82e8a4a69">WCSERR_BAD_PIX</a>         =  8,  <span class="comment">/* One or more of the pixel coordinates were</span></div>
-<div class="line"><a name="l01361"></a><span class="lineno"> 1361</span> <span class="comment">                                   invalid. */</span></div>
-<div class="line"><a name="l01362"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa03824b7b5c22e5f0cc91363eb695a804"> 1362</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa03824b7b5c22e5f0cc91363eb695a804">WCSERR_BAD_WORLD</a>       =  9,  <span class="comment">/* One or more of the world coordinates were</span></div>
-<div class="line"><a name="l01363"></a><span class="lineno"> 1363</span> <span class="comment">                                   invalid. */</span></div>
-<div class="line"><a name="l01364"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa5d662102c172495df1f9bb03cedd701d"> 1364</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa5d662102c172495df1f9bb03cedd701d">WCSERR_BAD_WORLD_COORD</a> = 10,  <span class="comment">/* Invalid world coordinate. */</span></div>
-<div class="line"><a name="l01365"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa832122bb304560f92df91e391d55948a"> 1365</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa832122bb304560f92df91e391d55948a">WCSERR_NO_SOLUTION</a>     = 11,  <span class="comment">/* No solution found in the specified</span></div>
-<div class="line"><a name="l01366"></a><span class="lineno"> 1366</span> <span class="comment">                                   interval. */</span></div>
-<div class="line"><a name="l01367"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa88e600163f719a759d3569bf1548109e"> 1367</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa88e600163f719a759d3569bf1548109e">WCSERR_BAD_SUBIMAGE</a>    = 12,  <span class="comment">/* Invalid subimage specification. */</span></div>
-<div class="line"><a name="l01368"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa37c8aa0aedc12c63df08f39cb7177ff7"> 1368</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa37c8aa0aedc12c63df08f39cb7177ff7">WCSERR_NON_SEPARABLE</a>   = 13   <span class="comment">/* Non-separable subimage coordinate</span></div>
-<div class="line"><a name="l01369"></a><span class="lineno"> 1369</span> <span class="comment">                                   system. */</span></div>
-<div class="line"><a name="l01370"></a><span class="lineno"> 1370</span> };</div>
-<div class="line"><a name="l01371"></a><span class="lineno"> 1371</span> </div>
-<div class="line"><a name="l01372"></a><span class="lineno"> 1372</span> </div>
-<div class="line"><a name="l01373"></a><span class="lineno"> 1373</span> <span class="comment">/* Struct used for storing PVi_ma keywords. */</span></div>
-<div class="line"><a name="l01374"></a><span class="lineno"><a class="code" href="structpvcard.html"> 1374</a></span> <span class="keyword">struct </span><a class="code" href="structpvcard.html" title="Store for PVi_ma keyrecords. ">pvcard</a> {</div>
-<div class="line"><a name="l01375"></a><span class="lineno"><a class="code" href="structpvcard.html#a88fa516543184eaffe6bd2c57946d9a7"> 1375</a></span>   <span class="keywordtype">int</span> <a class="code" href="structpvcard.html#a88fa516543184eaffe6bd2c57946d9a7">i</a>;                        <span class="comment">/* Axis number, as in PVi_ma (1-relative).  */</span></div>
-<div class="line"><a name="l01376"></a><span class="lineno"><a class="code" href="structpvcard.html#af011f1972d6d345540f36a5c08a30d1f"> 1376</a></span>   <span class="keywordtype">int</span> <a class="code" href="structpvcard.html#af011f1972d6d345540f36a5c08a30d1f">m</a>;                        <span class="comment">/* Parameter number, ditto  (0-relative).   */</span></div>
-<div class="line"><a name="l01377"></a><span class="lineno"><a class="code" href="structpvcard.html#a5c97562bbadb55b8a2db59d9c7878059"> 1377</a></span>   <span class="keywordtype">double</span> <a class="code" href="structpvcard.html#a5c97562bbadb55b8a2db59d9c7878059">value</a>;                 <span class="comment">/* Parameter value.                         */</span></div>
-<div class="line"><a name="l01378"></a><span class="lineno"> 1378</span> };</div>
-<div class="line"><a name="l01379"></a><span class="lineno"> 1379</span> </div>
-<div class="line"><a name="l01380"></a><span class="lineno"> 1380</span> <span class="comment">/* Struct used for storing PSi_ma keywords. */</span></div>
-<div class="line"><a name="l01381"></a><span class="lineno"><a class="code" href="structpscard.html"> 1381</a></span> <span class="keyword">struct </span><a class="code" href="structpscard.html" title="Store for PSi_ma keyrecords. ">pscard</a> {</div>
-<div class="line"><a name="l01382"></a><span class="lineno"><a class="code" href="structpscard.html#a37a06c885cf73736f2eb5e78bd1034a1"> 1382</a></span>   <span class="keywordtype">int</span> <a class="code" href="structpscard.html#a37a06c885cf73736f2eb5e78bd1034a1">i</a>;                        <span class="comment">/* Axis number, as in PSi_ma (1-relative).  */</span></div>
-<div class="line"><a name="l01383"></a><span class="lineno"><a class="code" href="structpscard.html#a71912f084bc3cadeb0758756a723071a"> 1383</a></span>   <span class="keywordtype">int</span> <a class="code" href="structpscard.html#a71912f084bc3cadeb0758756a723071a">m</a>;                        <span class="comment">/* Parameter number, ditto  (0-relative).   */</span></div>
-<div class="line"><a name="l01384"></a><span class="lineno"><a class="code" href="structpscard.html#a9986f2ace84978f6cc543224b57592c9"> 1384</a></span>   <span class="keywordtype">char</span> <a class="code" href="structpscard.html#a9986f2ace84978f6cc543224b57592c9">value</a>[72];               <span class="comment">/* Parameter value.                         */</span></div>
-<div class="line"><a name="l01385"></a><span class="lineno"> 1385</span> };</div>
-<div class="line"><a name="l01386"></a><span class="lineno"> 1386</span> </div>
-<div class="line"><a name="l01387"></a><span class="lineno"> 1387</span>                                 <span class="comment">/* For extracting wcstab arrays.  Matches   */</span></div>
-<div class="line"><a name="l01388"></a><span class="lineno"> 1388</span>                                 <span class="comment">/* the wtbarr typedef defined in CFITSIO    */</span></div>
-<div class="line"><a name="l01389"></a><span class="lineno"> 1389</span>                                 <span class="comment">/* header fitsio.h.                         */</span></div>
-<div class="line"><a name="l01390"></a><span class="lineno"> 1390</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
-<div class="line"><a name="l01391"></a><span class="lineno"> 1391</span> <span class="preprocessor"></span><span class="preprocessor">#define wtbarr wtbarr_s         </span><span class="comment">/* See prologue above.                      */</span><span class="preprocessor"></span></div>
-<div class="line"><a name="l01392"></a><span class="lineno"> 1392</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
-<div class="line"><a name="l01393"></a><span class="lineno"> 1393</span> <span class="preprocessor"></span><span class="keyword">struct </span><a class="code" href="structwtbarr.html" title="Extraction of coordinate lookup tables from BINTABLE. ">wtbarr</a> {</div>
-<div class="line"><a name="l01394"></a><span class="lineno"> 1394</span>   <span class="keywordtype">int</span>  <a class="code" href="structwtbarr.html#a8743b84c99b4b5e7ab7bf0653507a180">i</a>;                       <span class="comment">/* Image axis number.                       */</span></div>
-<div class="line"><a name="l01395"></a><span class="lineno"> 1395</span>   <span class="keywordtype">int</span>  <a class="code" href="structwtbarr.html#a1e88ad32570534a006e96cba721489b5">m</a>;                       <span class="comment">/* Array axis number for index vectors.     */</span></div>
-<div class="line"><a name="l01396"></a><span class="lineno"> 1396</span>   <span class="keywordtype">int</span>  <a class="code" href="structwtbarr.html#af8ea7b15992ab7a86be63ff83318be41">kind</a>;                    <span class="comment">/* wcstab array type.                       */</span></div>
-<div class="line"><a name="l01397"></a><span class="lineno"> 1397</span>   <span class="keywordtype">char</span> <a class="code" href="structwtbarr.html#a9f1fcad814aa3da08dfa75ede2a07deb">extnam</a>[72];              <span class="comment">/* EXTNAME of binary table extension.       */</span></div>
-<div class="line"><a name="l01398"></a><span class="lineno"> 1398</span>   <span class="keywordtype">int</span>  <a class="code" href="structwtbarr.html#a24487eda7b17800f41bd4a452c6306d5">extver</a>;                  <span class="comment">/* EXTVER  of binary table extension.       */</span></div>
-<div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>   <span class="keywordtype">int</span>  <a class="code" href="structwtbarr.html#a10c8dba85b62e2794071dd50a41c4bb1">extlev</a>;                  <span class="comment">/* EXTLEV  of binary table extension.       */</span></div>
-<div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>   <span class="keywordtype">char</span> <a class="code" href="structwtbarr.html#a750832793167bbeebd1074e29844415d">ttype</a>[72];               <span class="comment">/* TTYPEn of column containing the array.   */</span></div>
-<div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>   <span class="keywordtype">long</span> <a class="code" href="structwtbarr.html#a2ff7c235353320c6dd98951484012ee7">row</a>;                     <span class="comment">/* Table row number.                        */</span></div>
-<div class="line"><a name="l01402"></a><span class="lineno"> 1402</span>   <span class="keywordtype">int</span>  <a class="code" href="structwtbarr.html#af862b4f90b0406ed8dd0c240768d4bd3">ndim</a>;                    <span class="comment">/* Expected wcstab array dimensionality.    */</span></div>
-<div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>   <span class="keywordtype">int</span>  *<a class="code" href="structwtbarr.html#a901403d05f985d4a1fbd2fdc9585bd50">dimlen</a>;                 <span class="comment">/* Where to write the array axis lengths.   */</span></div>
-<div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>   <span class="keywordtype">double</span> **<a class="code" href="structwtbarr.html#a41c30234dbdf18ac094872cf39562172">arrayp</a>;              <span class="comment">/* Where to write the address of the array  */</span></div>
-<div class="line"><a name="l01405"></a><span class="lineno"> 1405</span>                                 <span class="comment">/* allocated to store the wcstab array.     */</span></div>
-<div class="line"><a name="l01406"></a><span class="lineno"> 1406</span> };</div>
-<div class="line"><a name="l01407"></a><span class="lineno"> 1407</span> </div>
-<div class="line"><a name="l01408"></a><span class="lineno"> 1408</span> </div>
-<div class="line"><a name="l01409"></a><span class="lineno"><a class="code" href="structwcsprm.html"> 1409</a></span> <span class="keyword">struct </span><a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> {</div>
-<div class="line"><a name="l01410"></a><span class="lineno"> 1410</span>   <span class="comment">/* Initialization flag (see the prologue above).                          */</span></div>
-<div class="line"><a name="l01411"></a><span class="lineno"> 1411</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
-<div class="line"><a name="l01412"></a><span class="lineno"><a class="code" href="structwcsprm.html#a35bff8de85e5a8892e1b68db69ca7a68"> 1412</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a35bff8de85e5a8892e1b68db69ca7a68">flag</a>;                  <span class="comment">/* Set to zero to force initialization.     */</span></div>
-<div class="line"><a name="l01413"></a><span class="lineno"> 1413</span> </div>
-<div class="line"><a name="l01414"></a><span class="lineno"> 1414</span>   <span class="comment">/* FITS header keyvalues to be provided (see the prologue above).         */</span></div>
+<div class="line"><a name="l01322"></a><span class="lineno"> 1322</span> <span class="comment">* Global variable: const char *wcs_errmsg[] - Status return messages</span></div>
+<div class="line"><a name="l01323"></a><span class="lineno"> 1323</span> <span class="comment">* ------------------------------------------------------------------</span></div>
+<div class="line"><a name="l01324"></a><span class="lineno"> 1324</span> <span class="comment">* Error messages to match the status value returned from each function.</span></div>
+<div class="line"><a name="l01325"></a><span class="lineno"> 1325</span> <span class="comment">*</span></div>
+<div class="line"><a name="l01326"></a><span class="lineno"> 1326</span> <span class="comment">*===========================================================================*/</span></div>
+<div class="line"><a name="l01327"></a><span class="lineno"> 1327</span> </div>
+<div class="line"><a name="l01328"></a><span class="lineno"> 1328</span> <span class="preprocessor">#ifndef WCSLIB_WCS</span></div>
+<div class="line"><a name="l01329"></a><span class="lineno"> 1329</span> <span class="preprocessor"></span><span class="preprocessor">#define WCSLIB_WCS</span></div>
+<div class="line"><a name="l01330"></a><span class="lineno"> 1330</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l01331"></a><span class="lineno"> 1331</span> <span class="preprocessor">#include "<a class="code" href="lin_8h.html">lin.h</a>"</span></div>
+<div class="line"><a name="l01332"></a><span class="lineno"> 1332</span> <span class="preprocessor">#include "<a class="code" href="cel_8h.html">cel.h</a>"</span></div>
+<div class="line"><a name="l01333"></a><span class="lineno"> 1333</span> <span class="preprocessor">#include "<a class="code" href="spc_8h.html">spc.h</a>"</span></div>
+<div class="line"><a name="l01334"></a><span class="lineno"> 1334</span> <span class="preprocessor">#include "<a class="code" href="tab_8h.html">tab.h</a>"</span></div>
+<div class="line"><a name="l01335"></a><span class="lineno"> 1335</span> <span class="preprocessor">#include "<a class="code" href="wcserr_8h.html">wcserr.h</a>"</span></div>
+<div class="line"><a name="l01336"></a><span class="lineno"> 1336</span> </div>
+<div class="line"><a name="l01337"></a><span class="lineno"> 1337</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
+<div class="line"><a name="l01338"></a><span class="lineno"> 1338</span> <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div>
+<div class="line"><a name="l01339"></a><span class="lineno"> 1339</span> <span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l01340"></a><span class="lineno"> 1340</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l01341"></a><span class="lineno"><a class="code" href="wcs_8h.html#a0653c98b8a1bee5755740ae3f4854094"> 1341</a></span> <span class="preprocessor">#define WCSSUB_LONGITUDE 0x1001</span></div>
+<div class="line"><a name="l01342"></a><span class="lineno"><a class="code" href="wcs_8h.html#a5d377c202850ee0eaf44b3e989d0736e"> 1342</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WCSSUB_LATITUDE  0x1002</span></div>
+<div class="line"><a name="l01343"></a><span class="lineno"><a class="code" href="wcs_8h.html#a22bbac394b025c4cfc7bd73b6d6e3962"> 1343</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WCSSUB_CUBEFACE  0x1004</span></div>
+<div class="line"><a name="l01344"></a><span class="lineno"><a class="code" href="wcs_8h.html#ab9885b02031ff7aa7b094f4a1edee2cd"> 1344</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WCSSUB_CELESTIAL 0x1007</span></div>
+<div class="line"><a name="l01345"></a><span class="lineno"><a class="code" href="wcs_8h.html#a4b2dfca2e80fe80ba85dc830cd9c377b"> 1345</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WCSSUB_SPECTRAL  0x1008</span></div>
+<div class="line"><a name="l01346"></a><span class="lineno"><a class="code" href="wcs_8h.html#a6ba6d2640572b12a11e3558fa75a01ed"> 1346</a></span> <span class="preprocessor"></span><span class="preprocessor">#define WCSSUB_STOKES    0x1010</span></div>
+<div class="line"><a name="l01347"></a><span class="lineno"> 1347</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l01348"></a><span class="lineno"> 1348</span> </div>
+<div class="line"><a name="l01349"></a><span class="lineno"> 1349</span> <span class="keyword">extern</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="wcs_8h.html#ad16bd8db875ee05b014429efdc1f3471" title="Status return messages. ">wcs_errmsg</a>[];</div>
+<div class="line"><a name="l01350"></a><span class="lineno"> 1350</span> </div>
+<div class="line"><a name="l01351"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25f"> 1351</a></span> <span class="keyword">enum</span> <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25f">wcs_errmsg_enum</a> {</div>
+<div class="line"><a name="l01352"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa8b87c21d4a2cab41d4eea0a95378fca8"> 1352</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa8b87c21d4a2cab41d4eea0a95378fca8">WCSERR_SUCCESS</a>         =  0,  <span class="comment">/* Success. */</span></div>
+<div class="line"><a name="l01353"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fac51c733d8a719dd698f9e96e9a4fa83f"> 1353</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fac51c733d8a719dd698f9e96e9a4fa83f">WCSERR_NULL_POINTER</a>    =  1,  <span class="comment">/* Null wcsprm pointer passed. */</span></div>
+<div class="line"><a name="l01354"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa5c58d5530bc7577a70185376c15180af"> 1354</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa5c58d5530bc7577a70185376c15180af">WCSERR_MEMORY</a>          =  2,  <span class="comment">/* Memory allocation failed. */</span></div>
+<div class="line"><a name="l01355"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa2904278d916c820236347783312a7ce0"> 1355</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa2904278d916c820236347783312a7ce0">WCSERR_SINGULAR_MTX</a>    =  3,  <span class="comment">/* Linear transformation matrix is</span></div>
+<div class="line"><a name="l01356"></a><span class="lineno"> 1356</span> <span class="comment">                                   singular. */</span></div>
+<div class="line"><a name="l01357"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa598db0fcc4961aa3c5e0a296bec2b313"> 1357</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa598db0fcc4961aa3c5e0a296bec2b313">WCSERR_BAD_CTYPE</a>       =  4,  <span class="comment">/* Inconsistent or unrecognized coordinate</span></div>
+<div class="line"><a name="l01358"></a><span class="lineno"> 1358</span> <span class="comment">                                   axis types. */</span></div>
+<div class="line"><a name="l01359"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fafe9ed842ea8f525c7b8fed2f60015dd9"> 1359</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fafe9ed842ea8f525c7b8fed2f60015dd9">WCSERR_BAD_PARAM</a>       =  5,  <span class="comment">/* Invalid parameter value. */</span></div>
+<div class="line"><a name="l01360"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa71cb7eaa633d9e0f560555a016f1f007"> 1360</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa71cb7eaa633d9e0f560555a016f1f007">WCSERR_BAD_COORD_TRANS</a> =  6,  <span class="comment">/* Invalid coordinate transformation</span></div>
+<div class="line"><a name="l01361"></a><span class="lineno"> 1361</span> <span class="comment">                                   parameters. */</span></div>
+<div class="line"><a name="l01362"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fadfa2a8cf8021827378091315b8e0a020"> 1362</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fadfa2a8cf8021827378091315b8e0a020">WCSERR_ILL_COORD_TRANS</a> =  7,  <span class="comment">/* Ill-conditioned coordinate transformation</span></div>
+<div class="line"><a name="l01363"></a><span class="lineno"> 1363</span> <span class="comment">                                   parameters. */</span></div>
+<div class="line"><a name="l01364"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa08306533cf0c7555dad662e82e8a4a69"> 1364</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa08306533cf0c7555dad662e82e8a4a69">WCSERR_BAD_PIX</a>         =  8,  <span class="comment">/* One or more of the pixel coordinates were</span></div>
+<div class="line"><a name="l01365"></a><span class="lineno"> 1365</span> <span class="comment">                                   invalid. */</span></div>
+<div class="line"><a name="l01366"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa03824b7b5c22e5f0cc91363eb695a804"> 1366</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa03824b7b5c22e5f0cc91363eb695a804">WCSERR_BAD_WORLD</a>       =  9,  <span class="comment">/* One or more of the world coordinates were</span></div>
+<div class="line"><a name="l01367"></a><span class="lineno"> 1367</span> <span class="comment">                                   invalid. */</span></div>
+<div class="line"><a name="l01368"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa5d662102c172495df1f9bb03cedd701d"> 1368</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa5d662102c172495df1f9bb03cedd701d">WCSERR_BAD_WORLD_COORD</a> = 10,  <span class="comment">/* Invalid world coordinate. */</span></div>
+<div class="line"><a name="l01369"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa832122bb304560f92df91e391d55948a"> 1369</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa832122bb304560f92df91e391d55948a">WCSERR_NO_SOLUTION</a>     = 11,  <span class="comment">/* No solution found in the specified</span></div>
+<div class="line"><a name="l01370"></a><span class="lineno"> 1370</span> <span class="comment">                                   interval. */</span></div>
+<div class="line"><a name="l01371"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa88e600163f719a759d3569bf1548109e"> 1371</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa88e600163f719a759d3569bf1548109e">WCSERR_BAD_SUBIMAGE</a>    = 12,  <span class="comment">/* Invalid subimage specification. */</span></div>
+<div class="line"><a name="l01372"></a><span class="lineno"><a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa37c8aa0aedc12c63df08f39cb7177ff7"> 1372</a></span>   <a class="code" href="wcs_8h.html#a158615aa1622d8feedd228795ff9a25fa37c8aa0aedc12c63df08f39cb7177ff7">WCSERR_NON_SEPARABLE</a>   = 13   <span class="comment">/* Non-separable subimage coordinate</span></div>
+<div class="line"><a name="l01373"></a><span class="lineno"> 1373</span> <span class="comment">                                   system. */</span></div>
+<div class="line"><a name="l01374"></a><span class="lineno"> 1374</span> };</div>
+<div class="line"><a name="l01375"></a><span class="lineno"> 1375</span> </div>
+<div class="line"><a name="l01376"></a><span class="lineno"> 1376</span> </div>
+<div class="line"><a name="l01377"></a><span class="lineno"> 1377</span> <span class="comment">/* Struct used for storing PVi_ma keywords. */</span></div>
+<div class="line"><a name="l01378"></a><span class="lineno"><a class="code" href="structpvcard.html"> 1378</a></span> <span class="keyword">struct </span><a class="code" href="structpvcard.html" title="Store for PVi_ma keyrecords. ">pvcard</a> {</div>
+<div class="line"><a name="l01379"></a><span class="lineno"><a class="code" href="structpvcard.html#a88fa516543184eaffe6bd2c57946d9a7"> 1379</a></span>   <span class="keywordtype">int</span> <a class="code" href="structpvcard.html#a88fa516543184eaffe6bd2c57946d9a7">i</a>;                        <span class="comment">/* Axis number, as in PVi_ma (1-relative).  */</span></div>
+<div class="line"><a name="l01380"></a><span class="lineno"><a class="code" href="structpvcard.html#af011f1972d6d345540f36a5c08a30d1f"> 1380</a></span>   <span class="keywordtype">int</span> <a class="code" href="structpvcard.html#af011f1972d6d345540f36a5c08a30d1f">m</a>;                        <span class="comment">/* Parameter number, ditto  (0-relative).   */</span></div>
+<div class="line"><a name="l01381"></a><span class="lineno"><a class="code" href="structpvcard.html#a5c97562bbadb55b8a2db59d9c7878059"> 1381</a></span>   <span class="keywordtype">double</span> <a class="code" href="structpvcard.html#a5c97562bbadb55b8a2db59d9c7878059">value</a>;                 <span class="comment">/* Parameter value.                         */</span></div>
+<div class="line"><a name="l01382"></a><span class="lineno"> 1382</span> };</div>
+<div class="line"><a name="l01383"></a><span class="lineno"> 1383</span> </div>
+<div class="line"><a name="l01384"></a><span class="lineno"> 1384</span> <span class="comment">/* Struct used for storing PSi_ma keywords. */</span></div>
+<div class="line"><a name="l01385"></a><span class="lineno"><a class="code" href="structpscard.html"> 1385</a></span> <span class="keyword">struct </span><a class="code" href="structpscard.html" title="Store for PSi_ma keyrecords. ">pscard</a> {</div>
+<div class="line"><a name="l01386"></a><span class="lineno"><a class="code" href="structpscard.html#a37a06c885cf73736f2eb5e78bd1034a1"> 1386</a></span>   <span class="keywordtype">int</span> <a class="code" href="structpscard.html#a37a06c885cf73736f2eb5e78bd1034a1">i</a>;                        <span class="comment">/* Axis number, as in PSi_ma (1-relative).  */</span></div>
+<div class="line"><a name="l01387"></a><span class="lineno"><a class="code" href="structpscard.html#a71912f084bc3cadeb0758756a723071a"> 1387</a></span>   <span class="keywordtype">int</span> <a class="code" href="structpscard.html#a71912f084bc3cadeb0758756a723071a">m</a>;                        <span class="comment">/* Parameter number, ditto  (0-relative).   */</span></div>
+<div class="line"><a name="l01388"></a><span class="lineno"><a class="code" href="structpscard.html#a9986f2ace84978f6cc543224b57592c9"> 1388</a></span>   <span class="keywordtype">char</span> <a class="code" href="structpscard.html#a9986f2ace84978f6cc543224b57592c9">value</a>[72];               <span class="comment">/* Parameter value.                         */</span></div>
+<div class="line"><a name="l01389"></a><span class="lineno"> 1389</span> };</div>
+<div class="line"><a name="l01390"></a><span class="lineno"> 1390</span> </div>
+<div class="line"><a name="l01391"></a><span class="lineno"> 1391</span>                                 <span class="comment">/* For extracting wcstab arrays.  Matches   */</span></div>
+<div class="line"><a name="l01392"></a><span class="lineno"> 1392</span>                                 <span class="comment">/* the wtbarr typedef defined in CFITSIO    */</span></div>
+<div class="line"><a name="l01393"></a><span class="lineno"> 1393</span>                                 <span class="comment">/* header fitsio.h.                         */</span></div>
+<div class="line"><a name="l01394"></a><span class="lineno"> 1394</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
+<div class="line"><a name="l01395"></a><span class="lineno"> 1395</span> <span class="preprocessor"></span><span class="preprocessor">#define wtbarr wtbarr_s         </span><span class="comment">/* See prologue above.                      */</span><span class="preprocessor"></span></div>
+<div class="line"><a name="l01396"></a><span class="lineno"> 1396</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l01397"></a><span class="lineno"> 1397</span> <span class="preprocessor"></span><span class="keyword">struct </span><a class="code" href="structwtbarr.html" title="Extraction of coordinate lookup tables from BINTABLE. ">wtbarr</a> {</div>
+<div class="line"><a name="l01398"></a><span class="lineno"> 1398</span>   <span class="keywordtype">int</span>  <a class="code" href="structwtbarr.html#a8743b84c99b4b5e7ab7bf0653507a180">i</a>;                       <span class="comment">/* Image axis number.                       */</span></div>
+<div class="line"><a name="l01399"></a><span class="lineno"> 1399</span>   <span class="keywordtype">int</span>  <a class="code" href="structwtbarr.html#a1e88ad32570534a006e96cba721489b5">m</a>;                       <span class="comment">/* Array axis number for index vectors.     */</span></div>
+<div class="line"><a name="l01400"></a><span class="lineno"> 1400</span>   <span class="keywordtype">int</span>  <a class="code" href="structwtbarr.html#af8ea7b15992ab7a86be63ff83318be41">kind</a>;                    <span class="comment">/* wcstab array type.                       */</span></div>
+<div class="line"><a name="l01401"></a><span class="lineno"> 1401</span>   <span class="keywordtype">char</span> <a class="code" href="structwtbarr.html#a9f1fcad814aa3da08dfa75ede2a07deb">extnam</a>[72];              <span class="comment">/* EXTNAME of binary table extension.       */</span></div>
+<div class="line"><a name="l01402"></a><span class="lineno"> 1402</span>   <span class="keywordtype">int</span>  <a class="code" href="structwtbarr.html#a24487eda7b17800f41bd4a452c6306d5">extver</a>;                  <span class="comment">/* EXTVER  of binary table extension.       */</span></div>
+<div class="line"><a name="l01403"></a><span class="lineno"> 1403</span>   <span class="keywordtype">int</span>  <a class="code" href="structwtbarr.html#a10c8dba85b62e2794071dd50a41c4bb1">extlev</a>;                  <span class="comment">/* EXTLEV  of binary table extension.       */</span></div>
+<div class="line"><a name="l01404"></a><span class="lineno"> 1404</span>   <span class="keywordtype">char</span> <a class="code" href="structwtbarr.html#a750832793167bbeebd1074e29844415d">ttype</a>[72];               <span class="comment">/* TTYPEn of column containing the array.   */</span></div>
+<div class="line"><a name="l01405"></a><span class="lineno"> 1405</span>   <span class="keywordtype">long</span> <a class="code" href="structwtbarr.html#a2ff7c235353320c6dd98951484012ee7">row</a>;                     <span class="comment">/* Table row number.                        */</span></div>
+<div class="line"><a name="l01406"></a><span class="lineno"> 1406</span>   <span class="keywordtype">int</span>  <a class="code" href="structwtbarr.html#af862b4f90b0406ed8dd0c240768d4bd3">ndim</a>;                    <span class="comment">/* Expected wcstab array dimensionality.    */</span></div>
+<div class="line"><a name="l01407"></a><span class="lineno"> 1407</span>   <span class="keywordtype">int</span>  *<a class="code" href="structwtbarr.html#a901403d05f985d4a1fbd2fdc9585bd50">dimlen</a>;                 <span class="comment">/* Where to write the array axis lengths.   */</span></div>
+<div class="line"><a name="l01408"></a><span class="lineno"> 1408</span>   <span class="keywordtype">double</span> **<a class="code" href="structwtbarr.html#a41c30234dbdf18ac094872cf39562172">arrayp</a>;              <span class="comment">/* Where to write the address of the array  */</span></div>
+<div class="line"><a name="l01409"></a><span class="lineno"> 1409</span>                                 <span class="comment">/* allocated to store the wcstab array.     */</span></div>
+<div class="line"><a name="l01410"></a><span class="lineno"> 1410</span> };</div>
+<div class="line"><a name="l01411"></a><span class="lineno"> 1411</span> </div>
+<div class="line"><a name="l01412"></a><span class="lineno"> 1412</span> </div>
+<div class="line"><a name="l01413"></a><span class="lineno"><a class="code" href="structwcsprm.html"> 1413</a></span> <span class="keyword">struct </span><a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> {</div>
+<div class="line"><a name="l01414"></a><span class="lineno"> 1414</span>   <span class="comment">/* Initialization flag (see the prologue above).                          */</span></div>
 <div class="line"><a name="l01415"></a><span class="lineno"> 1415</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
-<div class="line"><a name="l01416"></a><span class="lineno"><a class="code" href="structwcsprm.html#a70cac2976524a5f0a6aeb2b3fcb95834"> 1416</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a70cac2976524a5f0a6aeb2b3fcb95834">naxis</a>;                 <span class="comment">/* Number of axes (pixel and coordinate).   */</span></div>
-<div class="line"><a name="l01417"></a><span class="lineno"><a class="code" href="structwcsprm.html#aadad828f07e3affd1511e533b00da19f"> 1417</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#aadad828f07e3affd1511e533b00da19f">crpix</a>;                <span class="comment">/* CRPIXja keyvalues for each pixel axis.   */</span></div>
-<div class="line"><a name="l01418"></a><span class="lineno"><a class="code" href="structwcsprm.html#a3495a5b0ef529706ec9a0af5c3163d63"> 1418</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#a3495a5b0ef529706ec9a0af5c3163d63">pc</a>;                   <span class="comment">/* PCi_ja  linear transformation matrix.    */</span></div>
-<div class="line"><a name="l01419"></a><span class="lineno"><a class="code" href="structwcsprm.html#ade355cdce054938cfa36e06ef9c51446"> 1419</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#ade355cdce054938cfa36e06ef9c51446">cdelt</a>;                <span class="comment">/* CDELTia keyvalues for each coord axis.   */</span></div>
-<div class="line"><a name="l01420"></a><span class="lineno"><a class="code" href="structwcsprm.html#a7a0a1ce2432cef9377f70367ea1fd18c"> 1420</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#a7a0a1ce2432cef9377f70367ea1fd18c">crval</a>;                <span class="comment">/* CRVALia keyvalues for each coord axis.   */</span></div>
-<div class="line"><a name="l01421"></a><span class="lineno"> 1421</span> </div>
-<div class="line"><a name="l01422"></a><span class="lineno"><a class="code" href="structwcsprm.html#aa0ae3f3605566be2e85e51e5b52c3b52"> 1422</a></span>   char   (*<a class="code" href="structwcsprm.html#aa0ae3f3605566be2e85e51e5b52c3b52">cunit</a>)[72];          <span class="comment">/* CUNITia keyvalues for each coord axis.   */</span></div>
-<div class="line"><a name="l01423"></a><span class="lineno"><a class="code" href="structwcsprm.html#ae1f462606974e1324cd38f143eda691e"> 1423</a></span>   char   (*<a class="code" href="structwcsprm.html#ae1f462606974e1324cd38f143eda691e">ctype</a>)[72];          <span class="comment">/* CTYPEia keyvalues for each coord axis.   */</span></div>
-<div class="line"><a name="l01424"></a><span class="lineno"> 1424</span> </div>
-<div class="line"><a name="l01425"></a><span class="lineno"><a class="code" href="structwcsprm.html#af8f679749574250cb9ba09e1f05fab5d"> 1425</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#af8f679749574250cb9ba09e1f05fab5d">lonpole</a>;               <span class="comment">/* LONPOLEa keyvalue.                       */</span></div>
-<div class="line"><a name="l01426"></a><span class="lineno"><a class="code" href="structwcsprm.html#a5e04127eb71da6e1350467a7a6d236f5"> 1426</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#a5e04127eb71da6e1350467a7a6d236f5">latpole</a>;               <span class="comment">/* LATPOLEa keyvalue.                       */</span></div>
-<div class="line"><a name="l01427"></a><span class="lineno"> 1427</span> </div>
-<div class="line"><a name="l01428"></a><span class="lineno"><a class="code" href="structwcsprm.html#ada1b98589c0127d34766b4c6b5d6cb41"> 1428</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#ada1b98589c0127d34766b4c6b5d6cb41">restfrq</a>;               <span class="comment">/* RESTFRQa keyvalue.                       */</span></div>
-<div class="line"><a name="l01429"></a><span class="lineno"><a class="code" href="structwcsprm.html#a5d0b60efc55a61525b9beb26ead4859e"> 1429</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#a5d0b60efc55a61525b9beb26ead4859e">restwav</a>;               <span class="comment">/* RESTWAVa keyvalue.                       */</span></div>
-<div class="line"><a name="l01430"></a><span class="lineno"> 1430</span> </div>
-<div class="line"><a name="l01431"></a><span class="lineno"><a class="code" href="structwcsprm.html#a0e31f1eef036258c2957da9b985945dd"> 1431</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a0e31f1eef036258c2957da9b985945dd">npv</a>;                   <span class="comment">/* Number of PVi_ma keywords, and the       */</span></div>
-<div class="line"><a name="l01432"></a><span class="lineno"><a class="code" href="structwcsprm.html#a912eed291f15134e8cfb8750acc6c4bc"> 1432</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a912eed291f15134e8cfb8750acc6c4bc">npvmax</a>;                <span class="comment">/* number for which space was allocated.    */</span></div>
-<div class="line"><a name="l01433"></a><span class="lineno"><a class="code" href="structwcsprm.html#a04fbd6ed1b338e225f2291523e64be2c"> 1433</a></span>   <span class="keyword">struct </span><a class="code" href="structpvcard.html" title="Store for PVi_ma keyrecords. ">pvcard</a> *<a class="code" href="structwcsprm.html#a04fbd6ed1b338e225f2291523e64be2c">pv</a>;            <span class="comment">/* PVi_ma keywords for each i and m.        */</span></div>
+<div class="line"><a name="l01416"></a><span class="lineno"><a class="code" href="structwcsprm.html#a35bff8de85e5a8892e1b68db69ca7a68"> 1416</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a35bff8de85e5a8892e1b68db69ca7a68">flag</a>;                  <span class="comment">/* Set to zero to force initialization.     */</span></div>
+<div class="line"><a name="l01417"></a><span class="lineno"> 1417</span> </div>
+<div class="line"><a name="l01418"></a><span class="lineno"> 1418</span>   <span class="comment">/* FITS header keyvalues to be provided (see the prologue above).         */</span></div>
+<div class="line"><a name="l01419"></a><span class="lineno"> 1419</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
+<div class="line"><a name="l01420"></a><span class="lineno"><a class="code" href="structwcsprm.html#a70cac2976524a5f0a6aeb2b3fcb95834"> 1420</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a70cac2976524a5f0a6aeb2b3fcb95834">naxis</a>;                 <span class="comment">/* Number of axes (pixel and coordinate).   */</span></div>
+<div class="line"><a name="l01421"></a><span class="lineno"><a class="code" href="structwcsprm.html#aadad828f07e3affd1511e533b00da19f"> 1421</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#aadad828f07e3affd1511e533b00da19f">crpix</a>;                <span class="comment">/* CRPIXja keyvalues for each pixel axis.   */</span></div>
+<div class="line"><a name="l01422"></a><span class="lineno"><a class="code" href="structwcsprm.html#a3495a5b0ef529706ec9a0af5c3163d63"> 1422</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#a3495a5b0ef529706ec9a0af5c3163d63">pc</a>;                   <span class="comment">/* PCi_ja  linear transformation matrix.    */</span></div>
+<div class="line"><a name="l01423"></a><span class="lineno"><a class="code" href="structwcsprm.html#ade355cdce054938cfa36e06ef9c51446"> 1423</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#ade355cdce054938cfa36e06ef9c51446">cdelt</a>;                <span class="comment">/* CDELTia keyvalues for each coord axis.   */</span></div>
+<div class="line"><a name="l01424"></a><span class="lineno"><a class="code" href="structwcsprm.html#a7a0a1ce2432cef9377f70367ea1fd18c"> 1424</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#a7a0a1ce2432cef9377f70367ea1fd18c">crval</a>;                <span class="comment">/* CRVALia keyvalues for each coord axis.   */</span></div>
+<div class="line"><a name="l01425"></a><span class="lineno"> 1425</span> </div>
+<div class="line"><a name="l01426"></a><span class="lineno"><a class="code" href="structwcsprm.html#aa0ae3f3605566be2e85e51e5b52c3b52"> 1426</a></span>   char   (*<a class="code" href="structwcsprm.html#aa0ae3f3605566be2e85e51e5b52c3b52">cunit</a>)[72];          <span class="comment">/* CUNITia keyvalues for each coord axis.   */</span></div>
+<div class="line"><a name="l01427"></a><span class="lineno"><a class="code" href="structwcsprm.html#ae1f462606974e1324cd38f143eda691e"> 1427</a></span>   char   (*<a class="code" href="structwcsprm.html#ae1f462606974e1324cd38f143eda691e">ctype</a>)[72];          <span class="comment">/* CTYPEia keyvalues for each coord axis.   */</span></div>
+<div class="line"><a name="l01428"></a><span class="lineno"> 1428</span> </div>
+<div class="line"><a name="l01429"></a><span class="lineno"><a class="code" href="structwcsprm.html#af8f679749574250cb9ba09e1f05fab5d"> 1429</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#af8f679749574250cb9ba09e1f05fab5d">lonpole</a>;               <span class="comment">/* LONPOLEa keyvalue.                       */</span></div>
+<div class="line"><a name="l01430"></a><span class="lineno"><a class="code" href="structwcsprm.html#a5e04127eb71da6e1350467a7a6d236f5"> 1430</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#a5e04127eb71da6e1350467a7a6d236f5">latpole</a>;               <span class="comment">/* LATPOLEa keyvalue.                       */</span></div>
+<div class="line"><a name="l01431"></a><span class="lineno"> 1431</span> </div>
+<div class="line"><a name="l01432"></a><span class="lineno"><a class="code" href="structwcsprm.html#ada1b98589c0127d34766b4c6b5d6cb41"> 1432</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#ada1b98589c0127d34766b4c6b5d6cb41">restfrq</a>;               <span class="comment">/* RESTFRQa keyvalue.                       */</span></div>
+<div class="line"><a name="l01433"></a><span class="lineno"><a class="code" href="structwcsprm.html#a5d0b60efc55a61525b9beb26ead4859e"> 1433</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#a5d0b60efc55a61525b9beb26ead4859e">restwav</a>;               <span class="comment">/* RESTWAVa keyvalue.                       */</span></div>
 <div class="line"><a name="l01434"></a><span class="lineno"> 1434</span> </div>
-<div class="line"><a name="l01435"></a><span class="lineno"><a class="code" href="structwcsprm.html#a4c89dafecd036e169f96cb84d53ace65"> 1435</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a4c89dafecd036e169f96cb84d53ace65">nps</a>;                   <span class="comment">/* Number of PSi_ma keywords, and the       */</span></div>
-<div class="line"><a name="l01436"></a><span class="lineno"><a class="code" href="structwcsprm.html#a42052d557bdef2c5640a6d19b6d9ed8b"> 1436</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a42052d557bdef2c5640a6d19b6d9ed8b">npsmax</a>;                <span class="comment">/* number for which space was allocated.    */</span></div>
-<div class="line"><a name="l01437"></a><span class="lineno"><a class="code" href="structwcsprm.html#a9eca2fcc30058310d020181ae16bf256"> 1437</a></span>   <span class="keyword">struct </span><a class="code" href="structpscard.html" title="Store for PSi_ma keyrecords. ">pscard</a> *<a class="code" href="structwcsprm.html#a9eca2fcc30058310d020181ae16bf256">ps</a>;            <span class="comment">/* PSi_ma keywords for each i and m.        */</span></div>
+<div class="line"><a name="l01435"></a><span class="lineno"><a class="code" href="structwcsprm.html#a0e31f1eef036258c2957da9b985945dd"> 1435</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a0e31f1eef036258c2957da9b985945dd">npv</a>;                   <span class="comment">/* Number of PVi_ma keywords, and the       */</span></div>
+<div class="line"><a name="l01436"></a><span class="lineno"><a class="code" href="structwcsprm.html#a912eed291f15134e8cfb8750acc6c4bc"> 1436</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a912eed291f15134e8cfb8750acc6c4bc">npvmax</a>;                <span class="comment">/* number for which space was allocated.    */</span></div>
+<div class="line"><a name="l01437"></a><span class="lineno"><a class="code" href="structwcsprm.html#a04fbd6ed1b338e225f2291523e64be2c"> 1437</a></span>   <span class="keyword">struct </span><a class="code" href="structpvcard.html" title="Store for PVi_ma keyrecords. ">pvcard</a> *<a class="code" href="structwcsprm.html#a04fbd6ed1b338e225f2291523e64be2c">pv</a>;            <span class="comment">/* PVi_ma keywords for each i and m.        */</span></div>
 <div class="line"><a name="l01438"></a><span class="lineno"> 1438</span> </div>
-<div class="line"><a name="l01439"></a><span class="lineno"> 1439</span>   <span class="comment">/* Alternative header keyvalues (see the prologue above).                 */</span></div>
-<div class="line"><a name="l01440"></a><span class="lineno"> 1440</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
-<div class="line"><a name="l01441"></a><span class="lineno"><a class="code" href="structwcsprm.html#afd2f31d782b3becce4ca2f9b495ec0b1"> 1441</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#afd2f31d782b3becce4ca2f9b495ec0b1">cd</a>;                   <span class="comment">/* CDi_ja linear transformation matrix.     */</span></div>
-<div class="line"><a name="l01442"></a><span class="lineno"><a class="code" href="structwcsprm.html#af124a4259475ea355ced38e73a05363a"> 1442</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#af124a4259475ea355ced38e73a05363a">crota</a>;                <span class="comment">/* CROTAia keyvalues for each coord axis.   */</span></div>
-<div class="line"><a name="l01443"></a><span class="lineno"><a class="code" href="structwcsprm.html#a8b3a65921acc0dabfa4efd19a003ea6e"> 1443</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a8b3a65921acc0dabfa4efd19a003ea6e">altlin</a>;                <span class="comment">/* Alternative representations              */</span></div>
-<div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>                                 <span class="comment">/*   Bit 0: PCi_ja  is present,             */</span></div>
-<div class="line"><a name="l01445"></a><span class="lineno"> 1445</span>                                 <span class="comment">/*   Bit 1: CDi_ja  is present,             */</span></div>
-<div class="line"><a name="l01446"></a><span class="lineno"> 1446</span>                                 <span class="comment">/*   Bit 2: CROTAia is present.             */</span></div>
-<div class="line"><a name="l01447"></a><span class="lineno"><a class="code" href="structwcsprm.html#ac3c9c869bef4e4850dfd9762b33ce908"> 1447</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#ac3c9c869bef4e4850dfd9762b33ce908">velref</a>;                <span class="comment">/* AIPS velocity code, VELREF.              */</span></div>
-<div class="line"><a name="l01448"></a><span class="lineno"> 1448</span> </div>
-<div class="line"><a name="l01449"></a><span class="lineno"> 1449</span>   <span class="comment">/* Auxiliary coordinate system information, not used by WCSLIB.           */</span></div>
-<div class="line"><a name="l01450"></a><span class="lineno"><a class="code" href="structwcsprm.html#ae7609283351ea46484690f873f8ea9c3"> 1450</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#ae7609283351ea46484690f873f8ea9c3">alt</a>[4];</div>
-<div class="line"><a name="l01451"></a><span class="lineno"><a class="code" href="structwcsprm.html#a9ee8fb568ca75874bab00825b768f8ca"> 1451</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a9ee8fb568ca75874bab00825b768f8ca">colnum</a>;</div>
-<div class="line"><a name="l01452"></a><span class="lineno"><a class="code" href="structwcsprm.html#a7320fc64e7705cc7495eba07482b5c55"> 1452</a></span>   <span class="keywordtype">int</span>    *<a class="code" href="structwcsprm.html#a7320fc64e7705cc7495eba07482b5c55">colax</a>;</div>
-<div class="line"><a name="l01453"></a><span class="lineno"> 1453</span> </div>
-<div class="line"><a name="l01454"></a><span class="lineno"><a class="code" href="structwcsprm.html#a922f0f57b8c35cad3d01ceedeba01d4b"> 1454</a></span>   char   (*<a class="code" href="structwcsprm.html#a922f0f57b8c35cad3d01ceedeba01d4b">cname</a>)[72];</div>
-<div class="line"><a name="l01455"></a><span class="lineno"><a class="code" href="structwcsprm.html#a49eee6450b1a646d3fe01b8965a63af4"> 1455</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#a49eee6450b1a646d3fe01b8965a63af4">crder</a>;</div>
-<div class="line"><a name="l01456"></a><span class="lineno"><a class="code" href="structwcsprm.html#a15485177ea8bbacefc29a5a5cba98c8f"> 1456</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#a15485177ea8bbacefc29a5a5cba98c8f">csyer</a>;</div>
-<div class="line"><a name="l01457"></a><span class="lineno"><a class="code" href="structwcsprm.html#ae6b40e2adeb31414871c7cae68619d63"> 1457</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#ae6b40e2adeb31414871c7cae68619d63">dateavg</a>[72];</div>
-<div class="line"><a name="l01458"></a><span class="lineno"><a class="code" href="structwcsprm.html#aad387ccbd7847672b5dc2223d9124120"> 1458</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#aad387ccbd7847672b5dc2223d9124120">dateobs</a>[72];</div>
-<div class="line"><a name="l01459"></a><span class="lineno"><a class="code" href="structwcsprm.html#a88b55f6c8d122f3ff63532de85698864"> 1459</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#a88b55f6c8d122f3ff63532de85698864">equinox</a>;</div>
-<div class="line"><a name="l01460"></a><span class="lineno"><a class="code" href="structwcsprm.html#a0730c37f09502eb364f4e7d7addb8ab8"> 1460</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#a0730c37f09502eb364f4e7d7addb8ab8">mjdavg</a>;</div>
-<div class="line"><a name="l01461"></a><span class="lineno"><a class="code" href="structwcsprm.html#ac0cb013b1505fb7abd4167ac0db0e0aa"> 1461</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#ac0cb013b1505fb7abd4167ac0db0e0aa">mjdobs</a>;</div>
-<div class="line"><a name="l01462"></a><span class="lineno"><a class="code" href="structwcsprm.html#a6a88e64207df5007151c2c25028ce3eb"> 1462</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#a6a88e64207df5007151c2c25028ce3eb">obsgeo</a>[3];</div>
-<div class="line"><a name="l01463"></a><span class="lineno"><a class="code" href="structwcsprm.html#a65801f93622504672ee3faf8f2110e48"> 1463</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#a65801f93622504672ee3faf8f2110e48">radesys</a>[72];</div>
-<div class="line"><a name="l01464"></a><span class="lineno"><a class="code" href="structwcsprm.html#ac089e5d0e3191255ceaea7f8591b27ea"> 1464</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#ac089e5d0e3191255ceaea7f8591b27ea">specsys</a>[72];</div>
-<div class="line"><a name="l01465"></a><span class="lineno"><a class="code" href="structwcsprm.html#a9eac54f497e1244c8106dd3ebba12223"> 1465</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#a9eac54f497e1244c8106dd3ebba12223">ssysobs</a>[72];</div>
-<div class="line"><a name="l01466"></a><span class="lineno"><a class="code" href="structwcsprm.html#af300da5a94594a9769ab312bb56dde83"> 1466</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#af300da5a94594a9769ab312bb56dde83">velosys</a>;</div>
-<div class="line"><a name="l01467"></a><span class="lineno"><a class="code" href="structwcsprm.html#a0936d10c2ac93d13d096b1711ac639a1"> 1467</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#a0936d10c2ac93d13d096b1711ac639a1">zsource</a>;</div>
-<div class="line"><a name="l01468"></a><span class="lineno"><a class="code" href="structwcsprm.html#a8715975565c8bbd0c562a32eee40fd20"> 1468</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#a8715975565c8bbd0c562a32eee40fd20">ssyssrc</a>[72];</div>
-<div class="line"><a name="l01469"></a><span class="lineno"><a class="code" href="structwcsprm.html#a9fd60ce9e6bc31df07ed02ce64b48be4"> 1469</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#a9fd60ce9e6bc31df07ed02ce64b48be4">velangl</a>;</div>
-<div class="line"><a name="l01470"></a><span class="lineno"><a class="code" href="structwcsprm.html#a2166fb650f937d8870711d8be5986b66"> 1470</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#a2166fb650f937d8870711d8be5986b66">wcsname</a>[72];</div>
-<div class="line"><a name="l01471"></a><span class="lineno"> 1471</span> </div>
-<div class="line"><a name="l01472"></a><span class="lineno"> 1472</span>   <span class="comment">/* Coordinate lookup tables (see the prologue above).                     */</span></div>
-<div class="line"><a name="l01473"></a><span class="lineno"> 1473</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
-<div class="line"><a name="l01474"></a><span class="lineno"><a class="code" href="structwcsprm.html#a94c26ce331cc876d63baeeada9820241"> 1474</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a94c26ce331cc876d63baeeada9820241">ntab</a>;                  <span class="comment">/* Number of separate tables.               */</span></div>
-<div class="line"><a name="l01475"></a><span class="lineno"><a class="code" href="structwcsprm.html#a8625c0a6ff99c754566c46c2372df801"> 1475</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a8625c0a6ff99c754566c46c2372df801">nwtb</a>;                  <span class="comment">/* Number of wtbarr structs.                */</span></div>
-<div class="line"><a name="l01476"></a><span class="lineno"><a class="code" href="structwcsprm.html#a292133b2b7143b969a3af6a3f2cf3709"> 1476</a></span>   <span class="keyword">struct </span><a class="code" href="structtabprm.html" title="Tabular transformation parameters. ">tabprm</a> *<a class="code" href="structwcsprm.html#a292133b2b7143b969a3af6a3f2cf3709">tab</a>;           <span class="comment">/* Tabular transformation parameters.       */</span></div>
-<div class="line"><a name="l01477"></a><span class="lineno"><a class="code" href="structwcsprm.html#a9063e8d0c956e9eae7f7d6f3608b9ed2"> 1477</a></span>   <span class="keyword">struct </span><a class="code" href="structwtbarr.html" title="Extraction of coordinate lookup tables from BINTABLE. ">wtbarr</a> *<a class="code" href="structwcsprm.html#a9063e8d0c956e9eae7f7d6f3608b9ed2">wtb</a>;           <span class="comment">/* Array of wtbarr structs.                 */</span></div>
-<div class="line"><a name="l01478"></a><span class="lineno"> 1478</span> </div>
-<div class="line"><a name="l01479"></a><span class="lineno"> 1479</span>   <span class="comment">/* Information derived from the FITS header keyvalues by wcsset().        */</span></div>
-<div class="line"><a name="l01480"></a><span class="lineno"> 1480</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
-<div class="line"><a name="l01481"></a><span class="lineno"><a class="code" href="structwcsprm.html#a5b56e1b378a6ae9f8dfff5c364f0653c"> 1481</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#a5b56e1b378a6ae9f8dfff5c364f0653c">lngtyp</a>[8], <a class="code" href="structwcsprm.html#ae352318ce3202dab1b5db8b9ceec7703">lattyp</a>[8];  <span class="comment">/* Celestial axis types, e.g. RA, DEC.      */</span></div>
-<div class="line"><a name="l01482"></a><span class="lineno"><a class="code" href="structwcsprm.html#ab9729795155b8f37afd80784fb70068b"> 1482</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a08098820949433d1336841d32d0b62b5">lng</a>, <a class="code" href="structwcsprm.html#ab7f7173e6d2b1b8028a3275bdd751e79">lat</a>, <a class="code" href="structwcsprm.html#ab9729795155b8f37afd80784fb70068b">spec</a>;        <span class="comment">/* Longitud [...]
-<div class="line"><a name="l01483"></a><span class="lineno"> 1483</span>                                 <span class="comment">/* indices (0-relative).                    */</span></div>
-<div class="line"><a name="l01484"></a><span class="lineno"><a class="code" href="structwcsprm.html#ade8495d3ca5047eeadba5934d0bb2708"> 1484</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#ade8495d3ca5047eeadba5934d0bb2708">cubeface</a>;              <span class="comment">/* True if there is a CUBEFACE axis.        */</span></div>
-<div class="line"><a name="l01485"></a><span class="lineno"><a class="code" href="structwcsprm.html#ab63cdcf6ff8febd1b40d0e044ca7d7ef"> 1485</a></span>   <span class="keywordtype">int</span>    *<a class="code" href="structwcsprm.html#ab63cdcf6ff8febd1b40d0e044ca7d7ef">types</a>;                <span class="comment">/* Coordinate type codes for each axis.     */</span></div>
-<div class="line"><a name="l01486"></a><span class="lineno"><a class="code" href="structwcsprm.html#a0cc4f20f62b3473d2ff3756bdfff6fd4"> 1486</a></span>   <span class="keywordtype">void</span>   *<a class="code" href="structwcsprm.html#a0cc4f20f62b3473d2ff3756bdfff6fd4">padding</a>;              <span class="comment">/* (Dummy inserted for alignment purposes.) */</span></div>
-<div class="line"><a name="l01487"></a><span class="lineno"> 1487</span> </div>
-<div class="line"><a name="l01488"></a><span class="lineno"><a class="code" href="structwcsprm.html#a3224bd06f8f4d2d7d398533eb44a49e8"> 1488</a></span>   <span class="keyword">struct </span><a class="code" href="structlinprm.html" title="Linear transformation parameters. ">linprm</a> <a class="code" href="structwcsprm.html#a3224bd06f8f4d2d7d398533eb44a49e8">lin</a>;            <span class="comment">/* Linear    transformation parameters.     */</span></div>
-<div class="line"><a name="l01489"></a><span class="lineno"><a class="code" href="structwcsprm.html#ac8391dd770637dbb841067996b7777ba"> 1489</a></span>   <span class="keyword">struct </span><a class="code" href="structcelprm.html" title="Celestial transformation parameters. ">celprm</a> <a class="code" href="structwcsprm.html#ac8391dd770637dbb841067996b7777ba">cel</a>;            <span class="comment">/* Celestial transformation parameters.     */</span></div>
-<div class="line"><a name="l01490"></a><span class="lineno"><a class="code" href="structwcsprm.html#ae83952aec7c1ac76c090bc89bf4eeea7"> 1490</a></span>   <span class="keyword">struct </span><a class="code" href="structspcprm.html" title="Spectral transformation parameters. ">spcprm</a> <a class="code" href="structwcsprm.html#ae83952aec7c1ac76c090bc89bf4eeea7">spc</a>;            <span class="comment">/* Spectral  transformation parameters.     */</span></div>
+<div class="line"><a name="l01439"></a><span class="lineno"><a class="code" href="structwcsprm.html#a4c89dafecd036e169f96cb84d53ace65"> 1439</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a4c89dafecd036e169f96cb84d53ace65">nps</a>;                   <span class="comment">/* Number of PSi_ma keywords, and the       */</span></div>
+<div class="line"><a name="l01440"></a><span class="lineno"><a class="code" href="structwcsprm.html#a42052d557bdef2c5640a6d19b6d9ed8b"> 1440</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a42052d557bdef2c5640a6d19b6d9ed8b">npsmax</a>;                <span class="comment">/* number for which space was allocated.    */</span></div>
+<div class="line"><a name="l01441"></a><span class="lineno"><a class="code" href="structwcsprm.html#a9eca2fcc30058310d020181ae16bf256"> 1441</a></span>   <span class="keyword">struct </span><a class="code" href="structpscard.html" title="Store for PSi_ma keyrecords. ">pscard</a> *<a class="code" href="structwcsprm.html#a9eca2fcc30058310d020181ae16bf256">ps</a>;            <span class="comment">/* PSi_ma keywords for each i and m.        */</span></div>
+<div class="line"><a name="l01442"></a><span class="lineno"> 1442</span> </div>
+<div class="line"><a name="l01443"></a><span class="lineno"> 1443</span>   <span class="comment">/* Alternative header keyvalues (see the prologue above).                 */</span></div>
+<div class="line"><a name="l01444"></a><span class="lineno"> 1444</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
+<div class="line"><a name="l01445"></a><span class="lineno"><a class="code" href="structwcsprm.html#afd2f31d782b3becce4ca2f9b495ec0b1"> 1445</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#afd2f31d782b3becce4ca2f9b495ec0b1">cd</a>;                   <span class="comment">/* CDi_ja linear transformation matrix.     */</span></div>
+<div class="line"><a name="l01446"></a><span class="lineno"><a class="code" href="structwcsprm.html#af124a4259475ea355ced38e73a05363a"> 1446</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#af124a4259475ea355ced38e73a05363a">crota</a>;                <span class="comment">/* CROTAia keyvalues for each coord axis.   */</span></div>
+<div class="line"><a name="l01447"></a><span class="lineno"><a class="code" href="structwcsprm.html#a8b3a65921acc0dabfa4efd19a003ea6e"> 1447</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a8b3a65921acc0dabfa4efd19a003ea6e">altlin</a>;                <span class="comment">/* Alternative representations              */</span></div>
+<div class="line"><a name="l01448"></a><span class="lineno"> 1448</span>                                 <span class="comment">/*   Bit 0: PCi_ja  is present,             */</span></div>
+<div class="line"><a name="l01449"></a><span class="lineno"> 1449</span>                                 <span class="comment">/*   Bit 1: CDi_ja  is present,             */</span></div>
+<div class="line"><a name="l01450"></a><span class="lineno"> 1450</span>                                 <span class="comment">/*   Bit 2: CROTAia is present.             */</span></div>
+<div class="line"><a name="l01451"></a><span class="lineno"><a class="code" href="structwcsprm.html#ac3c9c869bef4e4850dfd9762b33ce908"> 1451</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#ac3c9c869bef4e4850dfd9762b33ce908">velref</a>;                <span class="comment">/* AIPS velocity code, VELREF.              */</span></div>
+<div class="line"><a name="l01452"></a><span class="lineno"> 1452</span> </div>
+<div class="line"><a name="l01453"></a><span class="lineno"> 1453</span>   <span class="comment">/* Auxiliary coordinate system information, not used by WCSLIB.           */</span></div>
+<div class="line"><a name="l01454"></a><span class="lineno"><a class="code" href="structwcsprm.html#ae7609283351ea46484690f873f8ea9c3"> 1454</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#ae7609283351ea46484690f873f8ea9c3">alt</a>[4];</div>
+<div class="line"><a name="l01455"></a><span class="lineno"><a class="code" href="structwcsprm.html#a9ee8fb568ca75874bab00825b768f8ca"> 1455</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a9ee8fb568ca75874bab00825b768f8ca">colnum</a>;</div>
+<div class="line"><a name="l01456"></a><span class="lineno"><a class="code" href="structwcsprm.html#a7320fc64e7705cc7495eba07482b5c55"> 1456</a></span>   <span class="keywordtype">int</span>    *<a class="code" href="structwcsprm.html#a7320fc64e7705cc7495eba07482b5c55">colax</a>;</div>
+<div class="line"><a name="l01457"></a><span class="lineno"> 1457</span> </div>
+<div class="line"><a name="l01458"></a><span class="lineno"><a class="code" href="structwcsprm.html#a922f0f57b8c35cad3d01ceedeba01d4b"> 1458</a></span>   char   (*<a class="code" href="structwcsprm.html#a922f0f57b8c35cad3d01ceedeba01d4b">cname</a>)[72];</div>
+<div class="line"><a name="l01459"></a><span class="lineno"><a class="code" href="structwcsprm.html#a49eee6450b1a646d3fe01b8965a63af4"> 1459</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#a49eee6450b1a646d3fe01b8965a63af4">crder</a>;</div>
+<div class="line"><a name="l01460"></a><span class="lineno"><a class="code" href="structwcsprm.html#a15485177ea8bbacefc29a5a5cba98c8f"> 1460</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#a15485177ea8bbacefc29a5a5cba98c8f">csyer</a>;</div>
+<div class="line"><a name="l01461"></a><span class="lineno"><a class="code" href="structwcsprm.html#ae6b40e2adeb31414871c7cae68619d63"> 1461</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#ae6b40e2adeb31414871c7cae68619d63">dateavg</a>[72];</div>
+<div class="line"><a name="l01462"></a><span class="lineno"><a class="code" href="structwcsprm.html#aad387ccbd7847672b5dc2223d9124120"> 1462</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#aad387ccbd7847672b5dc2223d9124120">dateobs</a>[72];</div>
+<div class="line"><a name="l01463"></a><span class="lineno"><a class="code" href="structwcsprm.html#a88b55f6c8d122f3ff63532de85698864"> 1463</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#a88b55f6c8d122f3ff63532de85698864">equinox</a>;</div>
+<div class="line"><a name="l01464"></a><span class="lineno"><a class="code" href="structwcsprm.html#a0730c37f09502eb364f4e7d7addb8ab8"> 1464</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#a0730c37f09502eb364f4e7d7addb8ab8">mjdavg</a>;</div>
+<div class="line"><a name="l01465"></a><span class="lineno"><a class="code" href="structwcsprm.html#ac0cb013b1505fb7abd4167ac0db0e0aa"> 1465</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#ac0cb013b1505fb7abd4167ac0db0e0aa">mjdobs</a>;</div>
+<div class="line"><a name="l01466"></a><span class="lineno"><a class="code" href="structwcsprm.html#a6a88e64207df5007151c2c25028ce3eb"> 1466</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#a6a88e64207df5007151c2c25028ce3eb">obsgeo</a>[3];</div>
+<div class="line"><a name="l01467"></a><span class="lineno"><a class="code" href="structwcsprm.html#a65801f93622504672ee3faf8f2110e48"> 1467</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#a65801f93622504672ee3faf8f2110e48">radesys</a>[72];</div>
+<div class="line"><a name="l01468"></a><span class="lineno"><a class="code" href="structwcsprm.html#ac089e5d0e3191255ceaea7f8591b27ea"> 1468</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#ac089e5d0e3191255ceaea7f8591b27ea">specsys</a>[72];</div>
+<div class="line"><a name="l01469"></a><span class="lineno"><a class="code" href="structwcsprm.html#a9eac54f497e1244c8106dd3ebba12223"> 1469</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#a9eac54f497e1244c8106dd3ebba12223">ssysobs</a>[72];</div>
+<div class="line"><a name="l01470"></a><span class="lineno"><a class="code" href="structwcsprm.html#af300da5a94594a9769ab312bb56dde83"> 1470</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#af300da5a94594a9769ab312bb56dde83">velosys</a>;</div>
+<div class="line"><a name="l01471"></a><span class="lineno"><a class="code" href="structwcsprm.html#a0936d10c2ac93d13d096b1711ac639a1"> 1471</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#a0936d10c2ac93d13d096b1711ac639a1">zsource</a>;</div>
+<div class="line"><a name="l01472"></a><span class="lineno"><a class="code" href="structwcsprm.html#a8715975565c8bbd0c562a32eee40fd20"> 1472</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#a8715975565c8bbd0c562a32eee40fd20">ssyssrc</a>[72];</div>
+<div class="line"><a name="l01473"></a><span class="lineno"><a class="code" href="structwcsprm.html#a9fd60ce9e6bc31df07ed02ce64b48be4"> 1473</a></span>   <span class="keywordtype">double</span> <a class="code" href="structwcsprm.html#a9fd60ce9e6bc31df07ed02ce64b48be4">velangl</a>;</div>
+<div class="line"><a name="l01474"></a><span class="lineno"><a class="code" href="structwcsprm.html#a2166fb650f937d8870711d8be5986b66"> 1474</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#a2166fb650f937d8870711d8be5986b66">wcsname</a>[72];</div>
+<div class="line"><a name="l01475"></a><span class="lineno"> 1475</span> </div>
+<div class="line"><a name="l01476"></a><span class="lineno"> 1476</span>   <span class="comment">/* Coordinate lookup tables (see the prologue above).                     */</span></div>
+<div class="line"><a name="l01477"></a><span class="lineno"> 1477</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
+<div class="line"><a name="l01478"></a><span class="lineno"><a class="code" href="structwcsprm.html#a94c26ce331cc876d63baeeada9820241"> 1478</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a94c26ce331cc876d63baeeada9820241">ntab</a>;                  <span class="comment">/* Number of separate tables.               */</span></div>
+<div class="line"><a name="l01479"></a><span class="lineno"><a class="code" href="structwcsprm.html#a8625c0a6ff99c754566c46c2372df801"> 1479</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a8625c0a6ff99c754566c46c2372df801">nwtb</a>;                  <span class="comment">/* Number of wtbarr structs.                */</span></div>
+<div class="line"><a name="l01480"></a><span class="lineno"><a class="code" href="structwcsprm.html#a292133b2b7143b969a3af6a3f2cf3709"> 1480</a></span>   <span class="keyword">struct </span><a class="code" href="structtabprm.html" title="Tabular transformation parameters. ">tabprm</a> *<a class="code" href="structwcsprm.html#a292133b2b7143b969a3af6a3f2cf3709">tab</a>;           <span class="comment">/* Tabular transformation parameters.       */</span></div>
+<div class="line"><a name="l01481"></a><span class="lineno"><a class="code" href="structwcsprm.html#a9063e8d0c956e9eae7f7d6f3608b9ed2"> 1481</a></span>   <span class="keyword">struct </span><a class="code" href="structwtbarr.html" title="Extraction of coordinate lookup tables from BINTABLE. ">wtbarr</a> *<a class="code" href="structwcsprm.html#a9063e8d0c956e9eae7f7d6f3608b9ed2">wtb</a>;           <span class="comment">/* Array of wtbarr structs.                 */</span></div>
+<div class="line"><a name="l01482"></a><span class="lineno"> 1482</span> </div>
+<div class="line"><a name="l01483"></a><span class="lineno"> 1483</span>   <span class="comment">/* Information derived from the FITS header keyvalues by wcsset().        */</span></div>
+<div class="line"><a name="l01484"></a><span class="lineno"> 1484</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
+<div class="line"><a name="l01485"></a><span class="lineno"><a class="code" href="structwcsprm.html#a5b56e1b378a6ae9f8dfff5c364f0653c"> 1485</a></span>   <span class="keywordtype">char</span>   <a class="code" href="structwcsprm.html#a5b56e1b378a6ae9f8dfff5c364f0653c">lngtyp</a>[8], <a class="code" href="structwcsprm.html#ae352318ce3202dab1b5db8b9ceec7703">lattyp</a>[8];  <span class="comment">/* Celestial axis types, e.g. RA, DEC.      */</span></div>
+<div class="line"><a name="l01486"></a><span class="lineno"><a class="code" href="structwcsprm.html#ab9729795155b8f37afd80784fb70068b"> 1486</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a08098820949433d1336841d32d0b62b5">lng</a>, <a class="code" href="structwcsprm.html#ab7f7173e6d2b1b8028a3275bdd751e79">lat</a>, <a class="code" href="structwcsprm.html#ab9729795155b8f37afd80784fb70068b">spec</a>;        <span class="comment">/* Longitud [...]
+<div class="line"><a name="l01487"></a><span class="lineno"> 1487</span>                                 <span class="comment">/* indices (0-relative).                    */</span></div>
+<div class="line"><a name="l01488"></a><span class="lineno"><a class="code" href="structwcsprm.html#ade8495d3ca5047eeadba5934d0bb2708"> 1488</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#ade8495d3ca5047eeadba5934d0bb2708">cubeface</a>;              <span class="comment">/* True if there is a CUBEFACE axis.        */</span></div>
+<div class="line"><a name="l01489"></a><span class="lineno"><a class="code" href="structwcsprm.html#ab63cdcf6ff8febd1b40d0e044ca7d7ef"> 1489</a></span>   <span class="keywordtype">int</span>    *<a class="code" href="structwcsprm.html#ab63cdcf6ff8febd1b40d0e044ca7d7ef">types</a>;                <span class="comment">/* Coordinate type codes for each axis.     */</span></div>
+<div class="line"><a name="l01490"></a><span class="lineno"><a class="code" href="structwcsprm.html#a0cc4f20f62b3473d2ff3756bdfff6fd4"> 1490</a></span>   <span class="keywordtype">void</span>   *<a class="code" href="structwcsprm.html#a0cc4f20f62b3473d2ff3756bdfff6fd4">padding</a>;              <span class="comment">/* (Dummy inserted for alignment purposes.) */</span></div>
 <div class="line"><a name="l01491"></a><span class="lineno"> 1491</span> </div>
-<div class="line"><a name="l01492"></a><span class="lineno"> 1492</span>   <span class="comment">/* Error handling                                                         */</span></div>
-<div class="line"><a name="l01493"></a><span class="lineno"> 1493</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
-<div class="line"><a name="l01494"></a><span class="lineno"><a class="code" href="structwcsprm.html#af54ce939604be183231f0ee006e2f8ed"> 1494</a></span>   <span class="keyword">struct </span><a class="code" href="structwcserr.html" title="Error message handling. ">wcserr</a> *<a class="code" href="structwcsprm.html#af54ce939604be183231f0ee006e2f8ed">err</a>;</div>
+<div class="line"><a name="l01492"></a><span class="lineno"><a class="code" href="structwcsprm.html#a3224bd06f8f4d2d7d398533eb44a49e8"> 1492</a></span>   <span class="keyword">struct </span><a class="code" href="structlinprm.html" title="Linear transformation parameters. ">linprm</a> <a class="code" href="structwcsprm.html#a3224bd06f8f4d2d7d398533eb44a49e8">lin</a>;            <span class="comment">/* Linear    transformation parameters.     */</span></div>
+<div class="line"><a name="l01493"></a><span class="lineno"><a class="code" href="structwcsprm.html#ac8391dd770637dbb841067996b7777ba"> 1493</a></span>   <span class="keyword">struct </span><a class="code" href="structcelprm.html" title="Celestial transformation parameters. ">celprm</a> <a class="code" href="structwcsprm.html#ac8391dd770637dbb841067996b7777ba">cel</a>;            <span class="comment">/* Celestial transformation parameters.     */</span></div>
+<div class="line"><a name="l01494"></a><span class="lineno"><a class="code" href="structwcsprm.html#ae83952aec7c1ac76c090bc89bf4eeea7"> 1494</a></span>   <span class="keyword">struct </span><a class="code" href="structspcprm.html" title="Spectral transformation parameters. ">spcprm</a> <a class="code" href="structwcsprm.html#ae83952aec7c1ac76c090bc89bf4eeea7">spc</a>;            <span class="comment">/* Spectral  transformation parameters.     */</span></div>
 <div class="line"><a name="l01495"></a><span class="lineno"> 1495</span> </div>
-<div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>   <span class="comment">/* Private - the remainder are for memory management.                     */</span></div>
+<div class="line"><a name="l01496"></a><span class="lineno"> 1496</span>   <span class="comment">/* Error handling                                                         */</span></div>
 <div class="line"><a name="l01497"></a><span class="lineno"> 1497</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
-<div class="line"><a name="l01498"></a><span class="lineno"><a class="code" href="structwcsprm.html#a5c80dded8a6e9bbb9e26c32c17443563"> 1498</a></span>   <span class="keywordtype">void</span>   *<a class="code" href="structwcsprm.html#a5c80dded8a6e9bbb9e26c32c17443563">m_padding</a>;</div>
-<div class="line"><a name="l01499"></a><span class="lineno"><a class="code" href="structwcsprm.html#a5ed753e401cda620a04adfb4ebfb8e0d"> 1499</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a5780880281f2f9d085d2e06919b7647a">m_flag</a>, <a class="code" href="structwcsprm.html#a5ed753e401cda620a04adfb4ebfb8e0d">m_naxis</a>;</div>
-<div class="line"><a name="l01500"></a><span class="lineno"><a class="code" href="structwcsprm.html#a6778d31ec5a2ee643dc5f0a8af630b03"> 1500</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#a164e3852bcd2dea8b5f73e1dff79ddf5">m_crpix</a>, *<a class="code" href="structwcsprm.html#a6778d31ec5a2ee643dc5f0a8af630b03">m_pc</a>, *<a class="code" href="structwcsprm.html#a42e0ff2da3b0c1ca0a9509f787ed1951">m_cdelt</a>, *<a class="code" href="struct [...]
-<div class="line"><a name="l01501"></a><span class="lineno"><a class="code" href="structwcsprm.html#af1cb3e68560d1ac42c620cfe3900af95"> 1501</a></span>   char  (*<a class="code" href="structwcsprm.html#af1cb3e68560d1ac42c620cfe3900af95">m_cunit</a>)[72], (*m_ctype)[72];</div>
-<div class="line"><a name="l01502"></a><span class="lineno"><a class="code" href="structwcsprm.html#a6a3fa7adc304567271c5cc0eda3ac986"> 1502</a></span>   <span class="keyword">struct </span><a class="code" href="structpvcard.html" title="Store for PVi_ma keyrecords. ">pvcard</a> *<a class="code" href="structwcsprm.html#a6a3fa7adc304567271c5cc0eda3ac986">m_pv</a>;</div>
-<div class="line"><a name="l01503"></a><span class="lineno"><a class="code" href="structwcsprm.html#a042875def8cab8354c5b2c40ab9fa374"> 1503</a></span>   <span class="keyword">struct </span><a class="code" href="structpscard.html" title="Store for PSi_ma keyrecords. ">pscard</a> *<a class="code" href="structwcsprm.html#a042875def8cab8354c5b2c40ab9fa374">m_ps</a>;</div>
-<div class="line"><a name="l01504"></a><span class="lineno"><a class="code" href="structwcsprm.html#a5444415c94c7ab0226788f5efe93221d"> 1504</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#a7a88af56c4c978c6d4213ae1f4bec87a">m_cd</a>, *<a class="code" href="structwcsprm.html#a5444415c94c7ab0226788f5efe93221d">m_crota</a>;</div>
-<div class="line"><a name="l01505"></a><span class="lineno"><a class="code" href="structwcsprm.html#a4ed527b90d49e8365c1b727f7bec29c7"> 1505</a></span>   <span class="keywordtype">int</span>    *<a class="code" href="structwcsprm.html#a4ed527b90d49e8365c1b727f7bec29c7">m_colax</a>;</div>
-<div class="line"><a name="l01506"></a><span class="lineno"><a class="code" href="structwcsprm.html#a092c11d209ecdd16bb79858c68e4d582"> 1506</a></span>   char  (*<a class="code" href="structwcsprm.html#a092c11d209ecdd16bb79858c68e4d582">m_cname</a>)[72];</div>
-<div class="line"><a name="l01507"></a><span class="lineno"><a class="code" href="structwcsprm.html#a13fab263ca03f35844fdaca289b7dfac"> 1507</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#a0d15534535c7f9308c9daa2cceff29e7">m_crder</a>, *<a class="code" href="structwcsprm.html#a13fab263ca03f35844fdaca289b7dfac">m_csyer</a>;</div>
-<div class="line"><a name="l01508"></a><span class="lineno"><a class="code" href="structwcsprm.html#ae09d5bf005e3bd7ee880353e8816ceb8"> 1508</a></span>   <span class="keyword">struct </span><a class="code" href="structtabprm.html" title="Tabular transformation parameters. ">tabprm</a> *<a class="code" href="structwcsprm.html#ae09d5bf005e3bd7ee880353e8816ceb8">m_tab</a>;</div>
-<div class="line"><a name="l01509"></a><span class="lineno"><a class="code" href="structwcsprm.html#ace7e0986c79d73bd3a0613034b71974f"> 1509</a></span>   <span class="keyword">struct </span><a class="code" href="structwtbarr.html" title="Extraction of coordinate lookup tables from BINTABLE. ">wtbarr</a> *<a class="code" href="structwcsprm.html#ace7e0986c79d73bd3a0613034b71974f">m_wtb</a>;</div>
-<div class="line"><a name="l01510"></a><span class="lineno"> 1510</span> };</div>
-<div class="line"><a name="l01511"></a><span class="lineno"> 1511</span> </div>
-<div class="line"><a name="l01512"></a><span class="lineno"> 1512</span> <span class="comment">/* Size of the wcsprm struct in int units, used by the Fortran wrappers. */</span></div>
-<div class="line"><a name="l01513"></a><span class="lineno"><a class="code" href="wcs_8h.html#a6852f6dd2883c82296f1108b897d337e"> 1513</a></span> <span class="preprocessor">#define WCSLEN (sizeof(struct wcsprm)/sizeof(int))</span></div>
-<div class="line"><a name="l01514"></a><span class="lineno"> 1514</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l01498"></a><span class="lineno"><a class="code" href="structwcsprm.html#af54ce939604be183231f0ee006e2f8ed"> 1498</a></span>   <span class="keyword">struct </span><a class="code" href="structwcserr.html" title="Error message handling. ">wcserr</a> *<a class="code" href="structwcsprm.html#af54ce939604be183231f0ee006e2f8ed">err</a>;</div>
+<div class="line"><a name="l01499"></a><span class="lineno"> 1499</span> </div>
+<div class="line"><a name="l01500"></a><span class="lineno"> 1500</span>   <span class="comment">/* Private - the remainder are for memory management.                     */</span></div>
+<div class="line"><a name="l01501"></a><span class="lineno"> 1501</span>   <span class="comment">/*------------------------------------------------------------------------*/</span></div>
+<div class="line"><a name="l01502"></a><span class="lineno"><a class="code" href="structwcsprm.html#a5c80dded8a6e9bbb9e26c32c17443563"> 1502</a></span>   <span class="keywordtype">void</span>   *<a class="code" href="structwcsprm.html#a5c80dded8a6e9bbb9e26c32c17443563">m_padding</a>;</div>
+<div class="line"><a name="l01503"></a><span class="lineno"><a class="code" href="structwcsprm.html#a5ed753e401cda620a04adfb4ebfb8e0d"> 1503</a></span>   <span class="keywordtype">int</span>    <a class="code" href="structwcsprm.html#a5780880281f2f9d085d2e06919b7647a">m_flag</a>, <a class="code" href="structwcsprm.html#a5ed753e401cda620a04adfb4ebfb8e0d">m_naxis</a>;</div>
+<div class="line"><a name="l01504"></a><span class="lineno"><a class="code" href="structwcsprm.html#a6778d31ec5a2ee643dc5f0a8af630b03"> 1504</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#a164e3852bcd2dea8b5f73e1dff79ddf5">m_crpix</a>, *<a class="code" href="structwcsprm.html#a6778d31ec5a2ee643dc5f0a8af630b03">m_pc</a>, *<a class="code" href="structwcsprm.html#a42e0ff2da3b0c1ca0a9509f787ed1951">m_cdelt</a>, *<a class="code" href="struct [...]
+<div class="line"><a name="l01505"></a><span class="lineno"><a class="code" href="structwcsprm.html#af1cb3e68560d1ac42c620cfe3900af95"> 1505</a></span>   char  (*<a class="code" href="structwcsprm.html#af1cb3e68560d1ac42c620cfe3900af95">m_cunit</a>)[72], (*m_ctype)[72];</div>
+<div class="line"><a name="l01506"></a><span class="lineno"><a class="code" href="structwcsprm.html#a6a3fa7adc304567271c5cc0eda3ac986"> 1506</a></span>   <span class="keyword">struct </span><a class="code" href="structpvcard.html" title="Store for PVi_ma keyrecords. ">pvcard</a> *<a class="code" href="structwcsprm.html#a6a3fa7adc304567271c5cc0eda3ac986">m_pv</a>;</div>
+<div class="line"><a name="l01507"></a><span class="lineno"><a class="code" href="structwcsprm.html#a042875def8cab8354c5b2c40ab9fa374"> 1507</a></span>   <span class="keyword">struct </span><a class="code" href="structpscard.html" title="Store for PSi_ma keyrecords. ">pscard</a> *<a class="code" href="structwcsprm.html#a042875def8cab8354c5b2c40ab9fa374">m_ps</a>;</div>
+<div class="line"><a name="l01508"></a><span class="lineno"><a class="code" href="structwcsprm.html#a5444415c94c7ab0226788f5efe93221d"> 1508</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#a7a88af56c4c978c6d4213ae1f4bec87a">m_cd</a>, *<a class="code" href="structwcsprm.html#a5444415c94c7ab0226788f5efe93221d">m_crota</a>;</div>
+<div class="line"><a name="l01509"></a><span class="lineno"><a class="code" href="structwcsprm.html#a4ed527b90d49e8365c1b727f7bec29c7"> 1509</a></span>   <span class="keywordtype">int</span>    *<a class="code" href="structwcsprm.html#a4ed527b90d49e8365c1b727f7bec29c7">m_colax</a>;</div>
+<div class="line"><a name="l01510"></a><span class="lineno"><a class="code" href="structwcsprm.html#a092c11d209ecdd16bb79858c68e4d582"> 1510</a></span>   char  (*<a class="code" href="structwcsprm.html#a092c11d209ecdd16bb79858c68e4d582">m_cname</a>)[72];</div>
+<div class="line"><a name="l01511"></a><span class="lineno"><a class="code" href="structwcsprm.html#a13fab263ca03f35844fdaca289b7dfac"> 1511</a></span>   <span class="keywordtype">double</span> *<a class="code" href="structwcsprm.html#a0d15534535c7f9308c9daa2cceff29e7">m_crder</a>, *<a class="code" href="structwcsprm.html#a13fab263ca03f35844fdaca289b7dfac">m_csyer</a>;</div>
+<div class="line"><a name="l01512"></a><span class="lineno"><a class="code" href="structwcsprm.html#ae09d5bf005e3bd7ee880353e8816ceb8"> 1512</a></span>   <span class="keyword">struct </span><a class="code" href="structtabprm.html" title="Tabular transformation parameters. ">tabprm</a> *<a class="code" href="structwcsprm.html#ae09d5bf005e3bd7ee880353e8816ceb8">m_tab</a>;</div>
+<div class="line"><a name="l01513"></a><span class="lineno"><a class="code" href="structwcsprm.html#ace7e0986c79d73bd3a0613034b71974f"> 1513</a></span>   <span class="keyword">struct </span><a class="code" href="structwtbarr.html" title="Extraction of coordinate lookup tables from BINTABLE. ">wtbarr</a> *<a class="code" href="structwcsprm.html#ace7e0986c79d73bd3a0613034b71974f">m_wtb</a>;</div>
+<div class="line"><a name="l01514"></a><span class="lineno"> 1514</span> };</div>
 <div class="line"><a name="l01515"></a><span class="lineno"> 1515</span> </div>
-<div class="line"><a name="l01516"></a><span class="lineno"> 1516</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a42b2578d76ace7ca6114d82b7ae46a89" title="Memory allocation for PVi_ma. ">wcsnpv</a>(<span class="keywordtype">int</span> n);</div>
-<div class="line"><a name="l01517"></a><span class="lineno"> 1517</span> </div>
-<div class="line"><a name="l01518"></a><span class="lineno"> 1518</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#ae790c9ce6c9b7a4845cf1c3c97b1e97a" title="Memory allocation for PSi_ma. ">wcsnps</a>(<span class="keywordtype">int</span> n);</div>
+<div class="line"><a name="l01516"></a><span class="lineno"> 1516</span> <span class="comment">/* Size of the wcsprm struct in int units, used by the Fortran wrappers. */</span></div>
+<div class="line"><a name="l01517"></a><span class="lineno"><a class="code" href="wcs_8h.html#a6852f6dd2883c82296f1108b897d337e"> 1517</a></span> <span class="preprocessor">#define WCSLEN (sizeof(struct wcsprm)/sizeof(int))</span></div>
+<div class="line"><a name="l01518"></a><span class="lineno"> 1518</span> <span class="preprocessor"></span></div>
 <div class="line"><a name="l01519"></a><span class="lineno"> 1519</span> </div>
-<div class="line"><a name="l01520"></a><span class="lineno"> 1520</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a2afc8255fde0965dddaa374463666d45" title="Default constructor for the wcsprm struct. ">wcsini</a>(<span class="keywordtype">int</span> alloc, <span class="keywordtype">int</span> naxis, <span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs);</div>
+<div class="line"><a name="l01520"></a><span class="lineno"> 1520</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a42b2578d76ace7ca6114d82b7ae46a89" title="Memory allocation for PVi_ma. ">wcsnpv</a>(<span class="keywordtype">int</span> n);</div>
 <div class="line"><a name="l01521"></a><span class="lineno"> 1521</span> </div>
-<div class="line"><a name="l01522"></a><span class="lineno"> 1522</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a864c99fef9f3eee29085ce42d0ee0d64" title="Subimage extraction routine for the wcsprm struct. ">wcssub</a>(<span class="keywordtype">int</span> alloc, <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcssrc, <span class="k [...]
-<div class="line"><a name="l01523"></a><span class="lineno"> 1523</span>            <span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcsdst);</div>
-<div class="line"><a name="l01524"></a><span class="lineno"> 1524</span> </div>
-<div class="line"><a name="l01525"></a><span class="lineno"> 1525</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a4ab38bc642c4656f62c43acf84a849f1" title="Destructor for the wcsprm struct. ">wcsfree</a>(<span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs);</div>
-<div class="line"><a name="l01526"></a><span class="lineno"> 1526</span> </div>
-<div class="line"><a name="l01527"></a><span class="lineno"> 1527</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#ab9aeb8cf1afb1bfb22e989580d90fca8" title="Print routine for the wcsprm struct. ">wcsprt</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs);</div>
+<div class="line"><a name="l01522"></a><span class="lineno"> 1522</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#ae790c9ce6c9b7a4845cf1c3c97b1e97a" title="Memory allocation for PSi_ma. ">wcsnps</a>(<span class="keywordtype">int</span> n);</div>
+<div class="line"><a name="l01523"></a><span class="lineno"> 1523</span> </div>
+<div class="line"><a name="l01524"></a><span class="lineno"> 1524</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a2afc8255fde0965dddaa374463666d45" title="Default constructor for the wcsprm struct. ">wcsini</a>(<span class="keywordtype">int</span> alloc, <span class="keywordtype">int</span> naxis, <span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs);</div>
+<div class="line"><a name="l01525"></a><span class="lineno"> 1525</span> </div>
+<div class="line"><a name="l01526"></a><span class="lineno"> 1526</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a864c99fef9f3eee29085ce42d0ee0d64" title="Subimage extraction routine for the wcsprm struct. ">wcssub</a>(<span class="keywordtype">int</span> alloc, <span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcssrc, <span class="k [...]
+<div class="line"><a name="l01527"></a><span class="lineno"> 1527</span>            <span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcsdst);</div>
 <div class="line"><a name="l01528"></a><span class="lineno"> 1528</span> </div>
-<div class="line"><a name="l01529"></a><span class="lineno"> 1529</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a8fe5dcd9927240dc0348b850ee662367" title="Print error messages from a wcsprm struct. ">wcsperr</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs, <span class="keyword">const</span> <span class="keywordtype">char</s [...]
+<div class="line"><a name="l01529"></a><span class="lineno"> 1529</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a4ab38bc642c4656f62c43acf84a849f1" title="Destructor for the wcsprm struct. ">wcsfree</a>(<span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs);</div>
 <div class="line"><a name="l01530"></a><span class="lineno"> 1530</span> </div>
-<div class="line"><a name="l01531"></a><span class="lineno"> 1531</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#af226d8537fbc578d63f1ba5601078398" title="Enable/disable strict bounds checking. ">wcsbchk</a>(<span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs, <span class="keywordtype">int</span> bounds);</div>
+<div class="line"><a name="l01531"></a><span class="lineno"> 1531</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#ab9aeb8cf1afb1bfb22e989580d90fca8" title="Print routine for the wcsprm struct. ">wcsprt</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs);</div>
 <div class="line"><a name="l01532"></a><span class="lineno"> 1532</span> </div>
-<div class="line"><a name="l01533"></a><span class="lineno"> 1533</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#ae5cc3f5d249755583403cdf54d2ebb91" title="Setup routine for the wcsprm struct. ">wcsset</a>(<span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs);</div>
+<div class="line"><a name="l01533"></a><span class="lineno"> 1533</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a8fe5dcd9927240dc0348b850ee662367" title="Print error messages from a wcsprm struct. ">wcsperr</a>(<span class="keyword">const</span> <span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs, <span class="keyword">const</span> <span class="keywordtype">char</s [...]
 <div class="line"><a name="l01534"></a><span class="lineno"> 1534</span> </div>
-<div class="line"><a name="l01535"></a><span class="lineno"> 1535</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a27d3dd209db3e76cf4c50f48c01ba986" title="Pixel-to-world transformation. ">wcsp2s</a>(<span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs, <span class="keywordtype">int</span> ncoord, <span class="keywordtype">int</span> nelem, <span class="keyword">const [...]
-<div class="line"><a name="l01536"></a><span class="lineno"> 1536</span>            <span class="keywordtype">double</span> imgcrd[], <span class="keywordtype">double</span> phi[], <span class="keywordtype">double</span> theta[], <span class="keywordtype">double</span> world[],</div>
-<div class="line"><a name="l01537"></a><span class="lineno"> 1537</span>            <span class="keywordtype">int</span> stat[]);</div>
+<div class="line"><a name="l01535"></a><span class="lineno"> 1535</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#af226d8537fbc578d63f1ba5601078398" title="Enable/disable bounds checking. ">wcsbchk</a>(<span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs, <span class="keywordtype">int</span> bounds);</div>
+<div class="line"><a name="l01536"></a><span class="lineno"> 1536</span> </div>
+<div class="line"><a name="l01537"></a><span class="lineno"> 1537</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#ae5cc3f5d249755583403cdf54d2ebb91" title="Setup routine for the wcsprm struct. ">wcsset</a>(<span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs);</div>
 <div class="line"><a name="l01538"></a><span class="lineno"> 1538</span> </div>
-<div class="line"><a name="l01539"></a><span class="lineno"> 1539</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a60673d05a3513659ac848a9cb3d0cb07" title="World-to-pixel transformation. ">wcss2p</a>(<span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs, <span class="keywordtype">int</span> ncoord, <span class="keywordtype">int</span> nelem, <span class="keyword">const [...]
-<div class="line"><a name="l01540"></a><span class="lineno"> 1540</span>            <span class="keywordtype">double</span> phi[], <span class="keywordtype">double</span> theta[], <span class="keywordtype">double</span> imgcrd[], <span class="keywordtype">double</span> pixcrd[],</div>
+<div class="line"><a name="l01539"></a><span class="lineno"> 1539</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a27d3dd209db3e76cf4c50f48c01ba986" title="Pixel-to-world transformation. ">wcsp2s</a>(<span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs, <span class="keywordtype">int</span> ncoord, <span class="keywordtype">int</span> nelem, <span class="keyword">const [...]
+<div class="line"><a name="l01540"></a><span class="lineno"> 1540</span>            <span class="keywordtype">double</span> imgcrd[], <span class="keywordtype">double</span> phi[], <span class="keywordtype">double</span> theta[], <span class="keywordtype">double</span> world[],</div>
 <div class="line"><a name="l01541"></a><span class="lineno"> 1541</span>            <span class="keywordtype">int</span> stat[]);</div>
 <div class="line"><a name="l01542"></a><span class="lineno"> 1542</span> </div>
-<div class="line"><a name="l01543"></a><span class="lineno"> 1543</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#af3f00b876c8212d43f32a51feeadaa81" title="Hybrid coordinate transformation. ">wcsmix</a>(<span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs, <span class="keywordtype">int</span> mixpix, <span class="keywordtype">int</span> mixcel, <span class="keyword">c [...]
-<div class="line"><a name="l01544"></a><span class="lineno"> 1544</span>            <span class="keywordtype">double</span> vstep, <span class="keywordtype">int</span> viter, <span class="keywordtype">double</span> world[], <span class="keywordtype">double</span> phi[],</div>
-<div class="line"><a name="l01545"></a><span class="lineno"> 1545</span>            <span class="keywordtype">double</span> theta[], <span class="keywordtype">double</span> imgcrd[], <span class="keywordtype">double</span> pixcrd[]);</div>
+<div class="line"><a name="l01543"></a><span class="lineno"> 1543</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a60673d05a3513659ac848a9cb3d0cb07" title="World-to-pixel transformation. ">wcss2p</a>(<span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs, <span class="keywordtype">int</span> ncoord, <span class="keywordtype">int</span> nelem, <span class="keyword">const [...]
+<div class="line"><a name="l01544"></a><span class="lineno"> 1544</span>            <span class="keywordtype">double</span> phi[], <span class="keywordtype">double</span> theta[], <span class="keywordtype">double</span> imgcrd[], <span class="keywordtype">double</span> pixcrd[],</div>
+<div class="line"><a name="l01545"></a><span class="lineno"> 1545</span>            <span class="keywordtype">int</span> stat[]);</div>
 <div class="line"><a name="l01546"></a><span class="lineno"> 1546</span> </div>
-<div class="line"><a name="l01547"></a><span class="lineno"> 1547</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a57975833fe0588eb7c7b6d79f13a7693" title="Spectral axis translation. ">wcssptr</a>(<span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs, <span class="keywordtype">int</span> *<a class="code" href="structwtbarr.html#a8743b84c99b4b5e7ab7bf0653507a180">i</a>, [...]
-<div class="line"><a name="l01548"></a><span class="lineno"> 1548</span> </div>
-<div class="line"><a name="l01549"></a><span class="lineno"> 1549</span> <span class="comment">/* Defined mainly for backwards compatibility, use wcssub() instead. */</span></div>
-<div class="line"><a name="l01550"></a><span class="lineno"><a class="code" href="wcs_8h.html#ac55946dadc53ac592cb686275902ae7b"> 1550</a></span> <span class="preprocessor">#define wcscopy(alloc, wcssrc, wcsdst) wcssub(alloc, wcssrc, 0x0, 0x0, wcsdst)</span></div>
-<div class="line"><a name="l01551"></a><span class="lineno"> 1551</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l01547"></a><span class="lineno"> 1547</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#af3f00b876c8212d43f32a51feeadaa81" title="Hybrid coordinate transformation. ">wcsmix</a>(<span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs, <span class="keywordtype">int</span> mixpix, <span class="keywordtype">int</span> mixcel, <span class="keyword">c [...]
+<div class="line"><a name="l01548"></a><span class="lineno"> 1548</span>            <span class="keywordtype">double</span> vstep, <span class="keywordtype">int</span> viter, <span class="keywordtype">double</span> world[], <span class="keywordtype">double</span> phi[],</div>
+<div class="line"><a name="l01549"></a><span class="lineno"> 1549</span>            <span class="keywordtype">double</span> theta[], <span class="keywordtype">double</span> imgcrd[], <span class="keywordtype">double</span> pixcrd[]);</div>
+<div class="line"><a name="l01550"></a><span class="lineno"> 1550</span> </div>
+<div class="line"><a name="l01551"></a><span class="lineno"> 1551</span> <span class="keywordtype">int</span> <a class="code" href="wcs_8h.html#a57975833fe0588eb7c7b6d79f13a7693" title="Spectral axis translation. ">wcssptr</a>(<span class="keyword">struct</span> <a class="code" href="structwcsprm.html" title="Coordinate transformation parameters. ">wcsprm</a> *wcs, <span class="keywordtype">int</span> *<a class="code" href="structwtbarr.html#a8743b84c99b4b5e7ab7bf0653507a180">i</a>, [...]
 <div class="line"><a name="l01552"></a><span class="lineno"> 1552</span> </div>
-<div class="line"><a name="l01553"></a><span class="lineno"> 1553</span> <span class="comment">/* Deprecated. */</span></div>
-<div class="line"><a name="l01554"></a><span class="lineno"><a class="code" href="wcs_8h.html#a1bcf49cfe1ed1bb2bc4c930f98d808fa"> 1554</a></span> <span class="preprocessor">#define wcsini_errmsg wcs_errmsg</span></div>
-<div class="line"><a name="l01555"></a><span class="lineno"><a class="code" href="wcs_8h.html#a465ef3c77aaf546324dae0692e6de7fe"> 1555</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcssub_errmsg wcs_errmsg</span></div>
-<div class="line"><a name="l01556"></a><span class="lineno"><a class="code" href="wcs_8h.html#ae1738854472218541bda531653ef2709"> 1556</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcscopy_errmsg wcs_errmsg</span></div>
-<div class="line"><a name="l01557"></a><span class="lineno"><a class="code" href="wcs_8h.html#a3d64b57cec404114c75bd25a562e8053"> 1557</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcsfree_errmsg wcs_errmsg</span></div>
-<div class="line"><a name="l01558"></a><span class="lineno"><a class="code" href="wcs_8h.html#a8f5c31a6983b17abbe2fead61550d55c"> 1558</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcsprt_errmsg wcs_errmsg</span></div>
-<div class="line"><a name="l01559"></a><span class="lineno"><a class="code" href="wcs_8h.html#a84a67c964e212bbf004c264b3ca70fee"> 1559</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcsset_errmsg wcs_errmsg</span></div>
-<div class="line"><a name="l01560"></a><span class="lineno"><a class="code" href="wcs_8h.html#ade3959355dc9d0987e7ccc4070795c38"> 1560</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcsp2s_errmsg wcs_errmsg</span></div>
-<div class="line"><a name="l01561"></a><span class="lineno"><a class="code" href="wcs_8h.html#a37c4884cf58baf25b2984ec3bccb80a5"> 1561</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcss2p_errmsg wcs_errmsg</span></div>
-<div class="line"><a name="l01562"></a><span class="lineno"><a class="code" href="wcs_8h.html#acfbadc770489b6b5186b95eaa35467f1"> 1562</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcsmix_errmsg wcs_errmsg</span></div>
-<div class="line"><a name="l01563"></a><span class="lineno"> 1563</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l01564"></a><span class="lineno"> 1564</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
-<div class="line"><a name="l01565"></a><span class="lineno"> 1565</span> <span class="preprocessor"></span><span class="preprocessor">#undef wtbarr</span></div>
-<div class="line"><a name="l01566"></a><span class="lineno"> 1566</span> <span class="preprocessor"></span>}</div>
-<div class="line"><a name="l01567"></a><span class="lineno"> 1567</span> <span class="preprocessor">#endif</span></div>
-<div class="line"><a name="l01568"></a><span class="lineno"> 1568</span> <span class="preprocessor"></span></div>
-<div class="line"><a name="l01569"></a><span class="lineno"> 1569</span> <span class="preprocessor">#endif </span><span class="comment">/* WCSLIB_WCS */</span><span class="preprocessor"></span></div>
+<div class="line"><a name="l01553"></a><span class="lineno"> 1553</span> <span class="comment">/* Defined mainly for backwards compatibility, use wcssub() instead. */</span></div>
+<div class="line"><a name="l01554"></a><span class="lineno"><a class="code" href="wcs_8h.html#ac55946dadc53ac592cb686275902ae7b"> 1554</a></span> <span class="preprocessor">#define wcscopy(alloc, wcssrc, wcsdst) wcssub(alloc, wcssrc, 0x0, 0x0, wcsdst)</span></div>
+<div class="line"><a name="l01555"></a><span class="lineno"> 1555</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l01556"></a><span class="lineno"> 1556</span> </div>
+<div class="line"><a name="l01557"></a><span class="lineno"> 1557</span> <span class="comment">/* Deprecated. */</span></div>
+<div class="line"><a name="l01558"></a><span class="lineno"><a class="code" href="wcs_8h.html#a1bcf49cfe1ed1bb2bc4c930f98d808fa"> 1558</a></span> <span class="preprocessor">#define wcsini_errmsg wcs_errmsg</span></div>
+<div class="line"><a name="l01559"></a><span class="lineno"><a class="code" href="wcs_8h.html#a465ef3c77aaf546324dae0692e6de7fe"> 1559</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcssub_errmsg wcs_errmsg</span></div>
+<div class="line"><a name="l01560"></a><span class="lineno"><a class="code" href="wcs_8h.html#ae1738854472218541bda531653ef2709"> 1560</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcscopy_errmsg wcs_errmsg</span></div>
+<div class="line"><a name="l01561"></a><span class="lineno"><a class="code" href="wcs_8h.html#a3d64b57cec404114c75bd25a562e8053"> 1561</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcsfree_errmsg wcs_errmsg</span></div>
+<div class="line"><a name="l01562"></a><span class="lineno"><a class="code" href="wcs_8h.html#a8f5c31a6983b17abbe2fead61550d55c"> 1562</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcsprt_errmsg wcs_errmsg</span></div>
+<div class="line"><a name="l01563"></a><span class="lineno"><a class="code" href="wcs_8h.html#a84a67c964e212bbf004c264b3ca70fee"> 1563</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcsset_errmsg wcs_errmsg</span></div>
+<div class="line"><a name="l01564"></a><span class="lineno"><a class="code" href="wcs_8h.html#ade3959355dc9d0987e7ccc4070795c38"> 1564</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcsp2s_errmsg wcs_errmsg</span></div>
+<div class="line"><a name="l01565"></a><span class="lineno"><a class="code" href="wcs_8h.html#a37c4884cf58baf25b2984ec3bccb80a5"> 1565</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcss2p_errmsg wcs_errmsg</span></div>
+<div class="line"><a name="l01566"></a><span class="lineno"><a class="code" href="wcs_8h.html#acfbadc770489b6b5186b95eaa35467f1"> 1566</a></span> <span class="preprocessor"></span><span class="preprocessor">#define wcsmix_errmsg wcs_errmsg</span></div>
+<div class="line"><a name="l01567"></a><span class="lineno"> 1567</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l01568"></a><span class="lineno"> 1568</span> <span class="preprocessor">#ifdef __cplusplus</span></div>
+<div class="line"><a name="l01569"></a><span class="lineno"> 1569</span> <span class="preprocessor"></span><span class="preprocessor">#undef wtbarr</span></div>
+<div class="line"><a name="l01570"></a><span class="lineno"> 1570</span> <span class="preprocessor"></span>}</div>
+<div class="line"><a name="l01571"></a><span class="lineno"> 1571</span> <span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l01572"></a><span class="lineno"> 1572</span> <span class="preprocessor"></span></div>
+<div class="line"><a name="l01573"></a><span class="lineno"> 1573</span> <span class="preprocessor">#endif </span><span class="comment">/* WCSLIB_WCS */</span><span class="preprocessor"></span></div>
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcserr_8h.html b/html/wcserr_8h.html
index 0c6d18d..2b1eea6 100644
--- a/html/wcserr_8h.html
+++ b/html/wcserr_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcserr.h File Reference</title>
+<title>WCSLIB 4.21: wcserr.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -355,7 +355,7 @@ Functions</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcserr_8h_source.html b/html/wcserr_8h_source.html
index d62d57e..6c68fa7 100644
--- a/html/wcserr_8h_source.html
+++ b/html/wcserr_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcserr.h Source File</title>
+<title>WCSLIB 4.21: wcserr.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="wcserr_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -75,7 +75,7 @@
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  Module author: Michael Droettboom</span></div>
 <div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">  $Id: wcserr.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">  $Id: wcserr.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">* Summary of the wcserr routines</span></div>
@@ -306,7 +306,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcsfix_8h.html b/html/wcsfix_8h.html
index ea0f1ce..a76f32b 100644
--- a/html/wcsfix_8h.html
+++ b/html/wcsfix_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcsfix.h File Reference</title>
+<title>WCSLIB 4.21: wcsfix.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -667,7 +667,7 @@ For returns > 1, a detailed error message is set in <a class="el" href="struc
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcsfix_8h_source.html b/html/wcsfix_8h_source.html
index 26ee486..b639c98 100644
--- a/html/wcsfix_8h_source.html
+++ b/html/wcsfix_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcsfix.h Source File</title>
+<title>WCSLIB 4.21: wcsfix.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="wcsfix_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,10 +74,10 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcsfix.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcsfix.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">* (WCS) standard.  Refer to</span></div>
 <div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">*   "Representations of world coordinates in FITS",</span></div>
@@ -452,7 +452,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcshdr_8h.html b/html/wcshdr_8h.html
index e844492..25406e7 100644
--- a/html/wcshdr_8h.html
+++ b/html/wcshdr_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcshdr.h File Reference</title>
+<title>WCSLIB 4.21: wcshdr.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -1549,7 +1549,7 @@ For returns > 1, a detailed error message is set in <a class="el" href="struc
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcshdr_8h_source.html b/html/wcshdr_8h_source.html
index 91ef1b6..c014406 100644
--- a/html/wcshdr_8h_source.html
+++ b/html/wcshdr_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcshdr.h Source File</title>
+<title>WCSLIB 4.21: wcshdr.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="wcshdr_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,10 +74,10 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcshdr.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcshdr.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">* (WCS) standard.  Refer to</span></div>
 <div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">*   "Representations of world coordinates in FITS",</span></div>
@@ -1182,7 +1182,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcslib_8h.html b/html/wcslib_8h.html
index a4715b9..5cecbcc 100644
--- a/html/wcslib_8h.html
+++ b/html/wcslib_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcslib.h File Reference</title>
+<title>WCSLIB 4.21: wcslib.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -71,7 +71,7 @@
 </div></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcslib_8h_source.html b/html/wcslib_8h_source.html
index fbb060b..5c9cc7d 100644
--- a/html/wcslib_8h_source.html
+++ b/html/wcslib_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcslib.h Source File</title>
+<title>WCSLIB 4.21: wcslib.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -48,8 +48,8 @@
 <div class="contents">
 <a href="wcslib_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -70,10 +70,10 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcslib.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcslib.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">* (WCS) standard.</span></div>
 <div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">* Summary of wcslib.h</span></div>
@@ -153,7 +153,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcsmath_8h.html b/html/wcsmath_8h.html
index 87a519f..db4b029 100644
--- a/html/wcsmath_8h.html
+++ b/html/wcsmath_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcsmath.h File Reference</title>
+<title>WCSLIB 4.21: wcsmath.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -176,7 +176,7 @@ Macros</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcsmath_8h_source.html b/html/wcsmath_8h_source.html
index 4ef46df..e7c0314 100644
--- a/html/wcsmath_8h_source.html
+++ b/html/wcsmath_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcsmath.h Source File</title>
+<title>WCSLIB 4.21: wcsmath.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="wcsmath_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,7 +74,7 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcsmath.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcsmath.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* Summary of wcsmath.h</span></div>
@@ -123,7 +123,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:14 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcsprintf_8h.html b/html/wcsprintf_8h.html
index 8e9d291..b19ad8b 100644
--- a/html/wcsprintf_8h.html
+++ b/html/wcsprintf_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcsprintf.h File Reference</title>
+<title>WCSLIB 4.21: wcsprintf.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -247,7 +247,7 @@ Functions</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcsprintf_8h_source.html b/html/wcsprintf_8h_source.html
index 300b080..6cba067 100644
--- a/html/wcsprintf_8h_source.html
+++ b/html/wcsprintf_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcsprintf.h Source File</title>
+<title>WCSLIB 4.21: wcsprintf.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="wcsprintf_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,10 +74,10 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcsprintf.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcsprintf.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">* (WCS) standard.</span></div>
 <div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">* Summary of the wcsprintf routines</span></div>
@@ -203,7 +203,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcstrig_8h.html b/html/wcstrig_8h.html
index 0d4d9eb..0319ade 100644
--- a/html/wcstrig_8h.html
+++ b/html/wcstrig_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcstrig.h File Reference</title>
+<title>WCSLIB 4.21: wcstrig.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -353,7 +353,7 @@ Functions</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcstrig_8h_source.html b/html/wcstrig_8h_source.html
index cb71ca0..26727a7 100644
--- a/html/wcstrig_8h_source.html
+++ b/html/wcstrig_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcstrig.h Source File</title>
+<title>WCSLIB 4.21: wcstrig.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="wcstrig_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,7 +74,7 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcstrig.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcstrig.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* Summary of the wcstrig routines</span></div>
@@ -265,7 +265,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcsunits_8h.html b/html/wcsunits_8h.html
index 57ce46a..8e8e27d 100644
--- a/html/wcsunits_8h.html
+++ b/html/wcsunits_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcsunits.h File Reference</title>
+<title>WCSLIB 4.21: wcsunits.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -900,7 +900,7 @@ Function types log(), ln() and exp() may only occur at the start of the units sp
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcsunits_8h_source.html b/html/wcsunits_8h_source.html
index 138b1ec..9b44f28 100644
--- a/html/wcsunits_8h_source.html
+++ b/html/wcsunits_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcsunits.h Source File</title>
+<title>WCSLIB 4.21: wcsunits.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="wcsunits_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,10 +74,10 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcsunits.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcsunits.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.20 - C routines that implement the FITS World Coordinate System</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* WCSLIB 4.21 - C routines that implement the FITS World Coordinate System</span></div>
 <div class="line"><a name="l00029"></a><span class="lineno">   29</span> <span class="comment">* (WCS) standard.  Refer to</span></div>
 <div class="line"><a name="l00030"></a><span class="lineno">   30</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00031"></a><span class="lineno">   31</span> <span class="comment">*   "Representations of world coordinates in FITS",</span></div>
@@ -463,7 +463,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcsutil_8h.html b/html/wcsutil_8h.html
index 3eb2d9a..2bd144c 100644
--- a/html/wcsutil_8h.html
+++ b/html/wcsutil_8h.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcsutil.h File Reference</title>
+<title>WCSLIB 4.21: wcsutil.h File Reference</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -486,7 +486,7 @@ Functions</h2></td></tr>
 </div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:56 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/html/wcsutil_8h_source.html b/html/wcsutil_8h_source.html
index 9740d62..28b8b99 100644
--- a/html/wcsutil_8h_source.html
+++ b/html/wcsutil_8h_source.html
@@ -4,7 +4,7 @@
 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.4"/>
-<title>WCSLIB 4.20: wcsutil.h Source File</title>
+<title>WCSLIB 4.21: wcsutil.h Source File</title>
 <link href="tabs.css" rel="stylesheet" type="text/css"/>
 <script type="text/javascript" src="jquery.js"></script>
 <script type="text/javascript" src="dynsections.js"></script>
@@ -17,7 +17,7 @@
  <tbody>
  <tr style="height: 56px;">
   <td style="padding-left: 0.5em;">
-   <div id="projectname">WCSLIB 4.20
+   <div id="projectname">WCSLIB 4.21
    </div>
   </td>
  </tr>
@@ -52,8 +52,8 @@
 <div class="contents">
 <a href="wcsutil_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span> <span class="comment">/*============================================================================</span></div>
 <div class="line"><a name="l00002"></a><span class="lineno">    2</span> <span class="comment"></span></div>
-<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.20 - an implementation of the FITS WCS standard.</span></div>
-<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2013, Mark Calabretta</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span> <span class="comment">  WCSLIB 4.21 - an implementation of the FITS WCS standard.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span> <span class="comment">  Copyright (C) 1995-2014, Mark Calabretta</span></div>
 <div class="line"><a name="l00005"></a><span class="lineno">    5</span> <span class="comment"></span></div>
 <div class="line"><a name="l00006"></a><span class="lineno">    6</span> <span class="comment">  This file is part of WCSLIB.</span></div>
 <div class="line"><a name="l00007"></a><span class="lineno">    7</span> <span class="comment"></span></div>
@@ -74,7 +74,7 @@
 <div class="line"><a name="l00022"></a><span class="lineno">   22</span> <span class="comment"></span></div>
 <div class="line"><a name="l00023"></a><span class="lineno">   23</span> <span class="comment">  Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.</span></div>
 <div class="line"><a name="l00024"></a><span class="lineno">   24</span> <span class="comment">  http://www.atnf.csiro.au/people/Mark.Calabretta</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcsutil.h,v 4.20 2013/12/18 05:42:49 mcalabre Exp $</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span> <span class="comment">  $Id: wcsutil.h,v 4.21 2014/03/24 05:12:27 mcalabre Exp $</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span> <span class="comment">*=============================================================================</span></div>
 <div class="line"><a name="l00027"></a><span class="lineno">   27</span> <span class="comment">*</span></div>
 <div class="line"><a name="l00028"></a><span class="lineno">   28</span> <span class="comment">* Summary of the wcsutil routines</span></div>
@@ -322,7 +322,7 @@
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>
-Generated on Wed Dec 18 2013 16:43:15 for WCSLIB 4.20 by  <a href="http://www.doxygen.org/index.html">
+Generated on Mon Mar 24 2014 16:12:55 for WCSLIB 4.21 by  <a href="http://www.doxygen.org/index.html">
 <img class="footer" src="doxygen.png" alt="doxygen"/>
 </a> 1.8.4
 </small></address>
diff --git a/makedefs.in b/makedefs.in
index 61bcab2..70305d2 100644
--- a/makedefs.in
+++ b/makedefs.in
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# GNU makefile definitions for building WCSLIB 4.20
+# GNU makefile definitions for building WCSLIB 4.21
 #
 # makedefs is generated from makedefs.in by configure.  It contains variable
 # definitions and some general-purpose rules for building WCSLIB.
@@ -39,11 +39,11 @@
 #      compiled separately without this option.
 #
 #      The shared library will be installed with version number, e.g. as
-#      libwcs.so.4.20 or libwcs.4.20.dylib with or without the symlink
+#      libwcs.so.4.21 or libwcs.4.21.dylib with or without the symlink
 #      required to make it visible to the linker (controlled by the SHRLN
 #      variable).  On Macs it is deliberately not created because its very
 #      existence precludes static linking with the cctools linker.  You can
-#      still link dynamically by using -lwcs.4.20.
+#      still link dynamically by using -lwcs.4.21.
 #
 #   4) PGPLOT is Tim Pearson's Fortran graphics library with separate C
 #      interface available from astro.caltech.edu.  It is only required by
@@ -74,7 +74,7 @@
 #
 # Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 # http://www.atnf.csiro.au/people/Mark.Calabretta
-# $Id: makedefs.in,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+# $Id: makedefs.in,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 #-----------------------------------------------------------------------------
 # Version.
   LIBVER    := @LIBVER@
diff --git a/pgsbox/GNUmakefile b/pgsbox/GNUmakefile
index b69e431..58dd06b 100644
--- a/pgsbox/GNUmakefile
+++ b/pgsbox/GNUmakefile
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# GNU makefile for building PGSBOX 4.20
+# GNU makefile for building PGSBOX 4.21
 #
 # Summary of the main targets
 # ---------------------------
@@ -26,12 +26,12 @@
 #      instead and re-run configure.
 #
 #   2) In compiling the test programs, this makefile assumes that the
-#      WCSLIB 4.20 sources reside in ../C and ../Fortran (as in the
+#      WCSLIB 4.21 sources reside in ../C and ../Fortran (as in the
 #      distribution kit).
 #
 # Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 # http://www.atnf.csiro.au/people/Mark.Calabretta
-# $Id: GNUmakefile,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+# $Id: GNUmakefile,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 #-----------------------------------------------------------------------------
 # Get configure settings.
 include ../makedefs
diff --git a/pgsbox/cpgsbox.c b/pgsbox/cpgsbox.c
index e78057e..1c4d0b8 100644
--- a/pgsbox/cpgsbox.c
+++ b/pgsbox/cpgsbox.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  PGSBOX 4.20 - draw curvilinear coordinate axes for PGPLOT.
-  Copyright (C) 1997-2013, Mark Calabretta
+  PGSBOX 4.21 - draw curvilinear coordinate axes for PGPLOT.
+  Copyright (C) 1997-2014, Mark Calabretta
 
   This file is part of PGSBOX.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: cpgsbox.c,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+  $Id: cpgsbox.c,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *===========================================================================*/
 
 #include <string.h>
diff --git a/pgsbox/cpgsbox.h b/pgsbox/cpgsbox.h
index 6d05822..66dcf7c 100644
--- a/pgsbox/cpgsbox.h
+++ b/pgsbox/cpgsbox.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  PGSBOX 4.20 - draw curvilinear coordinate axes for PGPLOT.
-  Copyright (C) 1997-2013, Mark Calabretta
+  PGSBOX 4.21 - draw curvilinear coordinate axes for PGPLOT.
+  Copyright (C) 1997-2014, Mark Calabretta
 
   This file is part of PGSBOX.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: cpgsbox.h,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+  $Id: cpgsbox.h,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=============================================================================
 *
 * cpgsbox() and cpglbox() are C wrappers for PGSBOX and PGLBOX.  Refer to the
diff --git a/pgsbox/cpgtest.c b/pgsbox/cpgtest.c
index a5d9c86..6e64962 100644
--- a/pgsbox/cpgtest.c
+++ b/pgsbox/cpgtest.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  PGSBOX 4.20 - draw curvilinear coordinate axes for PGPLOT.
-  Copyright (C) 1997-2013, Mark Calabretta
+  PGSBOX 4.21 - draw curvilinear coordinate axes for PGPLOT.
+  Copyright (C) 1997-2014, Mark Calabretta
 
   This file is part of PGSBOX.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: cpgtest.c,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+  $Id: cpgtest.c,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=============================================================================
 *
 *   cpgtest
diff --git a/pgsbox/fscan.f b/pgsbox/fscan.f
index d29a3c1..b31026a 100644
--- a/pgsbox/fscan.f
+++ b/pgsbox/fscan.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* PGSBOX 4.20 - draw curvilinear coordinate axes for PGPLOT.
-* Copyright (C) 1997-2013, Mark Calabretta
+* PGSBOX 4.21 - draw curvilinear coordinate axes for PGPLOT.
+* Copyright (C) 1997-2014, Mark Calabretta
 *
 * This file is part of PGSBOX.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: fscan.f,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+* $Id: fscan.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 *
 * FSCAN defines an azimuth/frequency coordinate system for PGSBOX.
diff --git a/pgsbox/lngvel.f b/pgsbox/lngvel.f
index 38cea2c..80b7796 100644
--- a/pgsbox/lngvel.f
+++ b/pgsbox/lngvel.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* PGSBOX 4.20 - draw curvilinear coordinate axes for PGPLOT.
-* Copyright (C) 1997-2013, Mark Calabretta
+* PGSBOX 4.21 - draw curvilinear coordinate axes for PGPLOT.
+* Copyright (C) 1997-2014, Mark Calabretta
 *
 * This file is part of PGSBOX.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: lngvel.f,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+* $Id: lngvel.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 *
 * LNGVEL defines a longitude/velocity coordinate system for PGSBOX.
diff --git a/pgsbox/makedefs.in b/pgsbox/makedefs.in
deleted file mode 100644
index e690ba3..0000000
--- a/pgsbox/makedefs.in
+++ /dev/null
@@ -1,240 +0,0 @@
-#-----------------------------------------------------------------------------
-# GNU makefile definitions for building WCSLIB 4.17
-#
-# makedefs is generated from makedefs.in by configure.  It contains variable
-# definitions and some general-purpose rules for building WCSLIB.
-#
-# Targets defined here
-# --------------------
-#   printenv:  Print the environment as seen within makefile rules.
-#   show:      Print the values of all makefile variables used.
-#
-# Notes:
-#   1) If you need to make changes then it may be preferable to modify
-#      makedefs.in (not makedefs).  The makefile will detect this and
-#      automatically re-run config.status to regenerate makedefs.
-#
-#   2) There are three choices for trigd functions - cosd(), sind(), tand(),
-#      acosd(), asind(), atand(), and atan2d(), made by setting WCSTRIG:
-#
-#      1: Use the wrapper functions supplied with WCSLIB (default):
-#         WCSTRIG := WRAPPER
-#
-#      2: Use native trigd functions supplied in a mathematics library such
-#         as libsunmath (you will also need to add the library to the LIBS
-#         variable below):
-#         WCSTRIG := NATIVE
-#
-#      3: Use C preprocessor macro implementations of the trigd functions
-#         (this method is typically 20% faster but may lead to rounding
-#         errors near the poles):
-#         WCSTRIG := MACRO
-#
-#   3) Variables for creating the shared (dynamic) library are currently
-#      only set by 'configure' if the GNU C compiler is used.  However,
-#      you can set these variables by hand, preferably in makedefs.in.
-#
-#      Shared libraries require position-independent code (PIC) which imposes
-#      a performance overhead.  Consequently the static libraries are
-#      compiled separately without this option.
-#
-#      The shared library will be installed with version number, e.g. as
-#      libwcs.so.4.17 or libwcs.4.17.dylib with or without the symlink
-#      required to make it visible to the linker (controlled by the SHRLN
-#      variable).  On Macs it is deliberately not created because its very
-#      existence precludes static linking with the cctools linker.  You can
-#      still link dynamically by using -lwcs.4.17.
-#
-#   4) PGPLOT is Tim Pearson's Fortran graphics library with separate C
-#      interface available from astro.caltech.edu.  It is only required by
-#      one utility, wcsgrid, and the test programs that plot test grids
-#      (tprj2, tcel1, tcel2, tspc, ttab2, ttab3, twcsmix, and tpih2).  You can
-#      skip these by setting PGPLOTLIB to blank.
-#
-#      It is difficult for configure to deduce what auxiliary graphics
-#      libraries may be needed for PGPLOT since it depends on which of many
-#      possible graphics drivers were selected when PGPLOT was installed.
-#      Therefore it is quite likely that you will need to add additional
-#      libraries to PGPLOTLIB.
-#
-#   5) CFITSIO is Bill Pence's FITS I/O library written in C with Fortran
-#      wrappers, available from http://heasarc.gsfc.nasa.gov/fitsio.
-#
-#      CFITSIO is required by three utilities, HPXcvt, wcsgrid, and wcsware,
-#      and also by the test programs twcstab and twcshdr.  wcsware and the
-#      test programs use fits_read_wcstab() which is implemented by
-#      getwcstab.c.  However, this implementation is included in CFITSIO post
-#      3.004beta, so getwcstab.c is required here only for older releases
-#      (controlled by variable GETWCSTAB).  getwcstab.o itself is not inserted
-#      into the WCSLIB object library.
-#
-#      If available, CFITSIO is also optionally used for test programs
-#      tfitshdr, tbth1, tpih1 and tpih2 by setting preprocessor macro
-#      -DDO_CFITSIO.
-#
-# Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
-# http://www.atnf.csiro.au/people/Mark.Calabretta
-# $Id: makedefs.in,v 4.17.1.1 2013/01/29 05:32:33 cal103 Exp $
-#-----------------------------------------------------------------------------
-# Version.
-  LIBVER    := @LIBVER@
-  WCSLIBPKG := wcslib- at PACKAGE_VERSION@
-
-# System architecture.
-  ARCH     := @ARCH@
-
-# Flex and options.
-  FLEX     := @FLEX@
-  FLFLAGS  :=
-
-# C preprocessor and options.
-  CPP      := @CPP@
-  CPPFLAGS := @DEFS@
-  WCSTRIG  := WRAPPER
-
-# C compiler and options.
-  CC       := @CC@
-  CFLAGS   := @CFLAGS@
-
-# Fortran compiler and options.
-  FC       := @F77@
-  FFLAGS   := @FFLAGS@
-
-# Static object library.
-  WCSLIB   := libwcs-$(LIBVER).a
-  RANLIB   := @RANLIB@
-
-# Shared (dynamic) library (see note 3 above).
-  SHRLIB   := @SHRLIB@
-  SONAME   := @SONAME@
-  SHRFLAGS := @SHRFLAGS@
-  SHRLD    := @SHRLD@
-  SHRLN    := @SHRLN@
-
-# What subdirectories to build.
-  SUBDIRS  := @SUBDIRS@
-  TSTDIRS  := @TSTDIRS@
-
-# Top of the 'make install' hierarchy: pgsbox -> Fortran -> C.
-  INSTDIR  := @INSTDIR@
-
-# Installation utilities and locations.
-  LN_S     := @LN_S@
-  INSTALL  := @INSTALL@
-
-  # Needed for the definitions provided by autoconf.
-  prefix          := @prefix@
-  exec_prefix     := @exec_prefix@
-  datarootdir     := @datarootdir@
-  PACKAGE_TARNAME := @PACKAGE_TARNAME@
-  docdir          := @docdir@
-
-  LIBDIR   := $(DESTDIR)@libdir@
-  BINDIR   := $(DESTDIR)@bindir@
-  INCDIR   := $(DESTDIR)@includedir@/wcslib-$(LIBVER)
-  INCLINK  := $(DESTDIR)@includedir@/wcslib
-  DOCDIR   := $(DESTDIR)@docdir@
-  DOCLINK  := $(dir $(DESTDIR)@docdir@)wcslib
-  HTMLDIR  := $(DESTDIR)@htmldir@
-  PDFDIR   := $(DESTDIR)@pdfdir@
-  MANDIR   := $(DESTDIR)@mandir@
-
-# For putting timestamps in the build log.
-  TIMER    := date +"%a %Y/%m/%d %X %z, executing on $$HOST"
-
-
-# The remaining options are for building utilities and test programs.
-# -------------------------------------------------------------------
-# Linker options (use CC for linking).
-  LD       = $(CC)
-  LDFLAGS := @LDFLAGS@
-
-# PGPLOT (see note 4 above).
-  PGPLOTINC := @PGPLOTINC@
-  PGPLOTLIB := @PGPLOTLIB@
-
-# CFITSIO (see note 5 above).
-  CFITSIOINC := @CFITSIOINC@
-  CFITSIOLIB := @CFITSIOLIB@
-  GETWCSTAB  := @GETWCSTAB@
-
-# Libraries required by the above Fortran compiler.
-  FLIBS := @FLIBS@
-
-# Libraries required by WCSLIB itself.
-  LIBS := @LIBS@
-
-
-#-----------------------------------------------------------------------------
-# You shouldn't need to change anything below here.
-#-----------------------------------------------------------------------------
-
-SHELL := /bin/sh
-VPATH := ..
-
-# Common targets.
-.PHONY : all build printenv show
-
-all : show build
-
-# Print the environment as seen by makefile rules.
-printenv :
-	-@ printenv | sort
-
-# Print variable definitions.
-show :: wcsconfig.h
-	-@ echo ''
-	-@ uname -a
-	-@ echo ''
-	-@ $(MAKE) --version | head -1
-	-@ echo '  MAKEFLAGS   := $(MAKEFLAGS)'
-	-@ echo ''
-	-@ echo 'For building and installing $(WCSLIBPKG)...'
-	-@ echo '  ARCH        := $(ARCH)'
-	-@ echo '  FLEX        := $(FLEX)'
-	-@ echo '  FLFLAGS     := $(FLFLAGS)'
-	-@ echo '  CPP         := $(CPP)'
-	-@ echo '  CPPFLAGS    := $(CPPFLAGS)'
-	-@ echo '  WCSTRIG     := $(WCSTRIG)'
-	-@ echo '  CC          := $(CC)'
-	-@ echo '  CFLAGS      := $(CFLAGS)'
-	-@ echo '  FC          := $(FC)'
-	-@ echo '  FFLAGS      := $(FFLAGS)'
-	-@ echo '  WCSLIB      := $(WCSLIB)'
-	-@ echo '  RANLIB      := $(RANLIB)'
-	-@ echo '  SHRLIB      := $(SHRLIB)'
-	-@ echo '  SONAME      := $(SONAME)'
-	-@ echo '  SHRFLAGS    := $(SHRFLAGS)'
-	-@ echo '  SHRLD       := $(SHRLD)'
-	-@ echo '  SHRLN       := $(SHRLN)'
-	-@ echo '  LN_S        := $(LN_S)'
-	-@ echo '  INSTALL     := $(INSTALL)'
-	-@ echo '  LIBDIR      := $(LIBDIR)'
-	-@ echo '  BINDIR      := $(BINDIR)'
-	-@ echo '  INCDIR      := $(INCDIR)'
-	-@ echo '  INCLINK     := $(INCLINK)'
-	-@ echo '  DOCDIR      := $(DOCDIR)'
-	-@ echo '  DOCLINK     := $(DOCLINK)'
-	-@ echo '  HTMLDIR     := $(HTMLDIR)'
-	-@ echo '  PDFDIR      := $(PDFDIR)'
-	-@ echo '  MANDIR      := $(MANDIR)'
-	-@ echo '  TIMER       := $(TIMER)'
-	-@ echo ''
-	-@ echo 'Important wcsconfig.h defines...'
-	-@ echo "  `grep HAVE_SINCOS $<`"
-	-@ echo "  `grep WCSLIB_INT64 $<`"
-	-@ echo ''
-	-@ echo 'To build utilities and test programs...'
-	-@ echo '  LD          := $(LD)'
-	-@ echo '  LDFLAGS     := $(LDFLAGS)'
-	-@ echo '  PGPLOTINC   := $(PGPLOTINC)'
-	-@ echo '  PGPLOTLIB   := $(PGPLOTLIB)'
-	-@ echo '  CFITSIOINC  := $(CFITSIOINC)'
-	-@ echo '  CFITSIOLIB  := $(CFITSIOLIB)'
-	-@ echo '  GETWCSTAB   := $(GETWCSTAB)'
-	-@ echo '  FLIBS       := $(FLIBS)'
-	-@ echo '  LIBS        := $(LIBS)'
-	-@ echo ''
-
-# Code development overrides, for use in the code subdirectories.
--include ../flavours
diff --git a/pgsbox/pgcrfn.f b/pgsbox/pgcrfn.f
index cbe862b..d96000a 100644
--- a/pgsbox/pgcrfn.f
+++ b/pgsbox/pgcrfn.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* PGSBOX 4.20 - draw curvilinear coordinate axes for PGPLOT.
-* Copyright (C) 1997-2013, Mark Calabretta
+* PGSBOX 4.21 - draw curvilinear coordinate axes for PGPLOT.
+* Copyright (C) 1997-2014, Mark Calabretta
 *
 * This file is part of PGSBOX.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: pgcrfn.f,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+* $Id: pgcrfn.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 *
 * PGCRFN defines separable pairs of non-linear coordinate systems for
diff --git a/pgsbox/pgcrvl.f b/pgsbox/pgcrvl.f
index 290112a..e0c3578 100644
--- a/pgsbox/pgcrvl.f
+++ b/pgsbox/pgcrvl.f
@@ -1,5 +1,5 @@
 *=======================================================================
-*                              PGSBOX 4.20
+*                              PGSBOX 4.21
 *-----------------------------------------------------------------------
 *
 * ATTENTION!
@@ -21,7 +21,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: pgcrvl.f,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+* $Id: pgcrvl.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
       SUBROUTINE PGCRVL (AXEN, IDENTS, OPT, LABCTL, LABDEN, CI, GCODE,
      :   TIKLEN, NG1, GRID1, NG2, GRID2, DOEQ, NLFUNC, NLC, NLI, NLD,
diff --git a/pgsbox/pgsbox.f b/pgsbox/pgsbox.f
index eb3c852..b0b9bc4 100644
--- a/pgsbox/pgsbox.f
+++ b/pgsbox/pgsbox.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* PGSBOX 4.20 - draw curvilinear coordinate axes for PGPLOT.
-* Copyright (C) 1997-2013, Mark Calabretta
+* PGSBOX 4.21 - draw curvilinear coordinate axes for PGPLOT.
+* Copyright (C) 1997-2014, Mark Calabretta
 *
 * This file is part of PGSBOX.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: pgsbox.f,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+* $Id: pgsbox.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
 *
 * PGSBOX draws and labels a curvilinear coordinate grid.  The caller
diff --git a/pgsbox/pgtest.f b/pgsbox/pgtest.f
index 37ab2cb..d564210 100644
--- a/pgsbox/pgtest.f
+++ b/pgsbox/pgtest.f
@@ -1,7 +1,7 @@
 *=======================================================================
 *
-* PGSBOX 4.20 - draw curvilinear coordinate axes for PGPLOT.
-* Copyright (C) 1997-2013, Mark Calabretta
+* PGSBOX 4.21 - draw curvilinear coordinate axes for PGPLOT.
+* Copyright (C) 1997-2014, Mark Calabretta
 *
 * This file is part of PGSBOX.
 *
@@ -22,7 +22,7 @@
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: pgtest.f,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+* $Id: pgtest.f,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=======================================================================
       PROGRAM PGTEST
 *=======================================================================
diff --git a/pgsbox/pgwcsl.c b/pgsbox/pgwcsl.c
index ce3a480..3b66b76 100644
--- a/pgsbox/pgwcsl.c
+++ b/pgsbox/pgwcsl.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  PGSBOX 4.20 - draw curvilinear coordinate axes for PGPLOT.
-  Copyright (C) 1997-2013, Mark Calabretta
+  PGSBOX 4.21 - draw curvilinear coordinate axes for PGPLOT.
+  Copyright (C) 1997-2014, Mark Calabretta
 
   This file is part of PGSBOX.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: pgwcsl.c,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+  $Id: pgwcsl.c,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *===========================================================================*/
 
 #include <math.h>
diff --git a/pgsbox/pgwcsl.h b/pgsbox/pgwcsl.h
index d5fdf4a..b33d865 100644
--- a/pgsbox/pgwcsl.h
+++ b/pgsbox/pgwcsl.h
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  PGSBOX 4.20 - draw curvilinear coordinate axes for PGPLOT.
-  Copyright (C) 1997-2013, Mark Calabretta
+  PGSBOX 4.21 - draw curvilinear coordinate axes for PGPLOT.
+  Copyright (C) 1997-2014, Mark Calabretta
 
   This file is part of PGSBOX.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: pgwcsl.h,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+  $Id: pgwcsl.h,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=============================================================================
 *
 *   pgwcsl_() is an NLFUNC for PGSBOX that defines curvilinear celestial
diff --git a/pgsbox/wcsconfig_f77.h.in b/pgsbox/wcsconfig_f77.h.in
deleted file mode 100644
index 2c7a48c..0000000
--- a/pgsbox/wcsconfig_f77.h.in
+++ /dev/null
@@ -1,21 +0,0 @@
-/*============================================================================
-*
-* wcsconfig_f77.h is generated from wcsconfig_f77.h.in by 'configure'.  It
-* contains C preprocessor definitions for building the WCSLIB 4.17 Fortran
-* wrappers.
-*
-* Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
-* http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcsconfig_f77.h.in,v 4.17.1.1 2013/01/29 05:32:33 cal103 Exp $
-*===========================================================================*/
-
-/* Integer array type large enough to hold an address.  Set here to int[2] for
- * 64-bit addresses, but could be defined as int* on 32-bit machines. */
-typedef int iptr[2];
-
-/* Macro for mangling Fortran subroutine names that do not contain
- * underscores.  Typically a name like "WCSINI" (case-insensitive) will become
- * something like "wcsini_" (case-sensitive).  The Fortran wrappers, which are
- * written in C, are preprocessed into names that match the latter.  The macro
- * takes two arguments which specify the name in lower and upper case. */
-#undef F77_FUNC
diff --git a/utils/GNUmakefile b/utils/GNUmakefile
index 813d8e7..12ca9df 100644
--- a/utils/GNUmakefile
+++ b/utils/GNUmakefile
@@ -1,5 +1,5 @@
 #-----------------------------------------------------------------------------
-# GNU makefile for WCSLIB 4.20 utilities: fitshdr, HPXcvt, wcsgrid and wcsware.
+# GNU makefile for WCSLIB 4.21 utilities: fitshdr, HPXcvt, wcsgrid and wcsware.
 #
 # Summary of the main targets
 # ---------------------------
@@ -12,12 +12,12 @@
 #   1: If you need to make changes then preferably modify ../makedefs.in
 #      instead and re-run configure.
 #
-#   2: In compiling these utilities, this makefile assumes that the WCSLIB 4.20
+#   2: In compiling these utilities, this makefile assumes that the WCSLIB 4.21
 #      sources reside in ../{pgsbox,C} (as in the distribution kit).
 #
 # Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 # http://www.atnf.csiro.au/people/Mark.Calabretta
-# $Id: GNUmakefile,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+# $Id: GNUmakefile,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 #-----------------------------------------------------------------------------
 # Get configure settings.
 include ../makedefs
diff --git a/utils/HPXcvt.1 b/utils/HPXcvt.1
index f009158..984506a 100644
--- a/utils/HPXcvt.1
+++ b/utils/HPXcvt.1
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.40.4.
-.TH HPXCVT "1" "December 2013" "HPXcvt 4.20" "User Commands"
+.TH HPXCVT "1" "March 2014" "HPXcvt 4.21" "User Commands"
 .SH NAME
 HPXcvt \- Reorganise HEALPix data into a 2-D FITS image
 .SH SYNOPSIS
diff --git a/utils/HPXcvt.c b/utils/HPXcvt.c
index e104586..16674e4 100644
--- a/utils/HPXcvt.c
+++ b/utils/HPXcvt.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: HPXcvt.c,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+  $Id: HPXcvt.c,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=============================================================================
 *
 * HPXcvt reorganises HEALPix data into a 2-D FITS image.  Refer to the usage
diff --git a/utils/fitshdr.1 b/utils/fitshdr.1
index f850384..d4fd46e 100644
--- a/utils/fitshdr.1
+++ b/utils/fitshdr.1
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.40.4.
-.TH FITSHDR "1" "December 2013" "fitshdr 4.20" "User Commands"
+.TH FITSHDR "1" "March 2014" "fitshdr 4.21" "User Commands"
 .SH NAME
 fitshdr \- List headers from a FITS file
 .SH SYNOPSIS
diff --git a/utils/fitshdr.c b/utils/fitshdr.c
index 9233431..c0fcf57 100644
--- a/utils/fitshdr.c
+++ b/utils/fitshdr.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: fitshdr.c,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+  $Id: fitshdr.c,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=============================================================================
 * Usage: fitshdr [infile]
 *-----------------------------------------------------------------------------
diff --git a/utils/hpx.fits b/utils/hpx.fits
new file mode 100644
index 0000000..9501fa1
--- /dev/null
+++ b/utils/hpx.fits
@@ -0,0 +1 @@
+SIMPLE  = T                                                                     BITPIX  = -32                                                                   NAXIS   = 2                                                                     NAXIS1  =                  300                                                  NAXIS2  =                  200                                                  CTYPE1  = 'GLON-HPX'                                                            CTYPE2  = 'G [...]
\ No newline at end of file
diff --git a/utils/hpx.keyrec b/utils/hpx.keyrec
new file mode 100644
index 0000000..a3a0b9c
--- /dev/null
+++ b/utils/hpx.keyrec
@@ -0,0 +1,14 @@
+SIMPLE  = T
+BITPIX  = -32
+NAXIS   = 2
+NAXIS1  =                  300 
+NAXIS2  =                  200 
+CTYPE1  = 'GLON-HPX'           
+CTYPE2  = 'GLAT-HPX'           
+CRVAL1  =           -149.56866 
+CRVAL2  =           -19.758201 
+CRPIX1  =              150.500 
+CRPIX2  =              100.500 
+CDELT1  =             -1.00000 
+CDELT2  =              1.00000
+END
diff --git a/utils/makedefs.in b/utils/makedefs.in
deleted file mode 100644
index e690ba3..0000000
--- a/utils/makedefs.in
+++ /dev/null
@@ -1,240 +0,0 @@
-#-----------------------------------------------------------------------------
-# GNU makefile definitions for building WCSLIB 4.17
-#
-# makedefs is generated from makedefs.in by configure.  It contains variable
-# definitions and some general-purpose rules for building WCSLIB.
-#
-# Targets defined here
-# --------------------
-#   printenv:  Print the environment as seen within makefile rules.
-#   show:      Print the values of all makefile variables used.
-#
-# Notes:
-#   1) If you need to make changes then it may be preferable to modify
-#      makedefs.in (not makedefs).  The makefile will detect this and
-#      automatically re-run config.status to regenerate makedefs.
-#
-#   2) There are three choices for trigd functions - cosd(), sind(), tand(),
-#      acosd(), asind(), atand(), and atan2d(), made by setting WCSTRIG:
-#
-#      1: Use the wrapper functions supplied with WCSLIB (default):
-#         WCSTRIG := WRAPPER
-#
-#      2: Use native trigd functions supplied in a mathematics library such
-#         as libsunmath (you will also need to add the library to the LIBS
-#         variable below):
-#         WCSTRIG := NATIVE
-#
-#      3: Use C preprocessor macro implementations of the trigd functions
-#         (this method is typically 20% faster but may lead to rounding
-#         errors near the poles):
-#         WCSTRIG := MACRO
-#
-#   3) Variables for creating the shared (dynamic) library are currently
-#      only set by 'configure' if the GNU C compiler is used.  However,
-#      you can set these variables by hand, preferably in makedefs.in.
-#
-#      Shared libraries require position-independent code (PIC) which imposes
-#      a performance overhead.  Consequently the static libraries are
-#      compiled separately without this option.
-#
-#      The shared library will be installed with version number, e.g. as
-#      libwcs.so.4.17 or libwcs.4.17.dylib with or without the symlink
-#      required to make it visible to the linker (controlled by the SHRLN
-#      variable).  On Macs it is deliberately not created because its very
-#      existence precludes static linking with the cctools linker.  You can
-#      still link dynamically by using -lwcs.4.17.
-#
-#   4) PGPLOT is Tim Pearson's Fortran graphics library with separate C
-#      interface available from astro.caltech.edu.  It is only required by
-#      one utility, wcsgrid, and the test programs that plot test grids
-#      (tprj2, tcel1, tcel2, tspc, ttab2, ttab3, twcsmix, and tpih2).  You can
-#      skip these by setting PGPLOTLIB to blank.
-#
-#      It is difficult for configure to deduce what auxiliary graphics
-#      libraries may be needed for PGPLOT since it depends on which of many
-#      possible graphics drivers were selected when PGPLOT was installed.
-#      Therefore it is quite likely that you will need to add additional
-#      libraries to PGPLOTLIB.
-#
-#   5) CFITSIO is Bill Pence's FITS I/O library written in C with Fortran
-#      wrappers, available from http://heasarc.gsfc.nasa.gov/fitsio.
-#
-#      CFITSIO is required by three utilities, HPXcvt, wcsgrid, and wcsware,
-#      and also by the test programs twcstab and twcshdr.  wcsware and the
-#      test programs use fits_read_wcstab() which is implemented by
-#      getwcstab.c.  However, this implementation is included in CFITSIO post
-#      3.004beta, so getwcstab.c is required here only for older releases
-#      (controlled by variable GETWCSTAB).  getwcstab.o itself is not inserted
-#      into the WCSLIB object library.
-#
-#      If available, CFITSIO is also optionally used for test programs
-#      tfitshdr, tbth1, tpih1 and tpih2 by setting preprocessor macro
-#      -DDO_CFITSIO.
-#
-# Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
-# http://www.atnf.csiro.au/people/Mark.Calabretta
-# $Id: makedefs.in,v 4.17.1.1 2013/01/29 05:32:33 cal103 Exp $
-#-----------------------------------------------------------------------------
-# Version.
-  LIBVER    := @LIBVER@
-  WCSLIBPKG := wcslib- at PACKAGE_VERSION@
-
-# System architecture.
-  ARCH     := @ARCH@
-
-# Flex and options.
-  FLEX     := @FLEX@
-  FLFLAGS  :=
-
-# C preprocessor and options.
-  CPP      := @CPP@
-  CPPFLAGS := @DEFS@
-  WCSTRIG  := WRAPPER
-
-# C compiler and options.
-  CC       := @CC@
-  CFLAGS   := @CFLAGS@
-
-# Fortran compiler and options.
-  FC       := @F77@
-  FFLAGS   := @FFLAGS@
-
-# Static object library.
-  WCSLIB   := libwcs-$(LIBVER).a
-  RANLIB   := @RANLIB@
-
-# Shared (dynamic) library (see note 3 above).
-  SHRLIB   := @SHRLIB@
-  SONAME   := @SONAME@
-  SHRFLAGS := @SHRFLAGS@
-  SHRLD    := @SHRLD@
-  SHRLN    := @SHRLN@
-
-# What subdirectories to build.
-  SUBDIRS  := @SUBDIRS@
-  TSTDIRS  := @TSTDIRS@
-
-# Top of the 'make install' hierarchy: pgsbox -> Fortran -> C.
-  INSTDIR  := @INSTDIR@
-
-# Installation utilities and locations.
-  LN_S     := @LN_S@
-  INSTALL  := @INSTALL@
-
-  # Needed for the definitions provided by autoconf.
-  prefix          := @prefix@
-  exec_prefix     := @exec_prefix@
-  datarootdir     := @datarootdir@
-  PACKAGE_TARNAME := @PACKAGE_TARNAME@
-  docdir          := @docdir@
-
-  LIBDIR   := $(DESTDIR)@libdir@
-  BINDIR   := $(DESTDIR)@bindir@
-  INCDIR   := $(DESTDIR)@includedir@/wcslib-$(LIBVER)
-  INCLINK  := $(DESTDIR)@includedir@/wcslib
-  DOCDIR   := $(DESTDIR)@docdir@
-  DOCLINK  := $(dir $(DESTDIR)@docdir@)wcslib
-  HTMLDIR  := $(DESTDIR)@htmldir@
-  PDFDIR   := $(DESTDIR)@pdfdir@
-  MANDIR   := $(DESTDIR)@mandir@
-
-# For putting timestamps in the build log.
-  TIMER    := date +"%a %Y/%m/%d %X %z, executing on $$HOST"
-
-
-# The remaining options are for building utilities and test programs.
-# -------------------------------------------------------------------
-# Linker options (use CC for linking).
-  LD       = $(CC)
-  LDFLAGS := @LDFLAGS@
-
-# PGPLOT (see note 4 above).
-  PGPLOTINC := @PGPLOTINC@
-  PGPLOTLIB := @PGPLOTLIB@
-
-# CFITSIO (see note 5 above).
-  CFITSIOINC := @CFITSIOINC@
-  CFITSIOLIB := @CFITSIOLIB@
-  GETWCSTAB  := @GETWCSTAB@
-
-# Libraries required by the above Fortran compiler.
-  FLIBS := @FLIBS@
-
-# Libraries required by WCSLIB itself.
-  LIBS := @LIBS@
-
-
-#-----------------------------------------------------------------------------
-# You shouldn't need to change anything below here.
-#-----------------------------------------------------------------------------
-
-SHELL := /bin/sh
-VPATH := ..
-
-# Common targets.
-.PHONY : all build printenv show
-
-all : show build
-
-# Print the environment as seen by makefile rules.
-printenv :
-	-@ printenv | sort
-
-# Print variable definitions.
-show :: wcsconfig.h
-	-@ echo ''
-	-@ uname -a
-	-@ echo ''
-	-@ $(MAKE) --version | head -1
-	-@ echo '  MAKEFLAGS   := $(MAKEFLAGS)'
-	-@ echo ''
-	-@ echo 'For building and installing $(WCSLIBPKG)...'
-	-@ echo '  ARCH        := $(ARCH)'
-	-@ echo '  FLEX        := $(FLEX)'
-	-@ echo '  FLFLAGS     := $(FLFLAGS)'
-	-@ echo '  CPP         := $(CPP)'
-	-@ echo '  CPPFLAGS    := $(CPPFLAGS)'
-	-@ echo '  WCSTRIG     := $(WCSTRIG)'
-	-@ echo '  CC          := $(CC)'
-	-@ echo '  CFLAGS      := $(CFLAGS)'
-	-@ echo '  FC          := $(FC)'
-	-@ echo '  FFLAGS      := $(FFLAGS)'
-	-@ echo '  WCSLIB      := $(WCSLIB)'
-	-@ echo '  RANLIB      := $(RANLIB)'
-	-@ echo '  SHRLIB      := $(SHRLIB)'
-	-@ echo '  SONAME      := $(SONAME)'
-	-@ echo '  SHRFLAGS    := $(SHRFLAGS)'
-	-@ echo '  SHRLD       := $(SHRLD)'
-	-@ echo '  SHRLN       := $(SHRLN)'
-	-@ echo '  LN_S        := $(LN_S)'
-	-@ echo '  INSTALL     := $(INSTALL)'
-	-@ echo '  LIBDIR      := $(LIBDIR)'
-	-@ echo '  BINDIR      := $(BINDIR)'
-	-@ echo '  INCDIR      := $(INCDIR)'
-	-@ echo '  INCLINK     := $(INCLINK)'
-	-@ echo '  DOCDIR      := $(DOCDIR)'
-	-@ echo '  DOCLINK     := $(DOCLINK)'
-	-@ echo '  HTMLDIR     := $(HTMLDIR)'
-	-@ echo '  PDFDIR      := $(PDFDIR)'
-	-@ echo '  MANDIR      := $(MANDIR)'
-	-@ echo '  TIMER       := $(TIMER)'
-	-@ echo ''
-	-@ echo 'Important wcsconfig.h defines...'
-	-@ echo "  `grep HAVE_SINCOS $<`"
-	-@ echo "  `grep WCSLIB_INT64 $<`"
-	-@ echo ''
-	-@ echo 'To build utilities and test programs...'
-	-@ echo '  LD          := $(LD)'
-	-@ echo '  LDFLAGS     := $(LDFLAGS)'
-	-@ echo '  PGPLOTINC   := $(PGPLOTINC)'
-	-@ echo '  PGPLOTLIB   := $(PGPLOTLIB)'
-	-@ echo '  CFITSIOINC  := $(CFITSIOINC)'
-	-@ echo '  CFITSIOLIB  := $(CFITSIOLIB)'
-	-@ echo '  GETWCSTAB   := $(GETWCSTAB)'
-	-@ echo '  FLIBS       := $(FLIBS)'
-	-@ echo '  LIBS        := $(LIBS)'
-	-@ echo ''
-
-# Code development overrides, for use in the code subdirectories.
--include ../flavours
diff --git a/utils/wcsconfig.h.in b/utils/wcsconfig.h.in
deleted file mode 100644
index edacd1f..0000000
--- a/utils/wcsconfig.h.in
+++ /dev/null
@@ -1,18 +0,0 @@
-/*============================================================================
-*
-* wcsconfig.h is generated from wcsconfig.h.in by 'configure'.  It contains
-* C preprocessor macro definitions for compiling WCSLIB 4.17
-*
-* Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
-* http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcsconfig.h.in,v 4.17.1.1 2013/01/29 05:32:33 cal103 Exp $
-*===========================================================================*/
-
-/* WCSLIB library version number. */
-#undef WCSLIB_VERSION
-
-/* Define to 1 if sincos() is available. */
-#undef HAVE_SINCOS
-
-/* 64-bit integer data type. */
-#undef WCSLIB_INT64
diff --git a/utils/wcsconfig_utils.h.in b/utils/wcsconfig_utils.h.in
deleted file mode 100644
index a026712..0000000
--- a/utils/wcsconfig_utils.h.in
+++ /dev/null
@@ -1,35 +0,0 @@
-/*============================================================================
-*
-* wcsconfig_utils.h is generated from wcsconfig_utils.h.in by 'configure'.
-* It contains C preprocessor macro definitions for compiling the WCSLIB 4.17
-* utilities.
-*
-* Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
-* http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcsconfig_utils.h.in,v 4.17.1.1 2013/01/29 05:32:33 cal103 Exp $
-*===========================================================================*/
-
-#include <wcsconfig.h>
-
-/* Definitions for Large File Support (LFS), i.e. files larger than 2GiB, for
- * the fitshdr utility. */
-
-/* Define to 1 if fseeko() is available (for small or large files). */
-#undef HAVE_FSEEKO
-
-/* Define _LARGEFILE_SOURCE to get prototypes from stdio.h for the LFS
- * functions fseeko() and ftello() which use an off_t argument in place of a
- * long. */
-#undef _LARGEFILE_SOURCE
-
-/* There seems to be a bug in autoconf that causes _LARGEFILE_SOURCE not to be
- * set in Linux.  This dreadful kludge gets around it for now. */
-#if (defined HAVE_FSEEKO && !defined _LARGEFILE_SOURCE)
-#define _LARGEFILE_SOURCE
-#endif
-
-/* Number of bits in a file offset (off_t) on systems where it can be set. */
-#undef _FILE_OFFSET_BITS
-
-/* Define for large files needed on AIX-type systems. */
-#undef _LARGE_FILES
diff --git a/utils/wcsgrid.1 b/utils/wcsgrid.1
index 7c599b8..72bd90c 100644
--- a/utils/wcsgrid.1
+++ b/utils/wcsgrid.1
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.40.4.
-.TH WCSGRID "1" "December 2013" "wcsgrid 4.20" "User Commands"
+.TH WCSGRID "1" "March 2014" "wcsgrid 4.21" "User Commands"
 .SH NAME
 wcsgrid \- Extract WCS keywords for an image
 .SH SYNOPSIS
diff --git a/utils/wcsgrid.c b/utils/wcsgrid.c
index 2d41d3b..607f60e 100644
--- a/utils/wcsgrid.c
+++ b/utils/wcsgrid.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsgrid.c,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+  $Id: wcsgrid.c,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=============================================================================
 *
 * wcsgrid extracts the WCS keywords for an image from the specified FITS file
diff --git a/utils/wcsware.1 b/utils/wcsware.1
index 3c15d9c..11e4a12 100644
--- a/utils/wcsware.1
+++ b/utils/wcsware.1
@@ -1,5 +1,5 @@
 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.40.4.
-.TH WCSWARE "1" "December 2013" "wcsware 4.20" "User Commands"
+.TH WCSWARE "1" "March 2014" "wcsware 4.21" "User Commands"
 .SH NAME
 wcsware \- Extract WCS keywords for an image
 .SH SYNOPSIS
diff --git a/utils/wcsware.c b/utils/wcsware.c
index a40da54..32f10f1 100644
--- a/utils/wcsware.c
+++ b/utils/wcsware.c
@@ -1,7 +1,7 @@
 /*============================================================================
 
-  WCSLIB 4.20 - an implementation of the FITS WCS standard.
-  Copyright (C) 1995-2013, Mark Calabretta
+  WCSLIB 4.21 - an implementation of the FITS WCS standard.
+  Copyright (C) 1995-2014, Mark Calabretta
 
   This file is part of WCSLIB.
 
@@ -22,7 +22,7 @@
 
   Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
   http://www.atnf.csiro.au/people/Mark.Calabretta
-  $Id: wcsware.c,v 4.20 2013/12/18 05:42:51 mcalabre Exp $
+  $Id: wcsware.c,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *=============================================================================
 * wcsware extracts the WCS keywords for an image from the specified FITS file,
 * constructs wcsprm structs for each coordinate representation found and
diff --git a/wcsconfig.h.in b/wcsconfig.h.in
index 70e9382..ae50164 100644
--- a/wcsconfig.h.in
+++ b/wcsconfig.h.in
@@ -1,11 +1,11 @@
 /*============================================================================
 *
 * wcsconfig.h is generated from wcsconfig.h.in by 'configure'.  It contains
-* C preprocessor macro definitions for compiling WCSLIB 4.20
+* C preprocessor macro definitions for compiling WCSLIB 4.21
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcsconfig.h.in,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: wcsconfig.h.in,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *===========================================================================*/
 
 /* WCSLIB library version number. */
diff --git a/wcsconfig_f77.h.in b/wcsconfig_f77.h.in
index a642680..b7137d6 100644
--- a/wcsconfig_f77.h.in
+++ b/wcsconfig_f77.h.in
@@ -1,12 +1,12 @@
 /*============================================================================
 *
 * wcsconfig_f77.h is generated from wcsconfig_f77.h.in by 'configure'.  It
-* contains C preprocessor definitions for building the WCSLIB 4.20 Fortran
+* contains C preprocessor definitions for building the WCSLIB 4.21 Fortran
 * wrappers.
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcsconfig_f77.h.in,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: wcsconfig_f77.h.in,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *===========================================================================*/
 
 /* Integer array type large enough to hold an address.  Set here to int[2] for
diff --git a/wcsconfig_tests.h.in b/wcsconfig_tests.h.in
index c61994e..d4ed9cb 100644
--- a/wcsconfig_tests.h.in
+++ b/wcsconfig_tests.h.in
@@ -1,12 +1,12 @@
 /*============================================================================
 *
 * wcsconfig_test.h is generated from wcsconfig_test.h.in by 'configure'.  It
-* contains C preprocessor definitions for compiling the WCSLIB 4.20 test/demo
+* contains C preprocessor definitions for compiling the WCSLIB 4.21 test/demo
 * programs.
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcsconfig_tests.h.in,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: wcsconfig_tests.h.in,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *===========================================================================*/
 
 #include <wcsconfig.h>
diff --git a/wcsconfig_utils.h.in b/wcsconfig_utils.h.in
index 0ba5fab..c4ef62f 100644
--- a/wcsconfig_utils.h.in
+++ b/wcsconfig_utils.h.in
@@ -1,12 +1,12 @@
 /*============================================================================
 *
 * wcsconfig_utils.h is generated from wcsconfig_utils.h.in by 'configure'.
-* It contains C preprocessor macro definitions for compiling the WCSLIB 4.20
+* It contains C preprocessor macro definitions for compiling the WCSLIB 4.21
 * utilities.
 *
 * Author: Mark Calabretta, Australia Telescope National Facility, CSIRO.
 * http://www.atnf.csiro.au/people/Mark.Calabretta
-* $Id: wcsconfig_utils.h.in,v 4.20 2013/12/18 05:42:50 mcalabre Exp $
+* $Id: wcsconfig_utils.h.in,v 4.21 2014/03/24 05:12:29 mcalabre Exp $
 *===========================================================================*/
 
 #include <wcsconfig.h>
diff --git a/wcslib.pdf b/wcslib.pdf
index 15a1e80..1bdbf2d 100644
Binary files a/wcslib.pdf and b/wcslib.pdf differ

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/wcslib.git



More information about the debian-science-commits mailing list