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

Go to the source code of this file.

Macros

#define SINU_NO_ERROR   0x0000
 
#define SINU_LAT_ERROR   0x0001
 
#define SINU_LON_ERROR   0x0002
 
#define SINU_EASTING_ERROR   0x0004
 
#define SINU_NORTHING_ERROR   0x0008
 
#define SINU_CENT_MER_ERROR   0x0020
 
#define SINU_A_ERROR   0x0040
 
#define SINU_B_ERROR   0x0080
 
#define SINU_A_LESS_B_ERROR   0x0100
 
#define PI_OVER_2   ( M_PI / 2.0)
 
#define TWO_PI   (2.0 * M_PI)
 
#define SINU_COEFF_TIMES_SIN(coeff, x, latit)   (coeff * sin(x * latit))
 
#define FLOAT_EQ(x, v, epsilon)   (((v - epsilon) < x) && (x < (v + epsilon)))
 

Macro Definition Documentation

◆ 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)

◆ SINU_A_ERROR

#define SINU_A_ERROR   0x0040

Definition at line 30 of file ossimSinusoidalProjection.cpp.

◆ SINU_A_LESS_B_ERROR

#define SINU_A_LESS_B_ERROR   0x0100

Definition at line 32 of file ossimSinusoidalProjection.cpp.

◆ SINU_B_ERROR

#define SINU_B_ERROR   0x0080

Definition at line 31 of file ossimSinusoidalProjection.cpp.

◆ SINU_CENT_MER_ERROR

#define SINU_CENT_MER_ERROR   0x0020

Definition at line 29 of file ossimSinusoidalProjection.cpp.

◆ SINU_COEFF_TIMES_SIN

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

◆ SINU_EASTING_ERROR

#define SINU_EASTING_ERROR   0x0004

Definition at line 27 of file ossimSinusoidalProjection.cpp.

◆ SINU_LAT_ERROR

#define SINU_LAT_ERROR   0x0001

Definition at line 25 of file ossimSinusoidalProjection.cpp.

◆ SINU_LON_ERROR

#define SINU_LON_ERROR   0x0002

Definition at line 26 of file ossimSinusoidalProjection.cpp.

◆ SINU_NO_ERROR

#define SINU_NO_ERROR   0x0000

◆ SINU_NORTHING_ERROR

#define SINU_NORTHING_ERROR   0x0008

Definition at line 28 of file ossimSinusoidalProjection.cpp.

◆ TWO_PI

#define TWO_PI   (2.0 * M_PI)

Definition at line 38 of file ossimSinusoidalProjection.cpp.