Click or drag to resize

KeplerianElementsTimePastPeriapsisToTrueAnomaly Method

Note: This API is now obsolete.

Calculates the true 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.ConvertTimeFromPeriapsisToTrueAnomaly instead.")]
public static double TimePastPeriapsisToTrueAnomaly(
	double timePastPeriapsis,
	double semimajorAxis,
	double eccentricity,
	double gravitationalParameter
)

Parameters

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

Return Value

Type: Double
The true anomaly (radians).
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionThe eccentricity must be between zero and unity.
ArgumentOutOfRangeExceptionSemimajor axis must be positive. Exception thrown if the semimajorAxis is < Epsilon8.
See Also