Elliptical coordinates to cartesian coordinates
[pos_car, jacob] = CL_co_ell2car(pos_ell [[, er, obla]])
Converts elliptical ("geodetic") coordinates into cartesian coordinates.
Elliptical coordinates are longitude, latitude and altitude with respect to some reference ellipsoid.
The reference ellipsoid is an ellipsoid of revolution around the Z axis. It is characterized by 2 parameters:
- radius of the sphere in the equatorial plane,
- oblateness (or flattening) of ellipse in the X-Z plane.
Notes:
- The transformation jacobian is computed if the corresponding output argument exists.
- Be careful that the 3rd elliptical coordinate is an altitude and not the distance to the planet center.
[lon; lat; alt] Position vector in elliptical ("geodetic") coordinates. [rad,m] (3xN)
(optional) Equatorial radius. Default: %CL_eqRad. [m] (1x1)
(optional) Oblateness of reference ellipsoid. Default: %CL_obla. [-] (1x1)
[x;y;z] Position vector in cartesian coordinates. [m] (3xN)
Transformation jacobian. (3x3xN)
CNES - DCT/SB
1) Mecanique Spatiale, Cnes - Cepadues Editions, Tome I, section 3.2.3 (Les reperes de l'espace et du temps, Relations entre les coordonnees)
2) CNES - MSLIB FORTRAN 90, Volume T (mt_car_geod)
3) GPS - Localisation et navigation, Serge Botton et al, Hermes - page 65