Click or drag to resize

OrbitalElements.ConvertMeanAnomalyToEccentricAnomaly Method

Converts the mean anomaly to the eccentric anomaly.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static double ConvertMeanAnomalyToEccentricAnomaly(
	double meanAnomaly,
	double eccentricity
)

Parameters

meanAnomaly
Type: System.Double
The true anomaly to convert (radians).
eccentricity
Type: System.Double
The eccentricity of the orbit.

Return Value

Type: Double
The eccentric anomaly.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThrown when eccentricity is greater than or equal to one (indicating that the orbit is not closed), or if it is negative.
ArithmeticExceptionThrown when the iterative solution to Kepler's equation did not converge.
See Also