Ellipsoid#
- class spacekernel.mathtools.ellipsoid.Ellipsoid(double Re, double f)#
Bases:
objectRepresents an ellipsoid with specific geometric properties and provides methods for various geographical calculations.
The Ellipsoid class models an ellipsoidal shape using its equatorial radius and flattening factor. It provides efficient methods to perform geographical calculations, including surface normal vector computation, surface tangent vector computation, and conversions between reduced and geodetic latitudes.
- Parameters:
- Redouble
The equatorial radius of the ellipsoid (in meters). Must be greater than zero.
- fdouble
The flattening factor of the ellipsoid. Must be in the range [0.0, 1.0).
Attributes#
Methods#
|
Compute the local East–North–Up (ENU) unit‐vector frame on the ellipsoid surface. |
Vectorized conversion from geodetic latitude \(\phi\) to reduced latitude \(\beta\). |
|
Vectorized conversion from reduced latitude \(\beta\) to geodetic latitude \(\phi\). |
|
|
Compute the ECEF surface position vector(s) on the reference ellipsoid. |
|
Compute geodetic latitude and longitude from ECEF surface position vector(s). |
|
Compute the reduced (parametric) latitude \(\beta\) from ECEF position vector(s). |
|
Convert ECEF position vector(s) to geodetic latitude, longitude, and altitude. |
|
Compute ECEF position vector(s) from geodetic coordinates. |
Convert Cartesian state vectors to geodetic states. |
|
Convert geodetic state(s) to Cartesian state vector(s). |
|
Compute the first ellipsoid‐surface intersection of a ray. |
|
|
Compute azimuth, elevation, and range (AER) from an observer to target point(s). |
C-level Methods#
Compute the reduced (parametric) latitude β from a geodetic latitude φ. |
|
Inverse: geodetic latitude φ from reduced latitude β. |