poliastro.core.spheroid_location
¶
Low level calculations for oblate spheroid locations
Module Contents¶
Functions¶
|
Calculates cartesian coordinates. |
|
Get first flattening. |
|
Normal vector of the ellipsoid at the given location. |
Returns orthonormal vectors tangential to the ellipsoid at the given location. |
|
|
Radius of curvature of the meridian at the latitude of the given location. |
|
Calculates the distance from an arbitrary point to the given location (Cartesian coordinates). |
|
Determines whether an object located at a given point is visible from the given location. |
|
Converts cartesian coordinates to ellipsoidal coordinates for the given ellipsoid. |
- poliastro.core.spheroid_location.cartesian_cords(_a, _c, _lon, _lat, _h)¶
Calculates cartesian coordinates.
- poliastro.core.spheroid_location.f(_a, _c)¶
Get first flattening.
- poliastro.core.spheroid_location.N(a, b, c, cartesian_cords)¶
Normal vector of the ellipsoid at the given location.
- poliastro.core.spheroid_location.tangential_vecs(N)¶
Returns orthonormal vectors tangential to the ellipsoid at the given location.
- Parameters
N (array) – Normal vector of the ellipsoid
- poliastro.core.spheroid_location.radius_of_curvature(_a, _c, _lat)¶
Radius of curvature of the meridian at the latitude of the given location.
- poliastro.core.spheroid_location.distance(cartesian_cords, px, py, pz)¶
Calculates the distance from an arbitrary point to the given location (Cartesian coordinates).
- poliastro.core.spheroid_location.is_visible(cartesian_cords, px, py, pz, N)¶
Determines whether an object located at a given point is visible from the given location. Returns true if true, false otherwise.
- poliastro.core.spheroid_location.cartesian_to_ellipsoidal(_a, _c, x, y, z)¶
Converts cartesian coordinates to ellipsoidal coordinates for the given ellipsoid. Instead of the iterative formula, the function uses the approximation introduced in Bowring, B. R. (1976). TRANSFORMATION FROM SPATIAL TO GEOGRAPHICAL COORDINATES