poliastro.spheroid_location¶

Module Contents¶

Classes¶

 SpheroidLocation Class representing a ground station on an oblate ellipsoid.
class poliastro.spheroid_location.SpheroidLocation(lon, lat, h, body)

Class representing a ground station on an oblate ellipsoid.

property cartesian_cords(self)

Convert to the Cartesian Coordinate system.

property f(self)

Get first flattening.

property N(self)

Normal vector of the ellipsoid at the given location.

property tangential_vecs(self)

Returns orthonormal vectors tangential to the ellipsoid at the given location.

property radius_of_curvature(self)

Radius of curvature of the meridian at the latitude of the given location.

distance(self, px, py, pz)

Calculates the distance from an arbitrary point to the given location (Cartesian coordinates).

Parameters
• px (Quantity) – x-coordinate of the point

• py (Quantity) – y-coordinate of the point

• pz (Quantity) – z-coordinate of the point

is_visible(self, px, py, pz)

Determines whether an object located at a given point is visible from the given location. Returns true if true, false otherwise.

Parameters
• px (Quantity) – x-coordinate of the point

• py (Quantity) – y-coordinate of the point

• pz (Quantity) – z-coordinate of the point

cartesian_to_ellipsoidal(self, x, y, z)

Converts ellipsoidal coordinates to the Cartesian coordinate system for the given ellipsoid.

Parameters