66 if( refellipsoid.
nelem() != 2 )
67 throw runtime_error(
"Input *refellispoid must be a vector of length 2*." );
69 if( refellipsoid[1] > 0 )
71 const Numeric e2 = refellipsoid[1] * refellipsoid[1];
74 const Numeric rn = 1 / sqrt( a );
75 const Numeric rm = ( 1 - e2 ) * ( rn / a );
79 refellipsoid[0] = refellipsoid[0] / ( pow(cos(v),2.0)/rm +
93 if( refellipsoid.
nelem() != 2 )
94 throw runtime_error(
"Input *refellispoid must be a vector of length 2*." );
101 refellipsoid[1] = sqrt( 1 - pow( rp/refellipsoid[0], 2.0 ) );
115 refellipsoid[0] = re;
void refellipsoidForAzimuth(Vector &refellipsoid, const Numeric &latitude, const Numeric &azimuth, const Verbosity &)
WORKSPACE METHOD: refellipsoidForAzimuth.
Declarations having to do with the four output streams.
void refellipsoidOrbitPlane(Vector &refellipsoid, const Numeric &orbitinc, const Verbosity &)
WORKSPACE METHOD: refellipsoidOrbitPlane.
Index nelem() const
Returns the number of elements.
The global header file for ARTS.
NUMERIC Numeric
The type to use for all floating point numbers.
void refellipsoidSet(Vector &refellipsoid, const Numeric &re, const Numeric &e, const Verbosity &)
WORKSPACE METHOD: refellipsoidSet.
Numeric refell2r(ConstVectorView refellipsoid, const Numeric &lat)
refell2r
void resize(Index n)
Assignment operator from VectorView.