661#define TABLEN (sizeof(struct tabprm)/sizeof(int))
671 const struct tabprm *tab2,
int *equal);
686 double world[],
int stat[]);
688int tabs2x(
struct tabprm *tab,
int ncoord,
int nelem,
const double world[],
689 double x[],
int stat[]);
693#define tabini_errmsg tab_errmsg
694#define tabcpy_errmsg tab_errmsg
695#define tabfree_errmsg tab_errmsg
696#define tabprt_errmsg tab_errmsg
697#define tabset_errmsg tab_errmsg
698#define tabx2s_errmsg tab_errmsg
699#define tabs2x_errmsg tab_errmsg
Tabular transformation parameters.
Definition tab.h:612
int padding
Definition tab.h:639
double ** m_index
Definition tab.h:657
double * crval
Definition tab.h:627
int flag
Definition tab.h:615
int * map
Definition tab.h:624
int m_N
Definition tab.h:654
struct wcserr * err
Definition tab.h:650
int nc
Definition tab.h:637
double ** m_indxs
Definition tab.h:657
int * p0
Definition tab.h:643
int * m_K
Definition tab.h:656
int M
Definition tab.h:619
int set_M
Definition tab.h:655
double * delta
Definition tab.h:644
int m_flag
Definition tab.h:654
int * m_map
Definition tab.h:656
double * extrema
Definition tab.h:645
double * m_crval
Definition tab.h:657
double * m_coord
Definition tab.h:657
double * coord
Definition tab.h:632
int * sense
Definition tab.h:640
int m_M
Definition tab.h:654
int * K
Definition tab.h:620
double ** index
Definition tab.h:630
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:593
@ TABENQ_MEM
Definition tab.h:594
@ TABENQ_SET
Definition tab.h:595
@ TABENQ_BYP
Definition tab.h:596
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.
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:601
@ TABERR_BAD_PARAMS
Definition tab.h:605
@ TABERR_MEMORY
Definition tab.h:604
@ TABERR_SUCCESS
Definition tab.h:602
@ TABERR_BAD_WORLD
Definition tab.h:608
@ TABERR_NULL_POINTER
Definition tab.h:603
@ TABERR_BAD_X
Definition tab.h:606
int tabmem(struct tabprm *tab)
Acquire tabular memory.