OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
proj_define.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GEO   0
 
#define UTM   1
 
#define SPCS   2
 
#define ALBERS   3
 
#define LAMCC   4
 
#define MERCAT   5
 
#define PS   6
 
#define POLYC   7
 
#define EQUIDC   8
 
#define TM   9
 
#define STEREO   10
 
#define LAMAZ   11
 
#define AZMEQD   12
 
#define GNOMON   13
 
#define ORTHO   14
 
#define GVNSP   15
 
#define SNSOID   16
 
#define EQRECT   17
 
#define MILLER   18
 
#define VGRINT   19
 
#define HOM   20
 
#define ROBIN   21
 
#define SOM   22
 
#define ALASKA   23
 
#define GOOD   24
 
#define MOLL   25
 
#define IMOLL   26
 
#define HAMMER   27
 
#define WAGIV   28
 
#define WAGVII   29
 
#define OBEQA   30
 
#define USDEF   99
 
#define IN_BREAK   -2
 
#define COEFCT   15 /* projection coefficient count */
 
#define PROJCT   31 /* projection count */
 
#define DATMCT   20 /* datum count */
 
#define MAXPROJ   30 /* Maximum projection number */
 
#define MAXUNIT   5 /* Maximum unit code number */
 
#define GEO_TERM   0 /* Array index for print-to-term flag */
 
#define GEO_FILE   1 /* Array index for print-to-file flag */
 
#define GEO_TRUE   1 /* True value for geometric true/false flags */
 
#define GEO_FALSE   -1 /* False val for geometric true/false flags */
 
#define PI   3.14159265358979323846
 
#define HALF_PI   1.57079632679489661923
 
#define TWO_PI   6.28318530717958647692
 
#define EPSLN   1.0e-10
 
#define R2D   57.2957795131
 
#define D2R   1.745329251994328e-2
 
#define S2R   4.848136811095359e-6
 
#define OK   0
 
#define ERROR   -1
 
#define SQUARE(x)   x * x /* x**2 */
 
#define CUBE(x)   x * x * x /* x**3 */
 
#define QUAD(x)   x * x * x * x /* x**4 */
 
#define GMAX(A, B)   ((A) > (B) ? (A) : (B)) /* assign maximum of a and b */
 
#define GMIN(A, B)   ((A) < (B) ? (A) : (B)) /* assign minimum of a and b */
 
#define IMOD(A, B)   (A) - (((A) / (B)) * (B)) /* Integer mod function */
 
#define sincos   SinCos
 

Macro Definition Documentation

◆ ALASKA

#define ALASKA   23

Definition at line 59 of file proj_define.h.

◆ ALBERS

#define ALBERS   3

Definition at line 39 of file proj_define.h.

◆ AZMEQD

#define AZMEQD   12

Definition at line 48 of file proj_define.h.

◆ COEFCT

#define COEFCT   15 /* projection coefficient count */

Definition at line 70 of file proj_define.h.

◆ CUBE

#define CUBE (   x)    x * x * x /* x**3 */

Definition at line 100 of file proj_define.h.

◆ D2R

#define D2R   1.745329251994328e-2

Definition at line 91 of file proj_define.h.

◆ DATMCT

#define DATMCT   20 /* datum count */

Definition at line 72 of file proj_define.h.

◆ EPSLN

#define EPSLN   1.0e-10

Definition at line 86 of file proj_define.h.

◆ EQRECT

#define EQRECT   17

Definition at line 53 of file proj_define.h.

◆ EQUIDC

#define EQUIDC   8

Definition at line 44 of file proj_define.h.

◆ ERROR

#define ERROR   -1

Definition at line 95 of file proj_define.h.

◆ GEO

#define GEO   0

Definition at line 36 of file proj_define.h.

◆ GEO_FALSE

#define GEO_FALSE   -1 /* False val for geometric true/false flags */

Definition at line 79 of file proj_define.h.

◆ GEO_FILE

#define GEO_FILE   1 /* Array index for print-to-file flag */

Definition at line 77 of file proj_define.h.

◆ GEO_TERM

#define GEO_TERM   0 /* Array index for print-to-term flag */

Definition at line 76 of file proj_define.h.

◆ GEO_TRUE

#define GEO_TRUE   1 /* True value for geometric true/false flags */

Definition at line 78 of file proj_define.h.

◆ GMAX

#define GMAX (   A,
 
)    ((A) > (B) ? (A) : (B)) /* assign maximum of a and b */

Definition at line 103 of file proj_define.h.

◆ GMIN

#define GMIN (   A,
 
)    ((A) < (B) ? (A) : (B)) /* assign minimum of a and b */

Definition at line 104 of file proj_define.h.

◆ GNOMON

#define GNOMON   13

Definition at line 49 of file proj_define.h.

◆ GOOD

#define GOOD   24

Definition at line 60 of file proj_define.h.

◆ GVNSP

#define GVNSP   15

Definition at line 51 of file proj_define.h.

◆ HALF_PI

#define HALF_PI   1.57079632679489661923

Definition at line 84 of file proj_define.h.

◆ HAMMER

#define HAMMER   27

Definition at line 63 of file proj_define.h.

◆ HOM

#define HOM   20

Definition at line 56 of file proj_define.h.

◆ IMOD

#define IMOD (   A,
 
)    (A) - (((A) / (B)) * (B)) /* Integer mod function */

Definition at line 106 of file proj_define.h.

◆ IMOLL

#define IMOLL   26

Definition at line 62 of file proj_define.h.

◆ IN_BREAK

#define IN_BREAK   -2

Definition at line 69 of file proj_define.h.

◆ LAMAZ

#define LAMAZ   11

Definition at line 47 of file proj_define.h.

◆ LAMCC

#define LAMCC   4

Definition at line 40 of file proj_define.h.

◆ MAXPROJ

#define MAXPROJ   30 /* Maximum projection number */

Definition at line 74 of file proj_define.h.

◆ MAXUNIT

#define MAXUNIT   5 /* Maximum unit code number */

Definition at line 75 of file proj_define.h.

◆ MERCAT

#define MERCAT   5

Definition at line 41 of file proj_define.h.

◆ MILLER

#define MILLER   18

Definition at line 54 of file proj_define.h.

◆ MOLL

#define MOLL   25

Definition at line 61 of file proj_define.h.

◆ OBEQA

#define OBEQA   30

Definition at line 66 of file proj_define.h.

◆ OK

#define OK   0

Definition at line 94 of file proj_define.h.

◆ ORTHO

#define ORTHO   14

Definition at line 50 of file proj_define.h.

◆ PI

#define PI   3.14159265358979323846

Definition at line 82 of file proj_define.h.

◆ POLYC

#define POLYC   7

Definition at line 43 of file proj_define.h.

◆ PROJCT

#define PROJCT   31 /* projection count */

Definition at line 71 of file proj_define.h.

◆ PS

#define PS   6

Definition at line 42 of file proj_define.h.

◆ QUAD

#define QUAD (   x)    x * x * x * x /* x**4 */

Definition at line 101 of file proj_define.h.

◆ R2D

#define R2D   57.2957795131

Definition at line 87 of file proj_define.h.

◆ ROBIN

#define ROBIN   21

Definition at line 57 of file proj_define.h.

◆ S2R

#define S2R   4.848136811095359e-6

Definition at line 92 of file proj_define.h.

◆ sincos

#define sincos   SinCos

Definition at line 108 of file proj_define.h.

◆ SNSOID

#define SNSOID   16

Definition at line 52 of file proj_define.h.

◆ SOM

#define SOM   22

Definition at line 58 of file proj_define.h.

◆ SPCS

#define SPCS   2

Definition at line 38 of file proj_define.h.

◆ SQUARE

#define SQUARE (   x)    x * x /* x**2 */

Definition at line 99 of file proj_define.h.

◆ STEREO

#define STEREO   10

Definition at line 46 of file proj_define.h.

◆ TM

#define TM   9

Definition at line 45 of file proj_define.h.

◆ TWO_PI

#define TWO_PI   6.28318530717958647692

Definition at line 85 of file proj_define.h.

◆ USDEF

#define USDEF   99

Definition at line 67 of file proj_define.h.

◆ UTM

#define UTM   1

Definition at line 37 of file proj_define.h.

◆ VGRINT

#define VGRINT   19

Definition at line 55 of file proj_define.h.

◆ WAGIV

#define WAGIV   28

Definition at line 64 of file proj_define.h.

◆ WAGVII

#define WAGVII   29

Definition at line 65 of file proj_define.h.