592 #define TABLEN (sizeof(struct tabprm)/sizeof(int))
602 const struct tabprm *tab2,
int *equal);
612 int tabx2s(
struct tabprm *tab,
int ncoord,
int nelem,
const double x[],
613 double world[],
int stat[]);
615 int tabs2x(
struct tabprm *tab,
int ncoord,
int nelem,
const double world[],
616 double x[],
int stat[]);
620 #define tabini_errmsg tab_errmsg
621 #define tabcpy_errmsg tab_errmsg
622 #define tabfree_errmsg tab_errmsg
623 #define tabprt_errmsg tab_errmsg
624 #define tabset_errmsg tab_errmsg
625 #define tabx2s_errmsg tab_errmsg
626 #define tabs2x_errmsg tab_errmsg
Tabular transformation parameters.
Definition: tab.h:543
int padding
Definition: tab.h:570
double ** m_index
Definition: tab.h:588
double * crval
Definition: tab.h:558
int flag
Definition: tab.h:546
int * map
Definition: tab.h:555
int m_N
Definition: tab.h:585
struct wcserr * err
Definition: tab.h:581
int nc
Definition: tab.h:568
double ** m_indxs
Definition: tab.h:588
int * p0
Definition: tab.h:574
int * m_K
Definition: tab.h:587
int M
Definition: tab.h:550
int set_M
Definition: tab.h:586
double * delta
Definition: tab.h:575
int m_flag
Definition: tab.h:585
int * m_map
Definition: tab.h:587
double * extrema
Definition: tab.h:576
double * m_crval
Definition: tab.h:588
double * m_coord
Definition: tab.h:588
double * coord
Definition: tab.h:563
int * sense
Definition: tab.h:571
int m_M
Definition: tab.h:585
int * K
Definition: tab.h:551
double ** index
Definition: tab.h:561
Error message handling.
Definition: wcserr.h:220
int tabx2s(struct tabprm *tab, int ncoord, int nelem, const double x[], double world[], int stat[])
Pixel-to-world transformation.
int tabfree(struct tabprm *tab)
Destructor for the tabprm struct.
int tabset(struct tabprm *tab)
Setup routine for the tabprm struct.
int tabcmp(int cmp, double tol, const struct tabprm *tab1, const struct tabprm *tab2, int *equal)
Compare two tabprm structs for equality.
int tabperr(const struct tabprm *tab, const char *prefix)
Print error messages from a tabprm struct.
int tabprt(const struct tabprm *tab)
Print routine for the tabprm struct.
const char * tab_errmsg[]
Status return messages.
int tabcpy(int alloc, const struct tabprm *tabsrc, struct tabprm *tabdst)
Copy routine for the tabprm struct.
int tabs2x(struct tabprm *tab, int ncoord, int nelem, const double world[], double x[], int stat[])
World-to-pixel transformation.
int tabini(int alloc, int M, const int K[], struct tabprm *tab)
Default constructor for the tabprm struct.
tab_errmsg_enum
Definition: tab.h:532
@ TABERR_BAD_PARAMS
Definition: tab.h:536
@ TABERR_MEMORY
Definition: tab.h:535
@ TABERR_SUCCESS
Definition: tab.h:533
@ TABERR_BAD_WORLD
Definition: tab.h:539
@ TABERR_NULL_POINTER
Definition: tab.h:534
@ TABERR_BAD_X
Definition: tab.h:537
int tabmem(struct tabprm *tab)
Acquire tabular memory.