14 using namespace MSP::CCS;
24 _semiMajorAxis( 6378137.0 ),
25 _semiMinorAxis( 6356752.3142 ),
26 _flattening( 1 / 298.257223563 ),
27 _eccentricitySquared( 0.0066943799901413800 ),
36 Ellipsoid::Ellipsoid(
long __index,
char* __code,
char* __name,
double __semiMajorAxis,
double __semiMinorAxis,
double __flattening,
double __eccentricitySquared,
bool __userDefined ) :
38 _semiMajorAxis( __semiMajorAxis ),
39 _semiMinorAxis( __semiMinorAxis ),
40 _flattening( __flattening ),
41 _eccentricitySquared( __eccentricitySquared ),
42 _userDefined( __userDefined )
44 _code =
new char[ strlen( __code ) + 1 ];
45 strcpy( _code, __code );
47 _name =
new char[ strlen( __name ) + 1 ];
48 strcpy( _name, __name );
82 return _semiMajorAxis;
88 return _semiMinorAxis;
100 return _eccentricitySquared;