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: 19.1.398.0 (19.1.398.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 if the eccentricity is negative or radiusOfPeriapsis or gravitationalParameter is negative or zero.
See Also