575 #define TABLEN (sizeof(struct tabprm)/sizeof(int))
578 int tabini(
int alloc,
int M,
const int K[],
struct tabprm *tab);
584 int tabcmp(
int cmp,
double tol,
const struct tabprm *tab1,
585 const struct tabprm *tab2,
int *equal);
593 int tabx2s(
struct tabprm *tab,
int ncoord,
int nelem,
const double x[],
594 double world[],
int stat[]);
596 int tabs2x(
struct tabprm *tab,
int ncoord,
int nelem,
const double world[],
597 double x[],
int stat[]);
601 #define tabini_errmsg tab_errmsg
602 #define tabcpy_errmsg tab_errmsg
603 #define tabfree_errmsg tab_errmsg
604 #define tabprt_errmsg tab_errmsg
605 #define tabset_errmsg tab_errmsg
606 #define tabx2s_errmsg tab_errmsg
607 #define tabs2x_errmsg tab_errmsg
int tabfree(struct tabprm *tab)
Destructor for the tabprm struct.
int set_M
Definition: tab.h:569
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:221
int m_flag
Definition: tab.h:568
double * m_crval
Definition: tab.h:571
int * map
Definition: tab.h:538
double * coord
Definition: tab.h:546
int tabcpy(int alloc, const struct tabprm *tabsrc, struct tabprm *tabdst)
Copy routine for the tabprm struct.
int * m_K
Definition: tab.h:570
int flag
Definition: tab.h:529
const char * tab_errmsg[]
Status return messages.
double * delta
Definition: tab.h:558
tab_errmsg_enum
Definition: tab.h:515
double ** m_index
Definition: tab.h:571
int tabprt(const struct tabprm *tab)
Print routine for the tabprm struct.
int m_N
Definition: tab.h:568
int * m_map
Definition: tab.h:570
double ** index
Definition: tab.h:544
double ** m_indxs
Definition: tab.h:571
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:554
int tabmem(struct tabprm *tab)
Acquire tabular memory.
Tabular transformation parameters.
Definition: tab.h:526
double * m_coord
Definition: tab.h:571
double * extrema
Definition: tab.h:559
int * K
Definition: tab.h:534
int padding
Definition: tab.h:553
struct wcserr * err
Definition: tab.h:564
int M
Definition: tab.h:533
double * crval
Definition: tab.h:541
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:557
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:568
int nc
Definition: tab.h:551