594 #define TABLEN (sizeof(struct tabprm)/sizeof(int)) 603 int tabcmp(
int cmp,
double tol,
const struct tabprm *tab1,
604 const struct tabprm *tab2,
int *equal);
614 int tabx2s(
struct tabprm *tab,
int ncoord,
int nelem,
const double x[],
615 double world[],
int stat[]);
617 int tabs2x(
struct tabprm *tab,
int ncoord,
int nelem,
const double world[],
618 double x[],
int stat[]);
622 #define tabini_errmsg tab_errmsg 623 #define tabcpy_errmsg tab_errmsg 624 #define tabfree_errmsg tab_errmsg 625 #define tabprt_errmsg tab_errmsg 626 #define tabset_errmsg tab_errmsg 627 #define tabx2s_errmsg tab_errmsg 628 #define tabs2x_errmsg tab_errmsg int tabfree(struct tabprm *tab)
Destructor for the tabprm struct.
int set_M
Definition: tab.h:588
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:222
int m_flag
Definition: tab.h:587
double * m_crval
Definition: tab.h:590
int * map
Definition: tab.h:557
double * coord
Definition: tab.h:565
int tabcpy(int alloc, const struct tabprm *tabsrc, struct tabprm *tabdst)
Copy routine for the tabprm struct.
int * m_K
Definition: tab.h:589
int flag
Definition: tab.h:548
const char * tab_errmsg[]
Status return messages.
double * delta
Definition: tab.h:577
tab_errmsg_enum
Definition: tab.h:534
double ** m_index
Definition: tab.h:590
int tabprt(const struct tabprm *tab)
Print routine for the tabprm struct.
int m_N
Definition: tab.h:587
int * m_map
Definition: tab.h:589
double ** index
Definition: tab.h:563
int tabperr(const struct tabprm *tab, const char *prefix)
Print error messages from a tabprm struct.
double ** m_indxs
Definition: tab.h:590
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:573
int tabmem(struct tabprm *tab)
Acquire tabular memory.
Tabular transformation parameters.
Definition: tab.h:545
double * m_coord
Definition: tab.h:590
double * extrema
Definition: tab.h:578
int * K
Definition: tab.h:553
int padding
Definition: tab.h:572
struct wcserr * err
Definition: tab.h:583
int M
Definition: tab.h:552
double * crval
Definition: tab.h:560
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:576
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:587
int nc
Definition: tab.h:570