CentralBodyEllipsoid#

class ansys.stk.core.stkobjects.CentralBodyEllipsoid#

Central body’s ellipsoid information.

Overview#

compute_surface_distance

Compute the distance between two points on the surface of the central body. Distance is measured along a great arc path.

radius_a

An equatorial radius along the x-axis.

radius_b

An equatorial radius along the y-axis.

radius_c

The polar radius along z-axis.

mean_radius

A mean radius of the central body (a+b+c)/3.

volumetric_radius

A volumetric radius of the central body (a*b*c)^(1/3).

Import detail#

from ansys.stk.core.stkobjects import CentralBodyEllipsoid

Property detail#

property CentralBodyEllipsoid.radius_a: float#

An equatorial radius along the x-axis.

property CentralBodyEllipsoid.radius_b: float#

An equatorial radius along the y-axis.

property CentralBodyEllipsoid.radius_c: float#

The polar radius along z-axis.

property CentralBodyEllipsoid.mean_radius: float#

A mean radius of the central body (a+b+c)/3.

property CentralBodyEllipsoid.volumetric_radius: float#

A volumetric radius of the central body (a*b*c)^(1/3).

Method detail#

CentralBodyEllipsoid.compute_surface_distance(self, start_lat: Any, start_lon: Any, end_lat: Any, end_lon: Any) float#

Compute the distance between two points on the surface of the central body. Distance is measured along a great arc path.

Parameters:

start_lat : Any

start_lon : Any

end_lat : Any

end_lon : Any

Returns:

float