622#define TABLEN (sizeof(struct tabprm)/sizeof(int))
632 const struct tabprm *tab2,
int *equal);
645 double world[],
int stat[]);
647int tabs2x(
struct tabprm *tab,
int ncoord,
int nelem,
const double world[],
648 double x[],
int stat[]);
652#define tabini_errmsg tab_errmsg
653#define tabcpy_errmsg tab_errmsg
654#define tabfree_errmsg tab_errmsg
655#define tabprt_errmsg tab_errmsg
656#define tabset_errmsg tab_errmsg
657#define tabx2s_errmsg tab_errmsg
658#define tabs2x_errmsg tab_errmsg
Tabular transformation parameters.
Definition tab.h:573
int padding
Definition tab.h:600
double ** m_index
Definition tab.h:618
double * crval
Definition tab.h:588
int flag
Definition tab.h:576
int * map
Definition tab.h:585
int m_N
Definition tab.h:615
struct wcserr * err
Definition tab.h:611
int nc
Definition tab.h:598
double ** m_indxs
Definition tab.h:618
int * p0
Definition tab.h:604
int * m_K
Definition tab.h:617
int M
Definition tab.h:580
int set_M
Definition tab.h:616
double * delta
Definition tab.h:605
int m_flag
Definition tab.h:615
int * m_map
Definition tab.h:617
double * extrema
Definition tab.h:606
double * m_crval
Definition tab.h:618
double * m_coord
Definition tab.h:618
double * coord
Definition tab.h:593
int * sense
Definition tab.h:601
int m_M
Definition tab.h:615
int * K
Definition tab.h:581
double ** index
Definition tab.h:591
Error message handling.
Definition wcserr.h:243
int tabx2s(struct tabprm *tab, int ncoord, int nelem, const double x[], double world[], int stat[])
Pixel-to-world transformation.
int tabsize(const struct tabprm *tab, int size[2])
Compute the size of a tabprm struct.
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:562
@ TABERR_BAD_PARAMS
Definition tab.h:566
@ TABERR_MEMORY
Definition tab.h:565
@ TABERR_SUCCESS
Definition tab.h:563
@ TABERR_BAD_WORLD
Definition tab.h:569
@ TABERR_NULL_POINTER
Definition tab.h:564
@ TABERR_BAD_X
Definition tab.h:567
int tabmem(struct tabprm *tab)
Acquire tabular memory.