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

Go to the source code of this file.

Macros

#define BONN_NO_ERROR   0x0000
 
#define BONN_LAT_ERROR   0x0001
 
#define BONN_LON_ERROR   0x0002
 
#define BONN_EASTING_ERROR   0x0004
 
#define BONN_NORTHING_ERROR   0x0008
 
#define BONN_ORIGIN_LAT_ERROR   0x0010
 
#define BONN_CENT_MER_ERROR   0x0020
 
#define BONN_A_ERROR   0x0040
 
#define BONN_B_ERROR   0x0080
 
#define BONN_A_LESS_B_ERROR   0x0100
 
#define PI_OVER_2   (M_PI / 2.0)
 
#define BONN_m(coslat, sinlat)   (coslat/sqrt(1.0 - es2*sinlat*sinlat))
 
#define BONN_M(c0lat, c1s2lat, c2s4lat, c3s6lat)   (Bonn_a*(c0lat-c1s2lat+c2s4lat-c3s6lat))
 
#define COEFF_TIMES_BONN_SIN(coeff, x, latit)   (coeff*(sin(x * latit)))
 
#define FLOAT_EQ(x, v, epsilon)   (((v - epsilon) < x) && (x < (v + epsilon)))
 

Macro Definition Documentation

◆ BONN_A_ERROR

#define BONN_A_ERROR   0x0040

Definition at line 31 of file ossimBonneProjection.cpp.

◆ BONN_A_LESS_B_ERROR

#define BONN_A_LESS_B_ERROR   0x0100

Definition at line 33 of file ossimBonneProjection.cpp.

◆ BONN_B_ERROR

#define BONN_B_ERROR   0x0080

Definition at line 32 of file ossimBonneProjection.cpp.

◆ BONN_CENT_MER_ERROR

#define BONN_CENT_MER_ERROR   0x0020

Definition at line 30 of file ossimBonneProjection.cpp.

◆ BONN_EASTING_ERROR

#define BONN_EASTING_ERROR   0x0004

Definition at line 27 of file ossimBonneProjection.cpp.

◆ BONN_LAT_ERROR

#define BONN_LAT_ERROR   0x0001

Definition at line 25 of file ossimBonneProjection.cpp.

◆ BONN_LON_ERROR

#define BONN_LON_ERROR   0x0002

Definition at line 26 of file ossimBonneProjection.cpp.

◆ BONN_m

#define BONN_m (   coslat,
  sinlat 
)    (coslat/sqrt(1.0 - es2*sinlat*sinlat))

◆ BONN_M

#define BONN_M (   c0lat,
  c1s2lat,
  c2s4lat,
  c3s6lat 
)    (Bonn_a*(c0lat-c1s2lat+c2s4lat-c3s6lat))

◆ BONN_NO_ERROR

#define BONN_NO_ERROR   0x0000

◆ BONN_NORTHING_ERROR

#define BONN_NORTHING_ERROR   0x0008

Definition at line 28 of file ossimBonneProjection.cpp.

◆ BONN_ORIGIN_LAT_ERROR

#define BONN_ORIGIN_LAT_ERROR   0x0010

Definition at line 29 of file ossimBonneProjection.cpp.

◆ COEFF_TIMES_BONN_SIN

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

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