Go to the documentation of this file.
594 #define TABLEN (sizeof(struct tabprm)/sizeof(int))
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 m_N
Definition: tab.h:587
double ** m_index
Definition: tab.h:590
int flag
Definition: tab.h:548
double * extrema
Definition: tab.h:578
double * crval
Definition: tab.h:560
double ** m_indxs
Definition: tab.h:590
int tabcmp(int cmp, double tol, const struct tabprm *tab1, const struct tabprm *tab2, int *equal)
Compare two tabprm structs for equality.
int nc
Definition: tab.h:570
int tabmem(struct tabprm *tab)
Acquire tabular memory.
double * m_coord
Definition: tab.h:590
double ** index
Definition: tab.h:563
@ TABERR_BAD_PARAMS
Definition: tab.h:538
struct wcserr * err
Definition: tab.h:583
int m_M
Definition: tab.h:587
int set_M
Definition: tab.h:588
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
@ TABERR_MEMORY
Definition: tab.h:537
int M
Definition: tab.h:552
int tabs2x(struct tabprm *tab, int ncoord, int nelem, const double world[], double x[], int stat[])
World-to-pixel transformation.
int * m_K
Definition: tab.h:589
int m_flag
Definition: tab.h:587
int tabfree(struct tabprm *tab)
Destructor for the tabprm struct.
int padding
Definition: tab.h:572
int tabprt(const struct tabprm *tab)
Print routine for the tabprm struct.
Tabular transformation parameters.
Definition: tab.h:545
tab_errmsg_enum
Definition: tab.h:534
@ TABERR_BAD_WORLD
Definition: tab.h:541
@ TABERR_BAD_X
Definition: tab.h:539
int * K
Definition: tab.h:553
const char * tab_errmsg[]
Status return messages.
@ TABERR_NULL_POINTER
Definition: tab.h:536
Error message handling.
Definition: wcserr.h:222
int tabini(int alloc, int M, const int K[], struct tabprm *tab)
Default constructor for the tabprm struct.
double * m_crval
Definition: tab.h:590
int tabperr(const struct tabprm *tab, const char *prefix)
Print error messages from a tabprm struct.
int * map
Definition: tab.h:557
double * coord
Definition: tab.h:565
@ TABERR_SUCCESS
Definition: tab.h:535
int tabset(struct tabprm *tab)
Setup routine for the tabprm struct.
int tabcpy(int alloc, const struct tabprm *tabsrc, struct tabprm *tabdst)
Copy routine for the tabprm struct.
double * delta
Definition: tab.h:577
int * p0
Definition: tab.h:576
int * m_map
Definition: tab.h:589