Statistics
| Revision:

svn-gvsig-desktop / tags / v1_0_RELEASE / libraries / libjni-ecw / include / gdt_stat.h @ 40994

History | View | Annotate | Download (1.25 KB)

1
/*  gdt_stat.h
2
 *
3
 *  Constants which are referenced from gdt_pub.h and gdt_proj.h
4
 *
5
 */
6

    
7
/* --- Status values for transformation function, gdt_transform() --- 
8
 *     Some values are returned from the projection routines
9
 */
10

    
11
#ifndef   _GDT_STAT_H
12
#define   _GDT_STAT_H   1
13

    
14

    
15
#define   TRANS_OK                0
16
                                    /* Good value */
17

    
18
#define   TRANS_NOT_SET          -1
19
                                    /* No transformation set up */
20

    
21
#define   TRANS_COMP_ERROR       -2
22
                                    /* computational error 
23
                                     * (eg. bad convergence) 
24
                                     */
25

    
26
#define   TRANS_OUT_OF_BOUNDS     1
27
                                    /* Input out of bounds */
28

    
29
#define   TRANS_INFINITE          2
30
                                    /* Result too large to be represented */
31

    
32
#define   TRANS_MULTI             3
33
                                    /* Multiple answers (e.g. point maps onto a 
34
                                     * line
35
                                     */
36
#define   TRANS_CIRCLE            4
37
                                    /* Multiple on a circle of radius x or y
38
                                     */
39

    
40
#endif   /* end of ifndef    _GDT_STAT_H   */