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

Go to the source code of this file.

Macros

#define OMERC_NO_ERROR   0x0000
 
#define OMERC_LAT_ERROR   0x0001
 
#define OMERC_LON_ERROR   0x0002
 
#define OMERC_ORIGIN_LAT_ERROR   0x0004
 
#define OMERC_LAT1_ERROR   0x0008
 
#define OMERC_LAT2_ERROR   0x0010
 
#define OMERC_LON1_ERROR   0x0020
 
#define OMERC_LON2_ERROR   0x0040
 
#define OMERC_LAT1_LAT2_ERROR   0x0080
 
#define OMERC_DIFF_HEMISPHERE_ERROR   0x0100
 
#define OMERC_EASTING_ERROR   0x0200
 
#define OMERC_NORTHING_ERROR   0x0400
 
#define OMERC_A_ERROR   0x0800
 
#define OMERC_INV_F_ERROR   0x1000
 
#define OMERC_SCALE_FACTOR_ERROR   0x2000
 
#define OMERC_LON_WARNING   0x4000
 
#define PI_OVER_2   ( M_PI / 2.0)
 
#define PI_OVER_4   ( M_PI / 4.0)
 
#define TWO_PI   (2.0 * M_PI)
 
#define MIN_SCALE_FACTOR   0.3
 
#define MAX_SCALE_FACTOR   3.0
 
#define OMERC_t(lat, e_sinlat, e_over_2)
 

Macro Definition Documentation

◆ MAX_SCALE_FACTOR

#define MAX_SCALE_FACTOR   3.0

Definition at line 42 of file ossimObliqueMercatorProjection.cpp.

◆ MIN_SCALE_FACTOR

#define MIN_SCALE_FACTOR   0.3

Definition at line 41 of file ossimObliqueMercatorProjection.cpp.

◆ OMERC_A_ERROR

#define OMERC_A_ERROR   0x0800

Definition at line 25 of file ossimObliqueMercatorProjection.cpp.

◆ OMERC_DIFF_HEMISPHERE_ERROR

#define OMERC_DIFF_HEMISPHERE_ERROR   0x0100

Definition at line 22 of file ossimObliqueMercatorProjection.cpp.

◆ OMERC_EASTING_ERROR

#define OMERC_EASTING_ERROR   0x0200

Definition at line 23 of file ossimObliqueMercatorProjection.cpp.

◆ OMERC_INV_F_ERROR

#define OMERC_INV_F_ERROR   0x1000

Definition at line 26 of file ossimObliqueMercatorProjection.cpp.

◆ OMERC_LAT1_ERROR

#define OMERC_LAT1_ERROR   0x0008

Definition at line 17 of file ossimObliqueMercatorProjection.cpp.

◆ OMERC_LAT1_LAT2_ERROR

#define OMERC_LAT1_LAT2_ERROR   0x0080

Definition at line 21 of file ossimObliqueMercatorProjection.cpp.

◆ OMERC_LAT2_ERROR

#define OMERC_LAT2_ERROR   0x0010

Definition at line 18 of file ossimObliqueMercatorProjection.cpp.

◆ OMERC_LAT_ERROR

#define OMERC_LAT_ERROR   0x0001

Definition at line 14 of file ossimObliqueMercatorProjection.cpp.

◆ OMERC_LON1_ERROR

#define OMERC_LON1_ERROR   0x0020

Definition at line 19 of file ossimObliqueMercatorProjection.cpp.

◆ OMERC_LON2_ERROR

#define OMERC_LON2_ERROR   0x0040

Definition at line 20 of file ossimObliqueMercatorProjection.cpp.

◆ OMERC_LON_ERROR

#define OMERC_LON_ERROR   0x0002

◆ OMERC_LON_WARNING

#define OMERC_LON_WARNING   0x4000

Definition at line 28 of file ossimObliqueMercatorProjection.cpp.

◆ OMERC_NO_ERROR

#define OMERC_NO_ERROR   0x0000

◆ OMERC_NORTHING_ERROR

#define OMERC_NORTHING_ERROR   0x0400

Definition at line 24 of file ossimObliqueMercatorProjection.cpp.

◆ OMERC_ORIGIN_LAT_ERROR

#define OMERC_ORIGIN_LAT_ERROR   0x0004

Definition at line 16 of file ossimObliqueMercatorProjection.cpp.

◆ OMERC_SCALE_FACTOR_ERROR

#define OMERC_SCALE_FACTOR_ERROR   0x2000

Definition at line 27 of file ossimObliqueMercatorProjection.cpp.

◆ OMERC_t

#define OMERC_t (   lat,
  e_sinlat,
  e_over_2 
)
Value:
(tan(PI_OVER_4 - lat / 2.0)) / \
(pow((1 - e_sinlat) / (1 + e_sinlat), e_over_2))

Definition at line 44 of file ossimObliqueMercatorProjection.cpp.

Referenced by ossimObliqueMercatorProjection::Convert_Geodetic_To_Oblique_Mercator().

◆ PI_OVER_2

#define PI_OVER_2   ( M_PI / 2.0)

◆ PI_OVER_4

#define PI_OVER_4   ( M_PI / 4.0)

◆ TWO_PI

#define TWO_PI   (2.0 * M_PI)

Definition at line 39 of file ossimObliqueMercatorProjection.cpp.