595 #define TABLEN (sizeof(struct tabprm)/sizeof(int))
598 int tabini(
int alloc,
int M,
const int K[],
struct tabprm *tab);
604 int tabcmp(
int cmp,
double tol,
const struct tabprm *tab1,
605 const struct tabprm *tab2,
int *equal);
615 int tabx2s(
struct tabprm *tab,
int ncoord,
int nelem,
const double x[],
616 double world[],
int stat[]);
618 int tabs2x(
struct tabprm *tab,
int ncoord,
int nelem,
const double world[],
619 double x[],
int stat[]);
623 #define tabini_errmsg tab_errmsg
624 #define tabcpy_errmsg tab_errmsg
625 #define tabfree_errmsg tab_errmsg
626 #define tabprt_errmsg tab_errmsg
627 #define tabset_errmsg tab_errmsg
628 #define tabx2s_errmsg tab_errmsg
629 #define tabs2x_errmsg tab_errmsg
int tabfree(struct tabprm *tab)
Destructor for the tabprm struct.
int set_M
Definition: tab.h:589
int tabini(int alloc, int M, const int K[], struct tabprm *tab)
Default constructor for the tabprm struct.
int tabset(struct tabprm *tab)
Setup routine for the tabprm struct.
Error message handling.
Definition: wcserr.h:225
int m_flag
Definition: tab.h:588
double * m_crval
Definition: tab.h:591
int * map
Definition: tab.h:558
double * coord
Definition: tab.h:566
int tabcpy(int alloc, const struct tabprm *tabsrc, struct tabprm *tabdst)
Copy routine for the tabprm struct.
int * m_K
Definition: tab.h:590
int flag
Definition: tab.h:549
const char * tab_errmsg[]
Status return messages.
double * delta
Definition: tab.h:578
tab_errmsg_enum
Definition: tab.h:535
double ** m_index
Definition: tab.h:591
int tabprt(const struct tabprm *tab)
Print routine for the tabprm struct.
int m_N
Definition: tab.h:588
int * m_map
Definition: tab.h:590
double ** index
Definition: tab.h:564
int tabperr(const struct tabprm *tab, const char *prefix)
Print error messages from a tabprm struct.
double ** m_indxs
Definition: tab.h:591
int tabx2s(struct tabprm *tab, int ncoord, int nelem, const double x[], double world[], int stat[])
Pixel-to-world transformation.
int * sense
Definition: tab.h:574
int tabmem(struct tabprm *tab)
Acquire tabular memory.
Tabular transformation parameters.
Definition: tab.h:546
double * m_coord
Definition: tab.h:591
double * extrema
Definition: tab.h:579
int * K
Definition: tab.h:554
int padding
Definition: tab.h:573
struct wcserr * err
Definition: tab.h:584
int M
Definition: tab.h:553
double * crval
Definition: tab.h:561
int tabs2x(struct tabprm *tab, int ncoord, int nelem, const double world[], double x[], int stat[])
World-to-pixel transformation.
int * p0
Definition: tab.h:577
int tabcmp(int cmp, double tol, const struct tabprm *tab1, const struct tabprm *tab2, int *equal)
Compare two tabprm structs for equality.
int m_M
Definition: tab.h:588
int nc
Definition: tab.h:571