Click or drag to resize

KeplerianElementsTimePastPeriapsisToMeanAnomaly Method

Note: This API is now obsolete.

Calculates the mean anomaly given the time past the last periapsis passage.

Namespace:  AGI.Foundation.Coordinates
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
[ObsoleteAttribute("Use OrbitalElements.ConvertTimeFromPeriapsisToMeanAnomaly instead.")]
public static double TimePastPeriapsisToMeanAnomaly(
	double timePastPeriapsis,
	double semimajorAxis,
	double gravitationalParameter
)

Parameters

timePastPeriapsis
Type: SystemDouble
The time past the last periapsis passage (time).
semimajorAxis
Type: SystemDouble
The semimajor axis (distance).
gravitationalParameter
Type: SystemDouble
The gravitational parameter (distance cubed per time squared).

Return Value

Type: Double
The mean anomaly (radians).
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionSemimajor axis must be positive. Exception thrown if the semimajorAxis is < Epsilon8.
See Also