OrbitalElementsConvertEccentricAnomalyToTrueAnomaly Method |
Converts the eccentric anomaly to the true anomaly.
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 ConvertEccentricAnomalyToTrueAnomaly(
double eccentricAnomaly,
double eccentricity
)
Public Shared Function ConvertEccentricAnomalyToTrueAnomaly (
eccentricAnomaly As Double,
eccentricity As Double
) As Double
public:
static double ConvertEccentricAnomalyToTrueAnomaly(
double eccentricAnomaly,
double eccentricity
)
static member ConvertEccentricAnomalyToTrueAnomaly :
eccentricAnomaly : float *
eccentricity : float -> float
Parameters
- eccentricAnomaly
- Type: SystemDouble
The eccentric anomaly to convert (radians). - eccentricity
- Type: SystemDouble
The eccentricity of the orbit.
Return Value
Type:
DoubleThe true anomaly.
Exceptions Exception | Condition |
---|
ArgumentOutOfRangeException | Thrown when eccentricity is greater than or equal to one (indicating that the orbit is not closed), or if it is negative. |
See Also