NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
crs_const.h File Reference

Defines constants for the coordinate systems. More...

Go to the source code of this file.

Macros

#define kRADIUS   6378137.0L
 Equatorial radius of the Earth in meters.
 
#define kEQUATOR   40075016.6855784861L
 Length of the Equator in meters.
 
#define kWGS84_NAME   "WGS84"
 WGS84 definition of Earth.
 
#define kWGS84_E   0.08181919084262150L
 First eccentricity.
 
#define kWGS84_ESQUARED   kWGS84_E2
 First eccentricity squared = e2 = 1-(b/a)2 = (2-f)f.
 
#define kWGS84_INVERSE_FLATTENING   298.257223563L
 Inverse flattening.
 
#define kWGS84_SEMIMAJOR   6378137.0L
 Semi-major axis in meters.
 
#define kWGS84_SEMIMINOR   (kWGS84_SEMIMAJOR*(1-(1/kWGS84_INVERSE_FLATTENING)))
 Semi-minor axis in meters.
 

Typedefs

typedef double AngularUnit
 Defines the angular unit. The value is the number of degrees per angular unit.
 

Enumerations

enum  AngularUnitType { kAngularUnitTypeDegree = 0, kAngularUnitTypeGeoInt, kAngularUnitTypeRadians, kAngularUnitTypeUndefined = -1 }
 Describes the angular unit type for the geographic coordinate system. More...
 
enum  AxisOrientation {
  kAxisOrientationUnknown = 0, kAxisOrientationNorth = 1, kAxisOrientationSouth = 2, kAxisOrientationEast = 3,
  kAxisOrientationWest = 4, kAxisOrientationUp = 5, kAxisOrientationDown = 6
}
 Describes the axis orientation. More...
 
enum  ProjectionParameterEnum {
  kProjPar_Azimuth = 0, kProjPar_LongitudeOfCenter = 1, kProjPar_LatitudeOfCenter = 2, kProjPar_ScaleFactor = 3,
  kProjPar_LatitudeOfOrigin = 4, kProjPar_LongitudeOfOrigin = 5, kProjPar_StandardParallel1 = 6, kProjPar_StandardParallel2 = 7,
  kProjPar_CoordinateUnit = 8, kProjPar_SemiMajorAxis = 9, kProjPar_SemiMinorAxis = 10, kProjPar_FalseEasting = 11,
  kProjPar_FalseNorthing = 12, kProjPar_UTMZone = 13, kProjPar_UTMIsNorth = 14, kProjPar_UTMAutoset = 15,
  kProjPar_LongitudeOfLocalScale = 16, kProjPar_LatitudeOfLocalScale = 17
}
 Parameters for the different projections. Required parameters for all projections: ProjPar_CoordinateUnit, ProjPar_SemiMajorAxis, ProjPar_SemiMinorAxis. More...
 
enum  ProjectionPropertyEnum { kProjProperty_LocalScale, kProjProperty_CorrespondedLocalScale }
 Defines the projection properties. More...
 
enum  ProjectionClassID {
  kProjectionClassID_Mercator = 0, kProjectionClassID_TransverseMercator, kProjectionClassID_LambertConformalConic, kProjectionClassID_Geo,
  kProjectionClassID_Gnomonic, kProjectionClassID_Stereographic, kProjectionClassID_PolarStereographic = kProjectionClassID_Stereographic, kProjectionClassID_LocalCartesian,
  kProjectionClassID_UTM
}
 Projection classes.
More...
 

Variables

SDK_CRS_BEGIN_NAMESPACE typedef double LinearUnit
 Defines the linear unit. The value is the number of meters per linear unit.
 

Detailed Description

Defines constants for the coordinate systems.

Copyright (c) 2011 The NAVTOR SDK. All Rights Reserved.

Author
The NAVTOR SDK authors.
Date
10/2011
Maintenance:
The NAVTOR SDK authors.