[fitsbits] WCSLIB 3.2
Mark Calabretta
Mark.Calabretta at atnf.CSIRO.AU
Tue Sep 9 22:32:28 EDT 2003
Greetings,
WCSLIB 3.2 is now available from
----------
http://www.atnf.csiro.au/~mcalabre/WCS
The main feature of this release is an explicit option to initialize
memory management in wcsini() and linini(). The need for this arose
in conjunction with using WCSLIB in C++, specifically in the way that
the g++ compiler reuses memory. Other changes are appended below.
PGSBOX 3.2 (included in WCSLIB 3.2) now has an ENTRY point, PGLBOX,
that provides a simplified interface to PGSBOX for simple linear axes.
This is useful if you want to use the formatting control for labelling
world coordinate axes (such as calendar dates) without having to
specify all the machinery for dealing with curvilinear coordinates
(NLFUNC and its associated parameters).
Mark Calabretta
ATNF
>>>
WCSLIB version 3.2 (2003/09/09)
-------------------------------
* Added the facility of setting the flag member of a wcsprm struct to -1
before calling wcsini() for the first time in order to initialize memory
management. Likewise for linprm and linini().
* Renamed wcscpy() to wcscopy() to avoid a conflict with the Posix "wide
character string" function of the same name (wchar.h). In particular, this
is used by the GNU C++ string class.
* The higher level functions (wcs, cel, spc) no longer return prematurely if
some of the input coordinate values are invalid.
* All functions now test whether a null pointer for the particular struct
(wcsprm, celprm, etc.) has been passed to them.
* Function return codes have been rationalized into a consistent set within
each of the wcs, cel, lin, prj, spc, and spx suites of functions. Error
messages to match these error codes are now encoded in a single character
array, e.g. wcs_errmsg and prj_errmsg, instead of a separate array for each
function. Macro definitions for the older character arrays (e.g.
wcsini_errmsg) have been provided for backward compatibility.
* Declared prj_stat as extern in prj.h.
>>>
PGSBOX version 3.2 (2003/09/09)
-------------------------------
* Added an ENTRY point, PGLBOX, that provides a simplified interface to PGSBOX
for linear axes without having to specify an NLFUNC or the associated
parameters.
More information about the fitsbits
mailing list