662#define TABLEN (sizeof(struct tabprm)/sizeof(int))
672 const struct tabprm *tab2,
int *equal);
687 double world[],
int stat[]);
689int tabs2x(
struct tabprm *tab,
int ncoord,
int nelem,
const double world[],
690 double x[],
int stat[]);
694#define tabini_errmsg tab_errmsg
695#define tabcpy_errmsg tab_errmsg
696#define tabfree_errmsg tab_errmsg
697#define tabprt_errmsg tab_errmsg
698#define tabset_errmsg tab_errmsg
699#define tabx2s_errmsg tab_errmsg
700#define tabs2x_errmsg tab_errmsg
Tabular transformation parameters.
Definition tab.h:611
double * m_coord
Definition tab.h:658
int padding
Definition tab.h:638
int * sense
Definition tab.h:639
int flag
Definition tab.h:614
int m_N
Definition tab.h:655
double * m_crval
Definition tab.h:658
int nc
Definition tab.h:636
double ** index
Definition tab.h:629
int * p0
Definition tab.h:642
double * crval
Definition tab.h:626
int M
Definition tab.h:618
double * coord
Definition tab.h:631
int * m_K
Definition tab.h:657
int set_M
Definition tab.h:656
int * m_map
Definition tab.h:657
int * map
Definition tab.h:623
int m_flag
Definition tab.h:655
double * extrema
Definition tab.h:644
double * delta
Definition tab.h:643
int * K
Definition tab.h:619
struct wcserr * err
Definition tab.h:649
double ** m_indxs
Definition tab.h:658
int m_M
Definition tab.h:655
double ** m_index
Definition tab.h:658
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.
tabenq_enum
Definition tab.h:592
@ TABENQ_MEM
Definition tab.h:593
@ TABENQ_SET
Definition tab.h:594
@ TABENQ_BYP
Definition tab.h:595
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.
int tabenq(const struct tabprm *tab, int enquiry)
enquire about the state of a tabprm struct.
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:600
@ TABERR_BAD_PARAMS
Definition tab.h:604
@ TABERR_MEMORY
Definition tab.h:603
@ TABERR_SUCCESS
Definition tab.h:601
@ TABERR_BAD_WORLD
Definition tab.h:607
@ TABERR_NULL_POINTER
Definition tab.h:602
@ TABERR_BAD_X
Definition tab.h:605
const char * tab_errmsg[]
Status return messages.
int tabmem(struct tabprm *tab)
Acquire tabular memory.