OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Macros
ossimCassiniProjection.cpp File Reference
#include <math.h>
#include <ossim/projection/ossimCassiniProjection.h>
#include <ossim/base/ossimKeywordNames.h>

Go to the source code of this file.

Macros

#define CASS_NO_ERROR   0x0000
 
#define CASS_LAT_ERROR   0x0001
 
#define CASS_LON_ERROR   0x0002
 
#define CASS_EASTING_ERROR   0x0004
 
#define CASS_NORTHING_ERROR   0x0008
 
#define CASS_ORIGIN_LAT_ERROR   0x0010
 
#define CASS_CENT_MER_ERROR   0x0020
 
#define CASS_A_ERROR   0x0040
 
#define CASS_B_ERROR   0x0080
 
#define CASS_A_LESS_B_ERROR   0x0100
 
#define CASS_LON_WARNING   0x0200
 
#define PI_OVER_2   ( M_PI / 2.0)
 
#define CASS_M(c0lat, c1s2lat, c2s4lat, c3s6lat)   (Cass_a*(c0lat-c1s2lat+c2s4lat-c3s6lat))
 
#define CASS_RD(sinlat)   (sqrt(1.0 - es2 * (sinlat * sinlat)))
 
#define CASS_COEFF_TIMES_SIN(coeff, x, latit)   (coeff * (sin (x * latit)))
 
#define FLOAT_EQ(x, v, epsilon)   (((v - epsilon) < x) && (x < (v + epsilon)))
 
#define THIRTY_ONE   (31.0 * M_PI / 180.0) /* 31 degrees in radians */
 

Macro Definition Documentation

◆ CASS_A_ERROR

#define CASS_A_ERROR   0x0040

Definition at line 38 of file ossimCassiniProjection.cpp.

◆ CASS_A_LESS_B_ERROR

#define CASS_A_LESS_B_ERROR   0x0100

Definition at line 40 of file ossimCassiniProjection.cpp.

◆ CASS_B_ERROR

#define CASS_B_ERROR   0x0080

Definition at line 39 of file ossimCassiniProjection.cpp.

◆ CASS_CENT_MER_ERROR

#define CASS_CENT_MER_ERROR   0x0020

Definition at line 37 of file ossimCassiniProjection.cpp.

◆ CASS_COEFF_TIMES_SIN

#define CASS_COEFF_TIMES_SIN (   coeff,
  x,
  latit 
)    (coeff * (sin (x * latit)))

◆ CASS_EASTING_ERROR

#define CASS_EASTING_ERROR   0x0004

Definition at line 34 of file ossimCassiniProjection.cpp.

◆ CASS_LAT_ERROR

#define CASS_LAT_ERROR   0x0001

Definition at line 32 of file ossimCassiniProjection.cpp.

◆ CASS_LON_ERROR

#define CASS_LON_ERROR   0x0002

Definition at line 33 of file ossimCassiniProjection.cpp.

◆ CASS_LON_WARNING

#define CASS_LON_WARNING   0x0200

◆ CASS_M

#define CASS_M (   c0lat,
  c1s2lat,
  c2s4lat,
  c3s6lat 
)    (Cass_a*(c0lat-c1s2lat+c2s4lat-c3s6lat))

◆ CASS_NO_ERROR

#define CASS_NO_ERROR   0x0000

◆ CASS_NORTHING_ERROR

#define CASS_NORTHING_ERROR   0x0008

Definition at line 35 of file ossimCassiniProjection.cpp.

◆ CASS_ORIGIN_LAT_ERROR

#define CASS_ORIGIN_LAT_ERROR   0x0010

Definition at line 36 of file ossimCassiniProjection.cpp.

◆ CASS_RD

#define CASS_RD (   sinlat)    (sqrt(1.0 - es2 * (sinlat * sinlat)))

◆ FLOAT_EQ

#define FLOAT_EQ (   x,
  v,
  epsilon 
)    (((v - epsilon) < x) && (x < (v + epsilon)))

◆ PI_OVER_2

#define PI_OVER_2   ( M_PI / 2.0)

◆ THIRTY_ONE

#define THIRTY_ONE   (31.0 * M_PI / 180.0) /* 31 degrees in radians */