Click or drag to resize

OrbitalElementsComputeMeanMotion Method

Calculates 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 double ComputeMeanMotion(
	double radiusOfPeriapsis,
	double eccentricity,
	double gravitationalParameter
)

Parameters

radiusOfPeriapsis
Type: SystemDouble
The radius of periapsis.
eccentricity
Type: SystemDouble
The eccentricity of the orbit.
gravitationalParameter
Type: SystemDouble
The gravitational parameter.

Return Value

Type: Double
The mean motion of the orbit.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown when eccentricity is negative or radiusOfPeriapsis or gravitationalParameter is negative or zero.
See Also