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

Go to the source code of this file.

Macros

#define TRANMERC_NO_ERROR   0x0000
 
#define TRANMERC_LAT_ERROR   0x0001
 
#define TRANMERC_LON_ERROR   0x0002
 
#define TRANMERC_EASTING_ERROR   0x0004
 
#define TRANMERC_NORTHING_ERROR   0x0008
 
#define TRANMERC_ORIGIN_LAT_ERROR   0x0010
 
#define TRANMERC_CENT_MER_ERROR   0x0020
 
#define TRANMERC_A_ERROR   0x0040
 
#define TRANMERC_B_ERROR   0x0080
 
#define TRANMERC_A_LESS_B_ERROR   0x0100
 
#define TRANMERC_SCALE_FACTOR_ERROR   0x0200
 
#define TRANMERC_LON_WARNING   0x0400
 
#define MAX_LAT   ((M_PI * 90.0)/180.0) /* 90 degrees in radians */
 
#define MAX_DELTA_LONG   ((M_PI * 90.0)/180.0) /* 90 degrees in radians */
 
#define MIN_SCALE_FACTOR   0.3
 
#define MAX_SCALE_FACTOR   3.0
 
#define SPHTMD(Latitude)
 
#define SPHSN(Latitude)
 
#define SPHSR(Latitude)
 
#define DENOM(Latitude)   ((double) (sqrt(1.e0 - TranMerc_es * pow(sin(Latitude),2))))
 

Macro Definition Documentation

◆ DENOM

#define DENOM (   Latitude)    ((double) (sqrt(1.e0 - TranMerc_es * pow(sin(Latitude),2))))

Definition at line 51 of file ossimTransMercatorProjection.cpp.

◆ MAX_DELTA_LONG

#define MAX_DELTA_LONG   ((M_PI * 90.0)/180.0) /* 90 degrees in radians */

◆ MAX_LAT

#define MAX_LAT   ((M_PI * 90.0)/180.0) /* 90 degrees in radians */

◆ MAX_SCALE_FACTOR

#define MAX_SCALE_FACTOR   3.0

Definition at line 39 of file ossimTransMercatorProjection.cpp.

◆ MIN_SCALE_FACTOR

#define MIN_SCALE_FACTOR   0.3

Definition at line 38 of file ossimTransMercatorProjection.cpp.

◆ SPHSN

#define SPHSN (   Latitude)
Value:
((double) (getA() / sqrt( 1.e0 - TranMerc_es * \
pow(sin(Latitude), 2))))

Definition at line 45 of file ossimTransMercatorProjection.cpp.

Referenced by ossimTransMercatorProjection::Convert_Geodetic_To_Transverse_Mercator(), and ossimTransMercatorProjection::Convert_Transverse_Mercator_To_Geodetic().

◆ SPHSR

#define SPHSR (   Latitude)
Value:
((double) (getA() * (1.e0 - TranMerc_es) / \
pow(DENOM(Latitude), 3)))
#define DENOM(Latitude)

Definition at line 48 of file ossimTransMercatorProjection.cpp.

Referenced by ossimTransMercatorProjection::Convert_Transverse_Mercator_To_Geodetic().

◆ SPHTMD

#define SPHTMD (   Latitude)
Value:
((double) (TranMerc_ap * Latitude \
- TranMerc_bp * sin(2.e0 * Latitude) + TranMerc_cp * sin(4.e0 * Latitude) \
- TranMerc_dp * sin(6.e0 * Latitude) + TranMerc_ep * sin(8.e0 * Latitude) ) )

Definition at line 41 of file ossimTransMercatorProjection.cpp.

Referenced by ossimTransMercatorProjection::Convert_Geodetic_To_Transverse_Mercator(), and ossimTransMercatorProjection::Convert_Transverse_Mercator_To_Geodetic().

◆ TRANMERC_A_ERROR

#define TRANMERC_A_ERROR   0x0040

Definition at line 30 of file ossimTransMercatorProjection.cpp.

◆ TRANMERC_A_LESS_B_ERROR

#define TRANMERC_A_LESS_B_ERROR   0x0100

Definition at line 32 of file ossimTransMercatorProjection.cpp.

◆ TRANMERC_B_ERROR

#define TRANMERC_B_ERROR   0x0080

Definition at line 31 of file ossimTransMercatorProjection.cpp.

◆ TRANMERC_CENT_MER_ERROR

#define TRANMERC_CENT_MER_ERROR   0x0020

Definition at line 29 of file ossimTransMercatorProjection.cpp.

◆ TRANMERC_EASTING_ERROR

#define TRANMERC_EASTING_ERROR   0x0004

Definition at line 26 of file ossimTransMercatorProjection.cpp.

◆ TRANMERC_LAT_ERROR

#define TRANMERC_LAT_ERROR   0x0001

Definition at line 24 of file ossimTransMercatorProjection.cpp.

◆ TRANMERC_LON_ERROR

#define TRANMERC_LON_ERROR   0x0002

Definition at line 25 of file ossimTransMercatorProjection.cpp.

◆ TRANMERC_LON_WARNING

#define TRANMERC_LON_WARNING   0x0400

Definition at line 34 of file ossimTransMercatorProjection.cpp.

◆ TRANMERC_NO_ERROR

#define TRANMERC_NO_ERROR   0x0000

◆ TRANMERC_NORTHING_ERROR

#define TRANMERC_NORTHING_ERROR   0x0008

Definition at line 27 of file ossimTransMercatorProjection.cpp.

◆ TRANMERC_ORIGIN_LAT_ERROR

#define TRANMERC_ORIGIN_LAT_ERROR   0x0010

Definition at line 28 of file ossimTransMercatorProjection.cpp.

◆ TRANMERC_SCALE_FACTOR_ERROR

#define TRANMERC_SCALE_FACTOR_ERROR   0x0200

Definition at line 33 of file ossimTransMercatorProjection.cpp.