Click or drag to resize

OrbitalElementsTryComputeMeanMotion Method

Tries to calculate the mean motion of the orbit.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public static bool TryComputeMeanMotion(
	double radiusOfPeriapsis,
	double eccentricity,
	double gravitationalParameter,
	out double meanMotion
)

Parameters

radiusOfPeriapsis
Type: SystemDouble
The radius of periapsis.
eccentricity
Type: SystemDouble
The eccentricity of the orbit.
gravitationalParameter
Type: SystemDouble
The gravitational parameter.
meanMotion
Type: SystemDouble
On return, the mean motion of the orbit.

Return Value

Type: Boolean
if eccentricity is negative or radiusOfPeriapsis or gravitationalParameter is negative or zero; otherwise .
See Also