GL Studio C++ Runtime API
GeoCoord::EllipsoidParams Class Reference

#include <gls_map_util.h>

Protected Attributes

double _a
 equatorial radius
 
double _f
 flattening (a-b)/a
 
double _a_sq
 radius squared
 
double _b
 polar semi-diameter
 
double _b_sq
 polar semi-diameter squared
 
double _a_sq_over_b
 a*a/b
 
double _e
 ellipticity 2f-f*f
 
double _c1
 (1-f)*(1-f)
 
double _a_b
 (a * b)
 
double _a_sq_sq
 (a * a * a * a)
 
double _b_sq_sq
 (b * b * b * b)
 
double _two_over_a
 (2/a)
 
double _two_over_b
 (2/b)
 
double _two_over_a_sq
 2/(a * a)
 
double _two_over_b_sq
 2/(b * b)
 
double _e_sq
 eccentricity squared
 
double _ep_sq
 e-prime squared
 
double _ef
 e-factor
 
double _e_sq_to_3
 pow(e_sq,3.0)
 
double _ef_to_3
 pow(ef,3.0)
 
double _ef_to_4
 pow(ef,4.0)
 
double _poly1_a
 1.0 - _e_sq / 4.0 - 3.0 * _e_sq * _e_sq / 64.0 - 5.0 * _e_sq_to_3 / 256.0
 
double _poly2_a
 3.0 * _ef / 2.0 - 27.0 * _ef_to_3 / 32.0
 
double _poly3_a
 21.0 * _ef * _ef / 16.0 - 55.0 * _ef_to_4 / 32.0
 
double _poly4_a
 151.0 * _ef_to_3 / 96.0
 
double _poly5_a
 1097.0 * _ef_to_4 / 512.0
 
double _poly1_b
 1.0 - (_e_sq / 4.0) - (3.0 * _e_sq * _e_sq) / 64.0 - 5.0 * _e_sq_to_3 / 256.0
 
double _poly2_b
 3.0 * _e_sq / 8.0 + (3.0 * _e_sq * _e_sq) / 32.0 + 45.0 * _e_sq_to_3 / 1024.0
 
double _poly3_b
 15.0 * _e_sq * _e_sq / 256.0 + 45.0 * _e_sq_to_3 / 1024.0
 
double _poly4_b
 35.0 * _e_sq_to_3 / 3072.0
 

Detailed Description

The EllipsoidParams class is used to store data about the reference ellipsoid used for geodetic coordinate conversions. The GeoCoord methods use the WGS84 reference ellipsoid by default.


The documentation for this class was generated from the following file: