[fitswcs] WCSLIB question
Mark Calabretta
mcalabre at atnf.CSIRO.AU
Tue Aug 7 03:18:32 EDT 2007
Does anyone who uses WCSLIB 3.x or 4.x use the backwards-compatibility
macros for the projection, linear transformation or spherical
transformation routines of WCSLIB 2.x?
The macros were defined circa 2003 to ease the transition between the
old scalar and the new vector APIs. For example, sinfwd() is defined
as a macro invokation of sins2x():
#define sinfwd(phi, theta, prj, x, y) \
sins2x(prj, 1, 1, 1, 1, &(phi), &(theta), x, y, &prj_stat)
I would like to get rid of these macros, specifically because the ones
for the projection functions are not thread-safe. Please contact me
privately if you still have an interest in them.
Mark Calabretta
ATNF
More information about the fitswcs
mailing list