OB.DAAC Logo
NASA Logo
Ocean Color Science Software

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

Go to the source code of this file.

Classes

struct  Isin_row_t
 
struct  Isin_t
 
struct  error_t
 

Macros

#define ISIN_SUCCESS   0 /* Successful return */
 
#define ISIN_ERROR   -1 /* Error return */
 
#define ISIN_ERANGE   -2 /* Input variable out of range */
 
#define TWOPI_INV   (1.0 / (2.0 * PI))
 
#define NROW_MAX   (360 * 3600) /* Maximum number of rows (zones) */
 
#define NZONE_MAX   (360 * 3600) /* Maximum number of longitudinal zones */
 
#define EPS_SPHERE   (1.0e-10) /* Minimum sphere radius */
 
#define EPS_CNVT
 
#define ISIN_KEY   212589603 /* Key to verify correct data structure */
 

Functions

long isinusforinit (double sphere, double lon_cen_mer, double false_east, double false_north, double dzone, double djustify)
 
Isin_tIsin_for_init (double sphere, double lon_cen_mer, double false_east, double false_north, long nrow, int ijustify)
 
long isinusinvinit (double sphere, double lon_cen_mer, double false_east, double false_north, double dzone, double djustify)
 
Isin_tIsin_inv_init (double sphere, double lon_cen_mer, double false_east, double false_north, long nrow, int ijustify)
 
long isinusfor (double lon, double lat, double *x, double *y)
 
int Isin_fwd (const Isin_t *this, double lon, double lat, double *x, double *y)
 
long isinusinv (double, double, double *, double *)
 
int Isin_inv (const Isin_t *, double, double, double *, double *)
 
int Isin_for_free (Isin_t *this)
 
int Isin_inv_free (Isin_t *this)
 

Macro Definition Documentation

◆ EPS_CNVT

#define EPS_CNVT
Value:
0.01 /* Doubles must be within this of an integer
to be valid */

Definition at line 23 of file isin.h.

◆ EPS_SPHERE

#define EPS_SPHERE   (1.0e-10) /* Minimum sphere radius */

Definition at line 22 of file isin.h.

◆ ISIN_ERANGE

#define ISIN_ERANGE   -2 /* Input variable out of range */

Definition at line 16 of file isin.h.

◆ ISIN_ERROR

#define ISIN_ERROR   -1 /* Error return */

Definition at line 15 of file isin.h.

◆ ISIN_KEY

#define ISIN_KEY   212589603 /* Key to verify correct data structure */

Definition at line 24 of file isin.h.

◆ ISIN_SUCCESS

#define ISIN_SUCCESS   0 /* Successful return */

Definition at line 14 of file isin.h.

◆ NROW_MAX

#define NROW_MAX   (360 * 3600) /* Maximum number of rows (zones) */

Definition at line 20 of file isin.h.

◆ NZONE_MAX

#define NZONE_MAX   (360 * 3600) /* Maximum number of longitudinal zones */

Definition at line 21 of file isin.h.

◆ TWOPI_INV

#define TWOPI_INV   (1.0 / (2.0 * PI))

Definition at line 19 of file isin.h.

Function Documentation

◆ Isin_for_free()

int Isin_for_free ( Isin_t this)

Definition at line 585 of file isinfor.c.

◆ Isin_for_init()

Isin_t* Isin_for_init ( double  sphere,
double  lon_cen_mer,
double  false_east,
double  false_north,
long  nrow,
int  ijustify 
)

Definition at line 242 of file isinfor.c.

◆ Isin_fwd()

int Isin_fwd ( const Isin_t this,
double  lon,
double  lat,
double *  x,
double *  y 
)

Definition at line 508 of file isinfor.c.

◆ Isin_inv()

int Isin_inv ( const Isin_t ,
double  ,
double  ,
double *  ,
double *   
)

Definition at line 521 of file isininv.c.

◆ Isin_inv_free()

int Isin_inv_free ( Isin_t this)

Definition at line 601 of file isininv.c.

◆ Isin_inv_init()

Isin_t* Isin_inv_init ( double  sphere,
double  lon_cen_mer,
double  false_east,
double  false_north,
long  nrow,
int  ijustify 
)

Definition at line 255 of file isininv.c.

◆ isinusfor()

long isinusfor ( double  lon,
double  lat,
double *  x,
double *  y 
)

Definition at line 460 of file isinfor.c.

◆ isinusforinit()

long isinusforinit ( double  sphere,
double  lon_cen_mer,
double  false_east,
double  false_north,
double  dzone,
double  djustify 
)

Definition at line 115 of file isinfor.c.

◆ isinusinv()

long isinusinv ( double  ,
double  ,
double *  ,
double *   
)

Definition at line 472 of file isininv.c.

◆ isinusinvinit()

long isinusinvinit ( double  sphere,
double  lon_cen_mer,
double  false_east,
double  false_north,
double  dzone,
double  djustify 
)

Definition at line 128 of file isininv.c.