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

Go to the source code of this file.

Macros

#define UTM_NO_ERROR   0x0000
 
#define UTM_LAT_ERROR   0x0001
 
#define UTM_LON_ERROR   0x0002
 
#define UTM_EASTING_ERROR   0x0004
 
#define UTM_NORTHING_ERROR   0x0008
 
#define UTM_ZONE_ERROR   0x0010
 
#define UTM_HEMISPHERE_ERROR   0x0020
 
#define UTM_ZONE_OVERRIDE_ERROR   0x0040
 
#define UTM_A_ERROR   0x0080
 
#define UTM_B_ERROR   0x0100
 
#define UTM_A_LESS_B_ERROR   0x0200
 
#define MIN_LAT   ( (-80.5 * M_PI) / 180.0 ) /* -80.5 degrees in radians */
 
#define MAX_LAT   ( (84.5 * M_PI) / 180.0 ) /* 84.5 degrees in radians */
 
#define MAX_DELTA_LONG   ((M_PI * 90.0)/180.0) /* 90 degrees in radians */
 
#define MIN_EASTING   100000
 
#define MAX_EASTING   900000
 
#define MIN_NORTHING   0
 
#define MAX_NORTHING   10000000
 
#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 - theTranMerc_es * pow(sin(Latitude),2))))
 

Macro Definition Documentation

◆ DENOM

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

Definition at line 58 of file ossimUtmProjection.cpp.

◆ MAX_DELTA_LONG

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

◆ MAX_EASTING

#define MAX_EASTING   900000

Definition at line 42 of file ossimUtmProjection.cpp.

◆ MAX_LAT

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

◆ MAX_NORTHING

#define MAX_NORTHING   10000000

Definition at line 44 of file ossimUtmProjection.cpp.

◆ MAX_SCALE_FACTOR

#define MAX_SCALE_FACTOR   3.0

Definition at line 46 of file ossimUtmProjection.cpp.

◆ MIN_EASTING

#define MIN_EASTING   100000

Definition at line 41 of file ossimUtmProjection.cpp.

◆ MIN_LAT

#define MIN_LAT   ( (-80.5 * M_PI) / 180.0 ) /* -80.5 degrees in radians */

Definition at line 38 of file ossimUtmProjection.cpp.

◆ MIN_NORTHING

#define MIN_NORTHING   0

Definition at line 43 of file ossimUtmProjection.cpp.

◆ MIN_SCALE_FACTOR

#define MIN_SCALE_FACTOR   0.3

Definition at line 45 of file ossimUtmProjection.cpp.

◆ SPHSN

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

Definition at line 52 of file ossimUtmProjection.cpp.

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

◆ SPHSR

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

Definition at line 55 of file ossimUtmProjection.cpp.

Referenced by ossimUtmProjection::Convert_Transverse_Mercator_To_Geodetic().

◆ SPHTMD

#define SPHTMD (   Latitude)
Value:
((double) (theTranMerc_ap * Latitude \
- theTranMerc_bp * sin(2.e0 * Latitude) + theTranMerc_cp * sin(4.e0 * Latitude) \
- theTranMerc_dp * sin(6.e0 * Latitude) + theTranMerc_ep * sin(8.e0 * Latitude) ) )

Definition at line 48 of file ossimUtmProjection.cpp.

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

◆ UTM_A_ERROR

#define UTM_A_ERROR   0x0080

Definition at line 34 of file ossimUtmProjection.cpp.

◆ UTM_A_LESS_B_ERROR

#define UTM_A_LESS_B_ERROR   0x0200

Definition at line 36 of file ossimUtmProjection.cpp.

◆ UTM_B_ERROR

#define UTM_B_ERROR   0x0100

Definition at line 35 of file ossimUtmProjection.cpp.

◆ UTM_EASTING_ERROR

#define UTM_EASTING_ERROR   0x0004

Definition at line 29 of file ossimUtmProjection.cpp.

◆ UTM_HEMISPHERE_ERROR

#define UTM_HEMISPHERE_ERROR   0x0020

Definition at line 32 of file ossimUtmProjection.cpp.

◆ UTM_LAT_ERROR

#define UTM_LAT_ERROR   0x0001

Definition at line 27 of file ossimUtmProjection.cpp.

◆ UTM_LON_ERROR

#define UTM_LON_ERROR   0x0002

Definition at line 28 of file ossimUtmProjection.cpp.

◆ UTM_NO_ERROR

#define UTM_NO_ERROR   0x0000

◆ UTM_NORTHING_ERROR

#define UTM_NORTHING_ERROR   0x0008

Definition at line 30 of file ossimUtmProjection.cpp.

◆ UTM_ZONE_ERROR

#define UTM_ZONE_ERROR   0x0010

Definition at line 31 of file ossimUtmProjection.cpp.

◆ UTM_ZONE_OVERRIDE_ERROR

#define UTM_ZONE_OVERRIDE_ERROR   0x0040

Definition at line 33 of file ossimUtmProjection.cpp.